We recently upgraded our DHIS2 instance to version 2.42.5.1 and have since noticed that our scheduled Aggregate Data Exchange (ADEX) jobs are no longer completing successfully. The jobs show a status of FAILED after each scheduled run.
What We Are Observing:
After the upgrade, the AGGREGATE_DATA_EXCHANGE job is not completing. Checking the job configurations via the API endpoint:
GET /api/jobConfigurations?fields=id,name,jobType,cronExpression,enabled,lastExecuted,lastExecutedStatus
the response shows lastExecutedStatus: “FAILED” for the job. I have attached a screenshot of the API response for reference.
We also noticed the following error in the server logs:
“A valid user is required to run the aggregate data exchange job”
What We Have Checked So Far
- The jobs are enabled and have valid cron expressions
- The jobs were running successfully before the upgrade to v2.42.5.1
- No changes were made to the job configurations during the upgrade
- The error message points to a missing user context for job execution
Has anyone experienced a similar issue after upgrading to 2.42.5.1? Are there any known issues, configuration changes, migration steps, or log locations we should investigate to diagnose and resolve this problem?
Thank you!