I need help upgrading DHIS2 from version 2.29 to 2.30

Upgrading DHIS2 from older versions to the latest requires careful planning and an incremental approach

Please share your catalina.out logs here so we can address the issues one by one. Additionally, focus on cleanup and database preparation as these are crucial steps in the upgrade process.

based on my practices please ensure following steps:
you can refer to the

  1. Initial Cleanup:
  • Remove unnecessary logs and error logs.
  • Drop materialized views and clear analytics data.
  1. Database Preparation:
  • Keep only essential datasets, metadata, and transactional data. Exclude logs or deleted data.
  1. Incremental Upgrades (Version-by-version).
  2. Post-Upgrade:
  • Regenerate materialized views and analytics tables.
  • Test accuracy in programs, reports, and dashboards.
  1. Testing and Verification:
  • Run test scripts and verify key modules.
  • Check compatibility of custom apps, APIs, and integrations.

Another potential solution is to install a fresh DHIS2 latest instance instance and manually import the metadata and data, if feasible. However, without knowing the size of your data, I can’t fully recommend this approach.

1 Like