• dan

    Hey Phil, thanks for that.
    I'll give it a go on a clean installation.

    Cheers
    Dan

    posted in User help read more
  • dan

    Hey Guys, I have a MangoES box here that I've been struggling to upgrade successfully to 2.8.8.
    It performed the upgrade after I followed the manual upgrade instructions. It upgraded the modules etc successfully, but when it went to start up I get the following error...

    INFO  2018-12-08 19:58:29,138 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:36) - Starting instance with core version 2.8.8, db 13
    
    
    INFO  2018-12-08 19:58:32,107 (com.serotonin.m2m2.rt.RuntimeManager.initialize:141) - Starting 1 Publishers...
    INFO  2018-12-08 19:58:32,108 (com.serotonin.m2m2.rt.RuntimeManager.initialize:143) - Starting publisher: Alerts
    INFO  2018-12-08 19:58:32,108 (com.serotonin.m2m2.rt.RuntimeManager.initialize:153) - 1 Publisher's started in 25ms
    ERROR 2018-12-08 19:58:33,397 (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-12-08 19:58:33,407 (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)
    INFO  2018-12-08 19:58:33,408 (com.serotonin.m2m2.Lifecycle.terminate:353) - Mango Lifecycle terminating...
    INFO  2018-12-08 19:58:33,438 (com.serotonin.m2m2.rt.maint.BackgroundProcessing.joinTermination:373) - All medium priority tasks exited gracefully.
    INFO  2018-12-08 19:58:33,439 (com.serotonin.m2m2.rt.maint.BackgroundProcessing.joinTermination:378) - All low priority tasks exited gracefully.
    INFO  2018-12-08 19:58:33,890 (com.serotonin.m2m2.Lifecycle.terminate:453) - Mango Lifecycle terminated.
    
    

    Then the mango daemon just keeps restarting looping. I've had similar problems before and had to delete all the stuff in overrides/lib, I tried that in this instance and it still stops at starting publishers...

    Is there anything that jumps out at you in this log that I'm missing?

    Cheers
    Dan

    posted in User help read more
  • dan

    Old thread I know, but I've been having this same issue on a RPi installation.
    I hard set the memory and I think it might have fixed the issue.

    Cheers
    Dan

    posted in User help read more
  • 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