Hi,
our MangoES update-process from 3.5.6 to 3.6 failed.
It stops with 40% loading and the message: "RequestError: Unable to load /status/mango status: 0".
How can I solve this?
ma-log:
INFO 2019-06-25T17:19:09,434 (com.serotonin.m2m2.Main.main:105) - Starting Mango 3.6.0 with Schema Version: 28
WARN 2019-06-25T17:19:10,371 (com.serotonin.m2m2.Main.loadModules:424) - Module crowd: this module requires a core version of 2.8, which does not match the current core version of 3.6.0. Module not loaded.
WARN 2019-06-25T17:19:10,393 (com.serotonin.m2m2.Main.loadModules:424) - Module jspViews: this module requires a core version of 2.8, which does not match the current core version of 3.6.0. Module not loaded.
INFO 2019-06-25T17:19:10,831 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'sqlds', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:10,894 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'mqttClientDataSource', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:10,913 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'TCPIP', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:10,933 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'asciiFile', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:10,947 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'sqlConsole', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:10,960 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'sstGlobalScripts', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:10,975 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'log4jDS', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:10,989 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'persistent', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,006 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'mangoApi', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,025 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'pointLinks', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,039 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'log4JReset', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,044 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'sstTheme', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,051 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'twilio', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,067 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'mangoESConfiguration', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,083 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'meta', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,099 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'excelReports', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,126 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'lang_en', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,129 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'snmp', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,145 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'http', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,164 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'controlcore', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,178 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'advancedComponents', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,186 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/advancedComponents/web/dox/manifest.xml
INFO 2019-06-25T17:19:11,203 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'jsonFileImport', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,224 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'graphicalViews', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,260 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'scripting', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,273 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'watchlists', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,297 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'dataPointDetailsView', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,314 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'modbus', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,339 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'virtualDS', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,359 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'dashboardDesigner', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,365 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/dashboardDesigner/web/dox/manifest.xml
INFO 2019-06-25T17:19:11,370 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'dataFile', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,399 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'mangoUI', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,405 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/mangoUI/web/dox/manifest.xml
INFO 2019-06-25T17:19:11,450 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'ssh', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,462 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'dataImport', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,473 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'pop3', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,484 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'cloudConnect', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,490 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/cloudConnect/web/dox/manifest.xml
INFO 2019-06-25T17:19:11,493 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'deviceConfig', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,499 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/deviceConfig/web/dox/manifest.xml
INFO 2019-06-25T17:19:11,506 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'templateConfig', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,519 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'opcda', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,523 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'openv4j', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,527 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'scheduledEvents', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,538 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'loggingConsole', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,549 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'sstGraphics', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,586 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'mangoNoSqlDatabase', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,600 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'reports', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,616 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'maintenanceEvents', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:11,628 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'internal', v3.6.0 by Infinite Automation Systems Inc.
INFO 2019-06-25T17:19:19,430 (com.serotonin.m2m2.Lifecycle.loadLic:611) - Checking license...
INFO 2019-06-25T17:19:20,641 (com.serotonin.m2m2.db.H2Proxy.initializeImpl:61) - Initializing H2 connection manager
INFO 2019-06-25T17:19:23,250 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:38) - Starting instance with core version 3.6.0, schema v28
INFO 2019-06-25T17:19:23,251 (com.infiniteautomation.nosql.MangoNoSqlProxy.initialize:77) - Starting MangoNoSql Database
INFO 2019-06-25T17:19:23,379 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:143) - Database at /opt/mango/databases/mangoTSDB started
INFO 2019-06-25T17:19:25,439 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:172) - Empty dir delete for database at /opt/mango/databases/mangoTSDB took 2019ms
INFO 2019-06-25T17:19:25,613 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:143) - Database at /opt/mango/databases/mangoTSDBAux started
INFO 2019-06-25T17:19:25,640 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:172) - Empty dir delete for database at /opt/mango/databases/mangoTSDBAux took 0ms
ERROR 2019-06-25T17:19:31,490 (com.serotonin.m2m2.Main.main:146) - Error during initialization
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mangoJavaScriptService': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [com.infiniteautomation.mango.spring.service.MangoJavaScriptService] from ClassLoader [sun.misc.Launcher$AppClassLoader@19f2327]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:265) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1269) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1184) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$$Lambda$59/24039117.getObject(Unknown Source) ~[?:?]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:843) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) ~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at com.serotonin.m2m2.Lifecycle.springRuntimeContextInitialize(Lifecycle.java:412) ~[ma-priv-3.6.0.jar:?]
at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:315) ~[ma-priv-3.6.0.jar:?]
at com.serotonin.m2m2.Main.main(Main.java:143) ~[ma-priv-3.6.0.jar:?]
Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.infiniteautomation.mango.spring.service.MangoJavaScriptService] from ClassLoader [sun.misc.Launcher$AppClassLoader@19f2327]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:248) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
... 15 more
Caused by: java.lang.NoClassDefFoundError: jdk/nashorn/api/scripting/ClassFilter
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_33]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2693) ~[?:1.8.0_33]
at java.lang.Class.getDeclaredMethods(Class.java:1967) ~[?:1.8.0_33]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:248) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
... 15 more
Caused by: java.lang.ClassNotFoundException: jdk.nashorn.api.scripting.ClassFilter
at java.net.URLClassLoader$1.run(URLClassLoader.java:372) ~[?:1.8.0_33]
at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.8.0_33]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_33]
at java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[?:1.8.0_33]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_33]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) ~[?:1.8.0_33]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_33]
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_33]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2693) ~[?:1.8.0_33]
at java.lang.Class.getDeclaredMethods(Class.java:1967) ~[?:1.8.0_33]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:248) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
... 15 more
INFO 2019-06-25T17:19:31,491 (com.serotonin.m2m2.Lifecycle.terminate:427) - Mango Lifecycle terminating...
INFO 2019-06-25T17:19:31,523 (com.serotonin.m2m2.db.H2Proxy.terminateImpl:394) - Terminating database.
INFO 2019-06-25T17:19:31,640 (com.infiniteautomation.nosql.MangoNoSqlProxy.shutdown:115) - Terminating NoSQL Batch Write Manager.
INFO 2019-06-25T17:19:31,658 (com.infiniteautomation.nosql.MangoNoSqlProxy.shutdown:123) - Closing NoSQL Database: Point Values
INFO 2019-06-25T17:19:31,925 (com.infiniteautomation.nosql.MangoNoSqlProxy.shutdown:131) - Closing NoSQL Database: Point Data
INFO 2019-06-25T17:19:31,929 (com.serotonin.m2m2.Lifecycle.terminate:578) - Mango Lifecycle terminated.