Deployment Issue After Mendix Version Downgrade

0
We have recently upgraded our Mendix application from version 10.6.7 to 10.24.20. The upgraded branch has been successfully deployed and tested in a lower environment.However, when we attempt to redeploy the earlier version (10.6.7) of the same branch line, the deployment does not complete successfully. The runtime remains in a continuous loading state and does not start as expected.We have attached the relevant logs for reference. Could you please help us identify the root cause of this issue and suggest a possible solution?2026-06-29 14:46:42.754 INFO - Core: Initializing InternalCore and Modules...2026-06-29 14:46:44.099 INFO - Core: Initialized InternalCore and Modules.2026-06-29 14:46:44.099 INFO - Core: Initializing ConnectionBus...2026-06-29 14:46:44.261 INFO - Core: Initialized ConnectionBus.2026-06-29 14:46:44.392 ERROR - M2EE: An error occurred while initializing the Runtime: Unsupported pre-analysis migration version: 4.4.0. You are trying to synchronize a Mendix application database from an unsupported Mendix version.com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: Unsupported pre-analysis migration version: 4.4.0. You are trying to synchronize a Mendix application database from an unsupported Mendix version.at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:255)Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: Unsupported pre-analysis migration version: 4.4.0. You are trying to synchronize a Mendix application database from an unsupported Mendix version.at com.mendix.connectionbus.modelsynchronization.analysis.mappingreaders.DatabaseMappingReader.getTables(DatabaseMappingReader.scala:154)at com.mendix.connectionbus.modelsynchronization.analysis.mappingreaders.DatabaseMappingReader.fillModel(DatabaseMappingReader.scala:61)at com.mendix.connectionbus.modelsynchronization.analysis.mappingreaders.DatabaseMappingReader$.$anonfun$getDatabaseMappingModel$4(DatabaseMappingReader.scala:36)at scala.util.Using$.resource(Using.scala:262)
asked
1 answers
0

This is expected behavior in Mendix. Database schema upgrades are one-way, so once a database has been upgraded by a newer Mendix runtime (10.24.x in your case), it cannot be used by an older runtime (10.6.7).


The error:

Unsupported pre-analysis migration version: 4.4.0

indicates that the database metadata has already been migrated to a newer format, which 10.6.7 cannot understand.


If you need to run the older version again, you'll need to deploy it against a fresh database or restore a database backup taken before the upgrade. Alternatively, create a new deployment using the older branch and a clean database.


Mendix upgrades are designed to be forward-only and do not support database downgrades.


Kindly mark this as the accepted answer if it helps.

answered