Mango not Accessible by Web - Hung-Up During Start-Up?
-
HI there,
I can't seem to access one of our Mango instances through the UI on the web. However, I can still access through FTP and SSH. When I try restarting the instance through SSH it seems to get hung up on the last line in the log below. Any help would be appreciated.What initially caused the web interface to be inaccessible ("This site can’t be reached" on Google Chrome) was me stopping and starting the instance through SSH in preparation for upgrading the core library and all modules. At one point, while refreshing the browser at hostname/ui/login, the following error came up: "Error bootstrapping Mango UI app: Failed to fetch pre-login bootstrap data." I only saw this error once and could not replicate it.
From the ma.log:
INFO 2020-10-02T18:42:55,097 (com.serotonin.m2m2.Main.main:121) - Starting Mango 3.7.7 with Schema Version: 29 WARN 2020-10-02T18:42:55,817 (com.serotonin.m2m2.Main.loadModules:443) - Module mangoESConfiguration: this module requires a core version of 3.5, which does not match the current core version of 3.7.7. Module not loaded. INFO 2020-10-02T18:42:56,600 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sqlds', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,648 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mqttClientDataSource', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,658 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'acurite', v3.7.0 by Terry Packer INFO 2020-10-02T18:42:56,666 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/acurite/web/dox/manifest.xml INFO 2020-10-02T18:42:56,669 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'TCPIP', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,678 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'asciiFile', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,688 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sqlConsole', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,698 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'galil', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,707 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'lang_zh', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,709 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sstGlobalScripts', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,719 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mbus', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,733 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'log4jDS', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,744 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'persistent', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,756 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'vmstat', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,766 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mangoApi', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,778 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pointLinks', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,789 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'log4JReset', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,792 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sstTheme', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,798 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'jmxds', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,807 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'twilio', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,820 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'meta', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,832 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'excelReports', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,848 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'snmp', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,857 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'http', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,871 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'controlcore', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,879 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'advancedComponents', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,883 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/advancedComponents/web/dox/manifest.xml INFO 2020-10-02T18:42:56,888 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'jsonFileImport', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,896 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'graphicalViews', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,919 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'scripting', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,928 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'watchlists', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,943 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dataPointDetailsView', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,951 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'modbus', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,962 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'slackPublisher', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,973 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'lang_es', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,980 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'onewire', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,989 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'virtualDS', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:56,997 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'advancedScheduler', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,000 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dashboardDesigner', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,004 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/dashboardDesigner/web/dox/manifest.xml INFO 2020-10-02T18:42:57,007 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dataFile', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,024 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mangoUI', v3.7.7 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,029 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/mangoUI/web/dox/manifest.xml INFO 2020-10-02T18:42:57,059 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'ssh', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,068 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dnp3', v3.7.3 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,077 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dataImport', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,085 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pop3', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,093 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'cloudConnect', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,097 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/cloudConnect/web/dox/manifest.xml INFO 2020-10-02T18:42:57,099 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'lang_pt', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,113 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'deviceConfig', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,117 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/deviceConfig/web/dox/manifest.xml INFO 2020-10-02T18:42:57,120 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'templateConfig', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,128 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'Haystack', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,137 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'opcda', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,140 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'MangoIOTools', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,144 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/MangoIOTools/web/dox/manifest.xml INFO 2020-10-02T18:42:57,146 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'BACnet', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,156 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pid', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,164 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'zwave', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,184 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'egauge', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,192 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'scheduledEvents', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,202 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'loggingConsole', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,210 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sstGraphics', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,225 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mangoNoSqlDatabase', v3.7.1 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,235 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'reports', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,245 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'maintenanceEvents', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,253 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'serial', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:42:57,261 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'internal', v3.7.0 by Infinite Automation Systems Inc. INFO 2020-10-02T18:43:07,533 (com.serotonin.m2m2.Lifecycle.loadLic:583) - Checking license... WARN 2020-10-02T18:43:07,811 (com.serotonin.m2m2.TimedLicenseRegistrar.checkLicenses:64) - Mango NoSQL database is running in free mode, Mango will shutdown at 2:43:07 3/10/2020. INFO 2020-10-02T18:43:08,132 (com.serotonin.m2m2.db.H2Proxy.initializeImpl:64) - Initializing H2 connection manager INFO 2020-10-02T18:43:10,292 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:38) - Starting instance with core version 3.7.7, schema v29 INFO 2020-10-02T18:43:10,292 (com.infiniteautomation.nosql.MangoNoSqlProxy.initialize:77) - Starting MangoNoSql Database INFO 2020-10-02T18:43:10,406 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:144) - Database at /opt/mango/databases/mangoTSDB started INFO 2020-10-02T18:43:10,515 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:173) - Empty dir delete for database at /opt/mango/databases/mangoTSDB took 69ms INFO 2020-10-02T18:43:10,532 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:144) - Database at /opt/mango/databases/mangoTSDBAux started INFO 2020-10-02T18:43:10,559 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:173) - Empty dir delete for database at /opt/mango/databases/mangoTSDBAux took 0ms INFO 2020-10-02T18:43:23,475 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'runtimeContext' refreshed: org.springframework.context.annotation.AnnotationConfigApplicationContext@da6cbd INFO 2020-10-02T18:43:23,492 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextStarted:147) - Spring context 'runtimeContext' started: org.springframework.context.annotation.AnnotationConfigApplicationContext@da6cbd INFO 2020-10-02T18:43:24,008 (com.serotonin.m2m2.rt.DataSourceGroupInitializer.initialize:77) - Initializing 5 NORMAL priority data sources in 8 threads. INFO 2020-10-02T18:43:24,705 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source Mango Internal took 691ms to start INFO 2020-10-02T18:43:24,711 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source MangoES System took 697ms to start INFO 2020-10-02T18:43:24,891 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source MangoES System took 877ms to start INFO 2020-10-02T18:43:25,213 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source 309_Legget took 1203ms to start INFO 2020-10-02T18:43:25,394 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source BACNET_IP took 1382ms to start INFO 2020-10-02T18:43:25,473 (com.serotonin.m2m2.rt.DataSourceGroupInitializer.initialize:109) - Initialization of 5 NORMAL priority data sources took 1465ms INFO 2020-10-02T18:43:25,473 (com.serotonin.m2m2.rt.DataSourceGroupInitializer.initialize:77) - Initializing 1 LAST priority data sources in 8 threads. INFO 2020-10-02T18:43:27,464 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source KRP - 309 Legget - Data took 1989ms to start INFO 2020-10-02T18:43:27,477 (com.serotonin.m2m2.rt.DataSourceGroupInitializer.initialize:109) - Initialization of 1 LAST priority data sources took 2004ms INFO 2020-10-02T18:43:27,707 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:176) - Starting 2 Publishers... INFO 2020-10-02T18:43:27,708 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:178) - Starting publisher: HTTP INFO 2020-10-02T18:43:27,747 (com.serotonin.m2m2.rt.RuntimeManagerImpl.startPublisher:949) - Publisher 'HTTP' took 38.809859ms to start INFO 2020-10-02T18:43:27,748 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:178) - Starting publisher: EO_PERSISTENT INFO 2020-10-02T18:43:27,748 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:188) - 2 Publisher's started in 124ms INFO 2020-10-02T18:43:36,255 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'rootWebContext' refreshed: Root WebApplicationContext INFO 2020-10-02T18:43:46,076 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'jspDispatcherContext' refreshed: WebApplicationContext for namespace 'JSP_DISPATCHER-servlet' INFO 2020-10-02T18:43:47,177 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'restDispatcherContext' refreshed: WebApplicationContext for namespace 'REST_DISPATCHER-servlet' INFO 2020-10-02T18:43:50,699 (com.serotonin.m2m2.web.mvc.rest.v1.BacnetDiscoveryRestController.<init>:54) - Creating Discovery Rest Controller INFO 2020-10-02T18:43:56,855 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'restV1Context' refreshed: WebApplicationContext for namespace 'restV1DispatcherServlet-servlet' INFO 2020-10-02T18:44:08,137 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'restV2Context' refreshed: WebApplicationContext for namespace 'restV2DispatcherServlet-servlet'
Thanks!
-
@envari said in Mango not Accessible by Web - Hung-Up During Start-Up?:
WARN 2020-10-02T18:42:55,817 (com.serotonin.m2m2.Main.loadModules:443) - Module mangoESConfiguration: this module requires a core version of 3.5, which does not match the current core version of 3.7.7. Module not loaded.
You've tried to do an upgrade and haven't selected all modules for a start. Secondly I don't see the ERROR or FATAL message in your log here.
-
Hi @Envari
Have you tried clearing your cache?
Seems like mango is booting up with out any issue.