• dan

    I can run up a fresh instance with no data points etc and it seems to run, I'll check what version JVM is on there.
    Cheers

    posted in Mango Automation read more
  • dan

    ok, so I went back to the original upgrade process, this time extracting the zip which contains the modules also.

    now the mango process seems to be starting then restarting, looping..
    one of the errors I see is:

    ERROR 2018-09-07 11:39:27,544 (com.serotonin.m2m2.Lifecycle.fullyInitializeWebContext:971) -
    java.lang.NullPointerException
            at com.serotonin.m2m2.Lifecycle.fullyInitializeWebContext(Lifecycle.java:967)
            at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:324)
            at com.serotonin.m2m2.Main.main(Main.java:115)
    ERROR 2018-09-07 11:39:27,555 (com.serotonin.m2m2.Main.main:119) - Error during initialization
    java.lang.NullPointerException
            at com.serotonin.m2m2.Lifecycle.configureStartupDwr(Lifecycle.java:1023)
            at com.serotonin.m2m2.Lifecycle.fullyInitializeWebContext(Lifecycle.java:974)
            at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:324)
            at com.serotonin.m2m2.Main.main(Main.java:115)
    
    

    posted in Mango Automation read more
  • dan

    Thanks for that, I'll try that one.

    Cheers

    posted in Mango Automation read more
  • dan

    Hey Phil, I can't seem to find a bundle pack with all the modules..

    0_1536187014714_47eecce0-06f3-412c-9179-3a0852d67aa8-image.png

    Am I looking in the right place?

    posted in Mango Automation read more
  • dan

    Ah I see, that makes sense ;)
    I'll try that and come back to you.

    Cheers

    posted in Mango Automation read more
  • dan

    this was the result of the overrides folder...

    root@water:/opt/mango# find /opt/mango/overrides/
    /opt/mango/overrides/
    /opt/mango/overrides/properties
    /opt/mango/overrides/properties/env.properties
    /opt/mango/overrides/lib
    /opt/mango/overrides/lib/libjdns_sd.so
    
    

    posted in Mango Automation read more
  • dan

    OK. Now it's looking better, but it's not starting the modules for some reason. Should it be removing the old modules in favour of new ones?
    https://pastebin.com/nFwmvse0

    posted in Mango Automation read more
  • dan

    Ah looks like it hadn't finished deleting the lib folder.
    File operations on these ES boxes seem a little sluggish at times.

    I'll try again now.

    Cheers

    posted in Mango Automation read more
  • dan

    hmm, looks like there's something on the wing...

    It's cycling the startup script now, re-spawning over and over. There are a couple of issues I see in the ma.log

    ERROR 2018-09-05 08:26:33,604 (org.springframework.web.context.ContextLoader.initWebApplicationContext:220) - Context initialization failed
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Method 'delegatingApplicationListener' must not be private, final or static; change the method's modifiers to continue
    Offending resource: class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]
    
    ERROR 2018-09-05 08:26:26,624 (org.springframework.web.context.ContextLoader.initWebApplicationContext:220) - Context initialization failed
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Method 'delegatingApplicationListener' must not be private, final or static; change the method's modifiers to continue
    Offending resource: class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]
            at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
            at org.springframework.context.annotation.ConfigurationClassMethod.validate(ConfigurationClassMethod.java:61)
            at org.springframework.context.annotation.ConfigurationClass.validate(ConfigurationClass.java:139)
            at org.springframework.context.annotation.ConfigurationClassParser.validate(ConfigurationClassParser.java:167)
            at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:198)
            at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:142)
            at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:599)
            at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:407)
            at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
            at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
            at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
            at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:640)
            at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:229)
            at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1208)
            at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586)
            at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:449)
            at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
            at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:89)
            at org.eclipse.jetty.server.Server.doStart(Server.java:258)
            at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
            at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:735)
            at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:177)
            at com.serotonin.m2m2.Main.main(Main.java:106)
    ERROR 2018-09-05 08:26:26,794 (com.serotonin.m2m2.Lifecycle.terminate:360) - com.serotonin.provider.InputStreamEPollProvider
    ERROR 2018-09-05 08:26:26,796 (com.serotonin.m2m2.Lifecycle.terminate:368) - com.serotonin.provider.ProcessEPollProvider
    ERROR 2018-09-05 08:26:26,818 (com.serotonin.m2m2.Main.main:111) - Error during initialization
    java.lang.NullPointerException
            at com.serotonin.m2m2.Lifecycle.configureStartupDwr(Lifecycle.java:792)
            at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:741)
            at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:177)
            at com.serotonin.m2m2.Main.main(Main.java:106)
    
    

    Then in the dmesg output it looks like it's cycling the process. I might try a reboot, I'll also double check permissions haven't changed after the extraction of the new version?

    [318213.951971] init: mango main process ended, respawning
    [318220.950731] init: mango main process ended, respawning
    [318227.939019] init: mango main process ended, respawning
    [318235.510695] init: mango main process ended, respawning
    [318242.501926] init: mango main process ended, respawning
    
    

    posted in Mango Automation read more
  • dan

    Thanks for that I'll see how the upgrade goes..

    Cheers
    Dan

    posted in Mango Automation read more