Could not retrieve version information from system tables. No records found in the version system table!

0
Hi everyone, do you hit this issue when run a new Mendix app??   INFO - Configuration: Configuration updated.INFO - Services: Adding 0 authority certificate(s)INFO - Metrics: Started metrics on MicrometerINFO - Core: Initializing InternalCore and Modules...INFO - Core: Initialized InternalCore and Modules.INFO - Core: Initializing ConnectionBus...INFO - Core: Initialized ConnectionBus.ERROR - M2EE: An error occurred while initializing the Runtime: Could not retrieve version information from system tables. No records found in the version system table!com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: Could not retrieve version information from system tables. No records found in the version system table!    at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:267) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: Could not retrieve version information from system tables. No records found in the version system table!    at com.mendix.connectionbus.modelsynchronization.analysis.SystemVersionTableUtils$.getVersionDetail(SystemVersionTableUtils.scala:81)    at com.mendix.connectionbus.modelsynchronization.analysis.SystemVersionTableUtils$.getSystemVersionTableContents(SystemVersionTableUtils.scala:75)    at com.mendix.connectionbus.modelsynchronization.analysis.SystemVersionTableUtils$.getVersionsAndLastSyncDate(SystemVersionTableUtils.scala:41)WARNING: Unexpected result while starting app: 1.Please check your configuration for errors    at com.mendix.connectionbus.modelsynchronization.analysis.mappingreaders.DatabaseMappingReader$.getDatabaseMappingModel(DatabaseMappingReader.scala:28)    at com.mendix.connectionbus.modelsynchronization.analysis.mappingreaders.DatabaseMappingReader$.$anonfun$getDatabaseMappingModel$1(DatabaseMappingReader.scala:19)ERROR: Starting application failed: Application start failed    at scala.util.Using$.resource(Using.scala:261)    at com.mendix.connectionbus.modelsynchronization.analysis.mappingreaders.DatabaseMappingReader$.getDatabaseMappingModel(DatabaseMappingReader.scala:19)    at com.mendix.connectionbus.ConnectionBusImpl.fillMappingCache(ConnectionBusImpl.scala:405)    at com.mendix.connectionbus.ConnectionBusImpl.getInitialDatabaseCommands(ConnectionBusImpl.scala:400)INFO: Waiting for the application to shutdown...    at com.mendix.basis.impl.MxRuntimeImplBase.collectDdlCommands(MxRuntimeImplBase.java:370)    at com.mendix.basis.impl.MxRuntimeImplBase.doSynchronization(MxRuntimeImplBase.java:285)    at com.mendix.basis.impl.MxRuntimeImplBase.startConnectionBus(MxRuntimeImplBase.java:274)    at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:246)
asked
1 answers
0

I encountered the same issue and found that the cause of the deployment failure was insufficient memory.

In the application log, prior to the error message "Could not retrieve version information from system tables," there was a message indicating "STDOUT Exit status 137," which is typically associated with memory issues. I’m concerned that the lack of memory may have prevented the system tables from being fully created.

To resolve this, I increased the app memory from 8GB to 16GB during the first deployment attempt, and it was successful.

 

Hope this helps!

answered