Upgrade from 3.6.5 to 3.7 failed on Windows 10 Pro
-
Hi,
I have encountered failure during upgrade. This Mango directory was upgraded from 3.6.4 to 3.6.5. That is why you see the reference to 3.6.4 in the directory path. I have installed AdoptOpenJDK latest version to go along with 3.7.
I have copied the ma.log file content below.
Hope anyone can point me at the right direction.Thanks.
INFO 2020-05-04T22:38:09,134 (com.serotonin.m2m2.Main.main:121) - Starting Mango 3.7.7 with Schema Version: 29 INFO 2020-05-04T22:38:09,356 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'advancedComponents', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,358 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Users\Metasyssysagent\Documents\free-m2m2-core-3.6.4\web\modules\advancedComponents\web\dox\manifest.xml INFO 2020-05-04T22:38:09,368 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'advancedScheduler', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,370 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'asciiFile', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,375 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'BACnet', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,380 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'cloudConnect', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,382 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Users\Metasyssysagent\Documents\free-m2m2-core-3.6.4\web\modules\cloudConnect\web\dox\manifest.xml INFO 2020-05-04T22:38:09,383 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'controlcore', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,386 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dashboardDesigner', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,388 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Users\Metasyssysagent\Documents\free-m2m2-core-3.6.4\web\modules\dashboardDesigner\web\dox\manifest.xml INFO 2020-05-04T22:38:09,390 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dataFile', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,399 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dataImport', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,402 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dataPointDetailsView', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,406 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'deviceConfig', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,409 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Users\Metasyssysagent\Documents\free-m2m2-core-3.6.4\web\modules\deviceConfig\web\dox\manifest.xml INFO 2020-05-04T22:38:09,411 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dnp3', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,417 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'egauge', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,422 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'envcands', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,426 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'excelReports', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,437 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'graphicalViews', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,451 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'Haystack', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,455 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'http', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,460 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'jmxds', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,464 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'jsonFileImport', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,468 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'log4jDS', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,471 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'log4JReset', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,473 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'loggingConsole', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,478 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'maintenanceEvents', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,482 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mangoApi', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,489 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'MangoIOTools', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,491 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Users\Metasyssysagent\Documents\free-m2m2-core-3.6.4\web\modules\MangoIOTools\web\dox\manifest.xml INFO 2020-05-04T22:38:09,492 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mangoUI', v3.7.3 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,494 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Users\Metasyssysagent\Documents\free-m2m2-core-3.6.4\web\modules\mangoUI\web\dox\manifest.xml INFO 2020-05-04T22:38:09,524 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mbus', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,529 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'meta', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,533 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'modbus', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,536 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mqttClientDataSource', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,540 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'onewire', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,545 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'opcda', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,547 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'openv4j', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,549 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pachube', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,554 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pakbus', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,558 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'persistent', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,563 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pid', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,568 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pointLinks', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,571 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pop3', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,575 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'reports', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,580 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'scheduledEvents', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,584 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'scripting', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,587 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'serial', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,591 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'slackPublisher', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,595 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'snmp', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,600 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sqlConsole', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,603 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sqlds', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,608 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'ssh', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,611 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sstGlobalScripts', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,615 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sstGraphics', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,630 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sstTheme', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,632 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'TCPIP', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,635 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'templateConfig', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,638 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'twilio', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,643 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'virtualDS', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,647 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'vmstat', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,651 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'watchlists', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,659 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'zwave', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:09,672 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'internal', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-05-04T22:38:11,515 (com.serotonin.m2m2.Lifecycle.loadLic:583) - Checking license... INFO 2020-05-04T22:38:11,515 (com.serotonin.m2m2.Lifecycle.loadLic:670) - License file not found INFO 2020-05-04T22:38:11,615 (com.serotonin.m2m2.db.H2Proxy.initializeImpl:64) - Initializing H2 connection manager INFO 2020-05-04T22:38:12,206 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:38) - Starting instance with core version 3.7.7, schema v29 INFO 2020-05-04T22:38:14,421 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'runtimeContext' refreshed: org.springframework.context.annotation.AnnotationConfigApplicationContext@237add INFO 2020-05-04T22:38:14,425 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextStarted:147) - Spring context 'runtimeContext' started: org.springframework.context.annotation.AnnotationConfigApplicationContext@237add ERROR 2020-05-04T22:38:14,428 (com.serotonin.m2m2.Main.main:162) - Error during initialization java.lang.IllegalArgumentException: null at java.util.concurrent.ThreadPoolExecutor.setCorePoolSize(ThreadPoolExecutor.java:1537) ~[?:?] at com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl.initialize(BackgroundProcessingImpl.java:440) ~[mango-3.7.7.jar:?] at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:292) ~[ma-priv-3.7.7.jar:?] at com.serotonin.m2m2.Main.main(Main.java:159) ~[ma-priv-3.7.7.jar:?] INFO 2020-05-04T22:38:14,428 (com.serotonin.m2m2.Lifecycle.terminate:400) - Mango Lifecycle terminating... INFO 2020-05-04T22:38:14,443 (com.infiniteautomation.mango.spring.components.executors.MangoExecutors.destroy:71) - Shutting down shared executor and scheduled exectutor INFO 2020-05-04T22:38:14,443 (com.infiniteautomation.mango.spring.components.executors.MangoExecutors.awaitTermination:129) - Executors shutdown successfully INFO 2020-05-04T22:38:14,444 (com.serotonin.m2m2.db.H2Proxy.terminateImpl:406) - Terminating database. INFO 2020-05-04T22:38:14,502 (com.serotonin.m2m2.Lifecycle.terminate:550) - Mango Lifecycle terminated.
-
Hi,
Can anyone give a hand on this one?Thanks.
-
Hi @cwangv
can you try downloading 3.7 and replace the databases folder with your existing instance and see if you have the same problem.
Can you also provide the exact version of java you using by pasting the return ofjava --version
-
here is the java -version output:
I have downloaded 3.7 and run it from a seperate home folder, when I start the 3.7 instance, it only brings up the
legacy UI, something is not right. See below:
I have attached here the ma.log from the 3.7 instance:INFO 2020-05-05T19:12:17,243 (com.serotonin.m2m2.Main.main:121) - Starting Mango 3.7.7 with Schema Version: 29 INFO 2020-05-05T19:12:17,760 (com.serotonin.m2m2.Lifecycle.loadLic:583) - Checking license... INFO 2020-05-05T19:12:17,761 (com.serotonin.m2m2.Lifecycle.loadLic:670) - License file not found INFO 2020-05-05T19:12:17,885 (com.serotonin.m2m2.db.H2Proxy.initializeImpl:64) - Initializing H2 connection manager INFO 2020-05-05T19:12:20,474 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:38) - Starting instance with core version 3.7.7, schema v29 INFO 2020-05-05T19:12:21,871 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'runtimeContext' refreshed: org.springframework.context.annotation.AnnotationConfigApplicationContext@767191b1 INFO 2020-05-05T19:12:21,875 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextStarted:147) - Spring context 'runtimeContext' started: org.springframework.context.annotation.AnnotationConfigApplicationContext@767191b1 INFO 2020-05-05T19:12:21,923 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:176) - Starting 0 Publishers... INFO 2020-05-05T19:12:21,924 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:188) - 0 Publisher's started in 2ms INFO 2020-05-05T19:12:23,107 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'rootWebContext' refreshed: Root WebApplicationContext INFO 2020-05-05T19:12:23,822 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'jspDispatcherContext' refreshed: WebApplicationContext for namespace 'JSP_DISPATCHER-servlet'
-
Looks like you just downloaded the core and not the enterprise. No modules are being loaded. You could go into the modules page and download all the modules or download the enterprise which is simply core + all modules.
-
@craigweb
Anything else i can do with my upgraded 3.6.5 instance? I downloaded the modules through the Mango UI.Thanks.
-