Announcing the release of 4.6.0 of the CHT Core Framework

We’re excited to announce the release of 4.6.0 of the CHT Core Framework

New features include allowing contact selectors in forms to be filtered by descendants of the current contact as well as official configuration files and scripts for deploying the CHT to Kubernetes! We’ve also implemented loads of other improvements and fixed a heap of bugs.

Read the release notes for full details.

Following our support policy, versions 4.3.x and 4.4.x are no longer supported. Projects running these versions should start planning to upgrade in the near future. For more details read our software support documentation.

Check out our roadmap to see what we’re working on next.

7 Likes

Thanks team for the new version. However on Apple M1, we’re still facing this same issue with 4.6.0 too so we can only work with v4.3.2 for now.

@sookwalinga thank you for following up on the Apple M1 Docker Helper issue. The good news is that the fix will be available in 4.7. Meanwhile, please follow these instructions to run Docker Helper on Apple Silicon with latest CHT Core:

  1. run the helper script: ./cht-docker-compose.sh
  2. Choose “yes” to create a new project: Would you like to initialize a new project [y/N]? y
  3. Choose “no” when prompted to use the latest: Do you want to run the latest CHT Core version (4.6.0) [Y/n]? n
  4. when the large list of versions is shown select a version that is between 4.0.0 and 4.3.2 or above 4.7.0. As 4.7.0 is not yet out, you can choose 8841-multiplatform-images until it is released!
3 Likes

Tagging @paulalogno as well for Apple M1 updates.

Thanks @andrablaj for the heads-up. Yes we’re working with v4.3.2 for now, looking forward to 4.7.0 :slight_smile:

Hi @jkuester congratulations to the team !
I’ve a question:
Does this release include the updated 500 reports limitation for the contact-summary ?

oh sorry I’ve seen that the search-service.ts has the old limitation and that was planned for 4.7.0

 private _search(type, filters, options:any = {}, extensions:any = {}, docIds: any[] | undefined = undefined) {
    console.debug('Doing Search', type, filters, options, extensions);

    _.defaults(options, {
      limit: 50,
      skip: 0
    });
1 Like

Just so you know, the 4.7.0 release is coming soon!

1 Like

This issue is now fixed on version 4.7.1. Thanks for the work.

Testing 4.8.0 too on Apple M1 but just facing an issue with the SSL certificate configuration in the Nginx server. These are the logs I get from the cht_4_8_0_nginx_1 docker container:

2024-05-26 20:58:10 Running SSL certificate checks
2024-05-26 20:58:10 self signed SSL cert already exists.
2024-05-26 20:58:10 Launching Nginx
2024-05-26 20:58:10 2024/05/26 17:58:10 [emerg] 1#1: SSL_CTX_use_PrivateKey("/etc/nginx/private/key.pem") failed (SSL: error:05800074:x509 certificate routines::key values mismatch)
2024-05-26 20:58:10 nginx: [emerg] SSL_CTX_use_PrivateKey("/etc/nginx/private/key.pem") failed (SSL: error:05800074:x509 certificate routines::key values mismatch)
2024-05-26 20:52:09 /docker-entrypoint.sh: Launching /docker-entrypoint.d/ssl-install.sh
2024-05-26 20:52:09 CERTIFICATE MODE = SELF_SIGNED
2024-05-26 20:52:09 /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
2024-05-26 20:52:09 10-listen-on-ipv6-by-default.sh: info: IPv6 listen already enabled
2024-05-26 20:52:09 /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
2024-05-26 20:52:09 /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
2024-05-26 20:52:09 20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/server.conf.template to /etc/nginx/conf.d/server.conf
2024-05-26 20:52:09 /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
2024-05-26 20:52:09 /docker-entrypoint.sh: Configuration complete; ready for start up
2024-05-26 20:53:09 /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
2024-05-26 20:53:09 /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
2024-05-26 20:53:09 /docker-entrypoint.sh: Launching /docker-entrypoint.d/ssl-install.sh

And the container keeps restarting, with this result on the browser, yet my internet connection is fine

1 Like

But I could upgrade from 4.7.1 to 4.8.0 via the app management admin panel

Hi @sookwalinga! Thank you for your feedback, glad that things work as expected with 4.7.1.

Did you try to go through the steps in the dedicated Troubleshooting section in the Docker Helper instructions to tackle the certificate problem?