Issue in upgrade the database from 2.40 to 2.42

Dear Team while I am trying to upgrade database from 2.40 to 2.42 it upgraded 2.41 successfully but from 2.41 to 2.42.5.1 i have a issue related to
“ERROR 2026-08-01T06:33:22,034 Migration of schema “public” to version “2.42.25 - Migrate event change logs” failed! Changes successfully rolled back. (Log4j2Log.java [main])” i have total records in trackedentitydatavalueaudit ~995
Please suggest how can i upgrade the database in 2.42

Hi,

Thank you for sharing these details and it’s great that you are working on keeping your instance up to date. As there are important changes that you will need to be aware of, before upgrading to version 42, please make sure to go through:

Additionally, if you still face these issues, would you kindly check your Catalina.out log and look for the SQL queries that are failing and copy their log.

Furthermore, I know that the error that appeared is related to the DB migration, please make sure that the environment changes are also taken into consideration, and for that please follow the guidelines posted by @tkipkurgat here:

Thank you!