Upgrade to latest version wont startup
-
I've not see that error before. Is there anything else in the log file? Does Mango start, I don't see an error or anything that indicates Mango didn't start?
/root is not a normal path for Mango. What method are you using to start it? If this is a old system you might want to make sure you don't have a MA_HOME environmental variable configured incorrectly.
I also see this error looks related to the data sources that are starting. You might want to try starting in SAFE mode. http://help.infiniteautomation.com/support/solutions/articles/14000022655-starting-in-safe-mode
-
Hey Joel, It would appear that it's shutting itself down normally after the above error:
INFO 2016-06-28 12:33:26,402 (com.serotonin.m2m2.Lifecycle.terminate:344) - Mango Lifecycle terminating... INFO 2016-06-28 12:33:26,449 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.terminate:71) - Terminating 7 NORMAL priority data sources in 8 threads. INFO 2016-06-28 12:33:26,465 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'GC Genset' stopped INFO 2016-06-28 12:33:26,472 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'BH Genset' stopped INFO 2016-06-28 12:33:26,477 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'OP Genset' stopped INFO 2016-06-28 12:33:26,478 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'GC Solar' stopped INFO 2016-06-28 12:33:26,481 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'LL Solar' stopped INFO 2016-06-28 12:33:26,485 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'LL Genset' stopped INFO 2016-06-28 12:33:26,557 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'OP Solar' stopped INFO 2016-06-28 12:33:26,563 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.terminate:101) - Termination of 7 NORMAL priority data sources took 115ms INFO 2016-06-28 12:33:27,148 (com.serotonin.m2m2.Lifecycle.terminate:446) - Mango Lifecycle terminated. INFO 2016-06-28 12:33:27,151 (com.serotonin.m2m2.Lifecycle.terminate:344) - Mango Lifecycle terminating...
I think we just chucked it in /root when it was first installed a few years ago. Then have never really moved it.
Am I better off just putting the latest version fresh install in /opt/mango then just importing the config?
I'm starting to think it might be a very early version. I will see if I can find what version it used to be..Cheers
Dan -
actually funnily enough I've just tried starting the ma-sh file direct from bin/ folder and it looks like it has gotten further. I suspect maybe my startup script was looking in the wrong place, maybe it's changed between versions?
Cheers
Dan -
OK, it appears to be starting up now.
I will ammend the startup file. Thanks for that ;) -
Ok, good. If it was a version from a few years ago then the start up script did change. You might want to verify you don't have a MA_HOME variable set on the system because that could cause the issues.
-
Its possible the directory /root/overrides/lib/ just did not exist. Normally the directory should exist but be empty.
-
ok I got it to startup but now I have no data sources in the list, although some of my data points are there on the other tab:
-
Hey Dan,
You just need to clear your browsers cache. We should be resolving this browser caching issue in the next release.
-
thanks mate I'll try that..
-
Hey Guys, I have moved the install to /opt/mango/ and purchased a full licence for this installation, as part of that licence it suggested I do the upgrade to the latest version, which I did. It appears to still not be starting up correctly...
root@nxn-cap-mon:/opt/mango# ./ma-start.sh ./ma-start.sh: 14: ./ma-start.sh: =: not found INFO 2016-06-30 15:50:17,681 (com.serotonin.m2m2.Main.main:82) - Starting Mango 2.7.10 with Schema Version: 12 WARN 2016-06-30 15:50:19,297 (com.serotonin.m2m2.Main.loadModules:357) - Module jmxds: this module requires a core version of 2.4, which does not match the current core version of 2.7.10. Module not loaded. WARN 2016-06-30 15:50:19,424 (com.serotonin.m2m2.Main.loadModules:357) - Module sstTheme: this module requires a core version of 2.4, which does not match the current core version of 2.7.10. Module not loaded. WARN 2016-06-30 15:50:19,793 (com.serotonin.m2m2.Main.loadModules:357) - Module pachube: this module requires a core version of 2.4, which does not match the current core version of 2.7.10. Module not loaded. WARN 2016-06-30 15:50:19,986 (com.serotonin.m2m2.Main.loadModules:357) - Module openv4j: this module requires a core version of 2.4, which does not match the current core version of 2.7.10. Module not loaded. WARN 2016-06-30 15:50:19,987 (com.serotonin.m2m2.Main.loadModules:357) - Module pid: this module requires a core version of 2.4, which does not match the current core version of 2.7.10. Module not loaded. WARN 2016-06-30 15:50:19,990 (com.serotonin.m2m2.Main.loadModules:357) - Module galil: this module requires a core version of 2.4, which does not match the current core version of 2.7.10. Module not loaded. INFO 2016-06-30 15:50:20,670 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'maintenanceEvents', v1.5.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:20,738 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'dashboards', v3.1.0 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:20,817 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'twilio', v1.1.2 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:20,828 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'scripting', v1.1.2 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:20,841 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'dnp3', v1.6.2 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:20,856 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'excelReports', v1.0.5 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:20,874 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'templateConfig', v1.0.8 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:20,884 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'sstGlobalScripts', v1.5.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:20,894 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'modbus', v1.6.5 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:20,910 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'dataFile', v1.1.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,107 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'serial', v1.2.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,120 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'jsonFileImport', v1.1.2 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,131 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'pointLinks', v1.5.3 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,142 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'log4JReset', v1.1.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,144 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'jspViews', v2.1.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,179 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'mangoApi', v1.1.7 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,193 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'http', v1.5.2 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,203 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'ssh', v1.1.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,211 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'sstGraphics', v1.1.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,222 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'controlcore', v1.1.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,230 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'abpccc', v1.3.0 by Deltamation INFO 2016-06-30 15:50:21,238 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'onewire', v1.5.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,249 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'dglux', v1.3.2 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,429 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'virtualDS', v1.5.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,438 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'vmstat', v1.5.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,445 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'pop3', v1.5.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,453 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'graphicalViews', v1.6.6 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,470 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'opcda', v1.6.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,473 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'snmp', v1.5.2 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,482 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'abeip', v1.3.0 by Deltamation INFO 2016-06-30 15:50:21,490 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'persistent', v1.6.4 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,498 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'watchlists', v1.7.4 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,510 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'TCPIP', v1.1.5 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,517 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'scheduledEvents', v1.5.2 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,525 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'sqlds', v1.6.2 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,533 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'sqlConsole', v1.5.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,540 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'asciiFile', v1.2.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,547 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'mbus', v1.1.2 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,556 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'log4jDS', v1.1.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,563 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'egauge', v1.1.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,570 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'BACnet', v2.2.4 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,579 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'internal', v1.5.3 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,587 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'dataPointDetailsView', v1.0.5 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,594 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'loggingConsole', v1.1.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,601 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'dataImport', v1.4.1 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,608 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'meta', v2.2.4 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:21,616 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'reports', v2.2.3 by Infinite Automation Systems Inc. INFO 2016-06-30 15:50:23,880 (com.infiniteautomation.mangoApi.MangoApiReloadingProperties.checkForReload:146) - (mangoApiHeaders) Found updated file at /opt/mango/web/modules/mangoApi/classes/mangoApiHeaders.properties. Reloading properties INFO 2016-06-30 15:50:24,136 (com.serotonin.m2m2.Lifecycle.loadLic:464) - Checking license... INFO 2016-06-30 15:50:24,495 (com.serotonin.m2m2.db.H2Proxy.initializeImpl:42) - Initializing H2 connection manager INFO 2016-06-30 15:50:25,972 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:36) - Starting instance with core version 2.7.10, db 12 INFO 2016-06-30 15:50:26,616 (com.serotonin.m2m2.rt.DataSourceGroupInitializer.initialize:77) - Initializing 7 NORMAL priority data sources in 8 threads. INFO 2016-06-30 15:50:36,330 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:343) - Data source 'LL Genset' initialized INFO 2016-06-30 15:50:36,332 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:348) - Data source 'LL Genset' took 9701.620933ms to start INFO 2016-06-30 15:50:36,329 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:343) - Data source 'GC Genset' initialized INFO 2016-06-30 15:50:36,350 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:348) - Data source 'GC Genset' took 9722.63943ms to start INFO 2016-06-30 15:50:37,182 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:343) - Data source 'LL Solar' initialized INFO 2016-06-30 15:50:37,184 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:343) - Data source 'OP Genset' initialized INFO 2016-06-30 15:50:37,189 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:343) - Data source 'BH Genset' initialized INFO 2016-06-30 15:50:37,190 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:348) - Data source 'BH Genset' took 10565.159903ms to start INFO 2016-06-30 15:50:37,186 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:348) - Data source 'LL Solar' took 10552.063376ms to start INFO 2016-06-30 15:50:37,190 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:348) - Data source 'OP Genset' took 10549.329192ms to start INFO 2016-06-30 15:50:37,768 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:343) - Data source 'GC Solar' initialized INFO 2016-06-30 15:50:37,770 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:348) - Data source 'GC Solar' took 11141.183125ms to start INFO 2016-06-30 15:50:38,547 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:343) - Data source 'OP Solar' initialized INFO 2016-06-30 15:50:38,549 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSourceStartup:348) - Data source 'OP Solar' took 11911.023983ms to start INFO 2016-06-30 15:50:38,608 (com.serotonin.m2m2.rt.DataSourceGroupInitializer.initialize:109) - Initialization of 7 NORMAL priority data sources took 11992ms java.io.FileNotFoundException: /opt/mango/overrides/lib/*.jar (No such file or directory) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:219) at java.util.zip.ZipFile.<init>(ZipFile.java:149) at java.util.jar.JarFile.<init>(JarFile.java:166) at java.util.jar.JarFile.<init>(JarFile.java:103) at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:84) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89) at org.eclipse.jetty.util.resource.JarFileResource.listEntries(JarFileResource.java:314) at org.eclipse.jetty.util.resource.JarFileResource.list(JarFileResource.java:275) at org.eclipse.jetty.util.resource.Resource.getAllResources(Resource.java:682) at org.eclipse.jetty.webapp.MetaInfConfiguration.scanForTlds(MetaInfConfiguration.java:314) at org.eclipse.jetty.webapp.MetaInfConfiguration.scanJars(MetaInfConfiguration.java:135) at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:85) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:468) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:504) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at com.serotonin.m2m2.Lifecycle.fullyInitializeWebContext(Lifecycle.java:933) at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:317) at com.serotonin.m2m2.Main.main(Main.java:116) java.io.FileNotFoundException: /opt/mango/overrides/lib/*.jar (No such file or directory) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:219) at java.util.zip.ZipFile.<init>(ZipFile.java:149) at java.util.jar.JarFile.<init>(JarFile.java:166) at java.util.jar.JarFile.<init>(JarFile.java:103) at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:84) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89) at org.eclipse.jetty.util.resource.JarFileResource.listEntries(JarFileResource.java:314) at org.eclipse.jetty.util.resource.JarFileResource.list(JarFileResource.java:288) at org.eclipse.jetty.util.resource.Resource.getAllResources(Resource.java:682) at org.eclipse.jetty.webapp.MetaInfConfiguration.scanForTlds(MetaInfConfiguration.java:314) at org.eclipse.jetty.webapp.MetaInfConfiguration.scanJars(MetaInfConfiguration.java:135) at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:85) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:468) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:504) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at com.serotonin.m2m2.Lifecycle.fullyInitializeWebContext(Lifecycle.java:933) at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:317) at com.serotonin.m2m2.Main.main(Main.java:116) ERROR 2016-06-30 15:50:40,858 (com.serotonin.m2m2.Lifecycle.fullyInitializeWebContext:946) - java.lang.NullPointerException at com.serotonin.m2m2.Lifecycle.fullyInitializeWebContext(Lifecycle.java:942) at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:317) at com.serotonin.m2m2.Main.main(Main.java:116) ERROR 2016-06-30 15:50:40,871 (com.serotonin.m2m2.Main.main:120) - Error during initialization java.lang.NullPointerException at com.serotonin.m2m2.Lifecycle.configureStartupDwr(Lifecycle.java:998) at com.serotonin.m2m2.Lifecycle.fullyInitializeWebContext(Lifecycle.java:949) at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:317) at com.serotonin.m2m2.Main.main(Main.java:116) INFO 2016-06-30 15:50:40,874 (com.serotonin.m2m2.Lifecycle.terminate:344) - Mango Lifecycle terminating... INFO 2016-06-30 15:50:40,938 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.terminate:71) - Terminating 7 NORMAL priority data sources in 8 threads. INFO 2016-06-30 15:50:40,950 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'GC Genset' stopped INFO 2016-06-30 15:50:40,964 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'BH Genset' stopped INFO 2016-06-30 15:50:40,967 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'GC Solar' stopped INFO 2016-06-30 15:50:40,956 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'LL Genset' stopped INFO 2016-06-30 15:50:40,954 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'LL Solar' stopped INFO 2016-06-30 15:50:40,964 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'OP Genset' stopped INFO 2016-06-30 15:50:41,018 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSourceShutdown:403) - Data source 'OP Solar' stopped INFO 2016-06-30 15:50:41,066 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.terminate:101) - Termination of 7 NORMAL priority data sources took 128ms INFO 2016-06-30 15:50:41,592 (com.serotonin.m2m2.Lifecycle.terminate:446) - Mango Lifecycle terminated. INFO 2016-06-30 15:50:41,595 (com.serotonin.m2m2.Lifecycle.terminate:344) - Mango Lifecycle terminating...
I found the full log it relates to /opt/mango/overrides/ missing a lib folder, but I have created this and it still goes looking for jar files in there?
Then when it can't find them it seems to work backwards and shut it all down again?Cheers
Dan -
interesting, I started from /opt/mango/bin/ma-sh start instead and it seems to start up now.
Maybe the old startup script I'm using isn't compatible with the later version?Cheers
Dan -
Hey Guys, we've received notification that since our licence purchase and subsequent fearless upgrade the reports haven't been emailing each night...
I've tried running a report manually and this appears in the log..WARN 2016-07-04 07:32:39,659 (com.serotonin.m2m2.web.dwr.MiscDwr.jsError:178) - Javascript error Description: Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://somewherenothere:8080/resources/angular.min.js'. Page: http://somewherenothere:8080/resources/dojo/dojo.js Line: 325 Browser name: Chrome Browser version: 51 osName: Windows location: http://somewherenothere:8080/views.shtm?viewId=1 ERROR 2016-07-04 07:34:45,273 (com.serotonin.m2m2.rt.maint.BackgroundProcessing$1.run:57) - Error in work item java.lang.NoSuchMethodError: org.jfree.data.Range.combineIgnoringNaN(Lorg/jfree/data/Range;Lorg/jfree/data/Range;)Lorg/jfree/data/Range; at org.jfree.data.time.TimeSeriesCollection.getRangeBounds(TimeSeriesCollection.java:742) at org.jfree.data.general.DatasetUtilities.findRangeBounds(DatasetUtilities.java:898) at org.jfree.chart.renderer.xy.AbstractXYItemRenderer.findRangeBounds(AbstractXYItemRenderer.java:785) at org.jfree.chart.renderer.xy.AbstractXYItemRenderer.findRangeBounds(AbstractXYItemRenderer.java:739) at org.jfree.chart.plot.XYPlot.getDataRange(XYPlot.java:4471) at org.jfree.chart.axis.NumberAxis.autoAdjustRange(NumberAxis.java:433) at org.jfree.chart.axis.NumberAxis.configure(NumberAxis.java:415) at org.jfree.chart.plot.XYPlot.configureRangeAxes(XYPlot.java:1257) at org.jfree.chart.plot.XYPlot.datasetChanged(XYPlot.java:4540) at org.jfree.chart.plot.XYPlot.setDataset(XYPlot.java:1396) at com.serotonin.m2m2.util.chart.ImageChartUtils.writeChart(ImageChartUtils.java:110) at com.serotonin.m2m2.util.chart.ImageChartUtils.getChartData(ImageChartUtils.java:63) at com.serotonin.m2m2.util.chart.ImageChartUtils.getChartData(ImageChartUtils.java:55) at com.serotonin.m2m2.reports.web.ReportChartCreator.createContent(ReportChartCreator.java:166) at com.serotonin.m2m2.reports.web.ReportWorkItem.execute(ReportWorkItem.java:167) at com.serotonin.m2m2.rt.maint.BackgroundProcessing$1.run(BackgroundProcessing.java:54) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
With the latest version of Mango, are there additional pre-requisites required now? Or maybe an alternative version of Java?
Cheers
Dan -
Hi Dan,
Apparently a version of Mango mistakenly contained an overridden class for JFree charts, so a number of users have experienced that. What you need to do to fix it is find the org/jfree/data/Range.class file in either Mango/classes/ Mango/overrides/classes/ Mango/overrides/lib/ Mango/overrides/properties and delete it.
Or you can navigate to Mango/ and
find . -name '*Range.class*'
Sorry for the inconvenience.
-
Hi Phil, thanks for that. I've tried removing the Range.class under classes/org/jfree/data/ and it didn't make any difference..
ERROR 2016-07-08 12:08:15,105 (com.serotonin.m2m2.rt.maint.BackgroundProcessing$1.run:57) - Error in work item java.lang.NoSuchMethodError: org.jfree.data.Range.combineIgnoringNaN(Lorg/jfree/data/Range;Lorg/jfree/data/Range;)Lorg/jfree/data/Range; at org.jfree.data.time.TimeSeriesCollection.getRangeBounds(TimeSeriesCollection.java:742) at org.jfree.data.general.DatasetUtilities.findRangeBounds(DatasetUtilities.java:898) at org.jfree.chart.renderer.xy.AbstractXYItemRenderer.findRangeBounds(AbstractXYItemRenderer.java:785) at org.jfree.chart.renderer.xy.AbstractXYItemRenderer.findRangeBounds(AbstractXYItemRenderer.java:739) at org.jfree.chart.plot.XYPlot.getDataRange(XYPlot.java:4471) at org.jfree.chart.axis.NumberAxis.autoAdjustRange(NumberAxis.java:433) at org.jfree.chart.axis.NumberAxis.configure(NumberAxis.java:415) at org.jfree.chart.plot.XYPlot.configureRangeAxes(XYPlot.java:1257) at org.jfree.chart.plot.XYPlot.datasetChanged(XYPlot.java:4540) at org.jfree.chart.plot.XYPlot.setDataset(XYPlot.java:1396) at com.serotonin.m2m2.util.chart.ImageChartUtils.writeChart(ImageChartUtils.java:110) at com.serotonin.m2m2.util.chart.ImageChartUtils.getChartData(ImageChartUtils.java:63) at com.serotonin.m2m2.util.chart.ImageChartUtils.getChartData(ImageChartUtils.java:55) at com.serotonin.m2m2.reports.web.ReportChartCreator.createContent(ReportChartCreator.java:166) at com.serotonin.m2m2.reports.web.ReportWorkItem.execute(ReportWorkItem.java:167) at com.serotonin.m2m2.rt.maint.BackgroundProcessing$1.run(BackgroundProcessing.java:54) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) ERROR 2016-07-08 12:08:35,954 (com.serotonin.m2m2.rt.maint.BackgroundProcessing$1.run:57) - Error in work item java.lang.NoSuchMethodError: org.jfree.data.Range.combineIgnoringNaN(Lorg/jfree/data/Range;Lorg/jfree/data/Range;)Lorg/jfree/data/Range; at org.jfree.data.time.TimeSeriesCollection.getRangeBounds(TimeSeriesCollection.java:742) at org.jfree.data.general.DatasetUtilities.findRangeBounds(DatasetUtilities.java:898) at org.jfree.chart.renderer.xy.AbstractXYItemRenderer.findRangeBounds(AbstractXYItemRenderer.java:785) at org.jfree.chart.renderer.xy.AbstractXYItemRenderer.findRangeBounds(AbstractXYItemRenderer.java:739) at org.jfree.chart.plot.XYPlot.getDataRange(XYPlot.java:4471) at org.jfree.chart.axis.NumberAxis.autoAdjustRange(NumberAxis.java:433) at org.jfree.chart.axis.NumberAxis.configure(NumberAxis.java:415) at org.jfree.chart.plot.XYPlot.configureRangeAxes(XYPlot.java:1257) at org.jfree.chart.plot.XYPlot.datasetChanged(XYPlot.java:4540) at org.jfree.chart.plot.XYPlot.setDataset(XYPlot.java:1396) at com.serotonin.m2m2.util.chart.ImageChartUtils.writeChart(ImageChartUtils.java:110) at com.serotonin.m2m2.util.chart.ImageChartUtils.getChartData(ImageChartUtils.java:63) at com.serotonin.m2m2.util.chart.ImageChartUtils.getChartData(ImageChartUtils.java:55) at com.serotonin.m2m2.reports.web.ReportChartCreator.createContent(ReportChartCreator.java:166) at com.serotonin.m2m2.reports.web.ReportWorkItem.execute(ReportWorkItem.java:167) at com.serotonin.m2m2.rt.maint.BackgroundProcessing$1.run(BackgroundProcessing.java:54) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
Maybe I'll try restarting the box again also.
Cheers
Dan -
ah ha, a restart solved the issue (after removing that file)
Cheers
Dan