• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Mango Using 100% CPU

    Mango General
    2
    20
    5.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • danD
      dan
      last edited by

      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
      
      
      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        Hmm. From your log it appears you maybe only downloaded the core, and not the bundle (which also has the modules). I would suggest downloading the 2.8.8 bundle from https://store.infiniteautomation.com/core and placing it in your Mango/ directory with the name m2m2-core-2.8.8.zip then trying to start Mango. It should reinstall 2.8.8 and have the 2.8.x versions of the modules in the Mango/web/modules directory (which you could also just copy out of the zip bundle).

        1 Reply Last reply Reply Quote 0
        • danD
          dan
          last edited by

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

          Cheers

          1 Reply Last reply Reply Quote 0
          • danD
            dan
            last edited by

            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?

            1 Reply Last reply Reply Quote 0
            • phildunlapP
              phildunlap
              last edited by

              Yeah, that's the right place. My mistake in using the world bundle, I thought it appeared there but it doesn't not. The full core downloads in the top section of the page (two for the latest 3.x enterprise and free, two for 2.8.8) contain modules. Where the cores in the section labelled 'Core Only - No Modules' do not.contain modules.

              1 Reply Last reply Reply Quote 0
              • danD
                dan
                last edited by

                Thanks for that, I'll try that one.

                Cheers

                1 Reply Last reply Reply Quote 0
                • danD
                  dan
                  last edited by

                  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)
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • phildunlapP
                    phildunlap
                    last edited by

                    Oof. I have seen that error before, but haven't found its exact cause. Something is usually off kilter with either the installation of the core or the Java installation. If you try running up 2.8.8 in a new directory (new installation) do you still see that? What version of Java is installed? I would guess it's an older on! You can download the latest ARM 32bit JVM and unpack it over the existing JVM (which you may need to ls -l /etc/alternatives/java to locate, but it's probably at /usr/lib/jvm/) or you can unpack it someplace else and set JAVA_HOME in your /etc/environment

                    1 Reply Last reply Reply Quote 0
                    • danD
                      dan
                      last edited by

                      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

                      1 Reply Last reply Reply Quote 0
                      • phildunlapP
                        phildunlap
                        last edited by

                        Weird!

                        I would try copying your databases folder into the new installation. If that works, I would stop Mango, move the old installation directory, move the new one where the old one was, and start Mango again, which will get the license working.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post