• 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

    Unsolved Upgrade from 3.4.5 to 3.7.1

    Mango Automation Installation
    4
    12
    2.1k
    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.
    • cwangvC
      cwangv @nathanRona
      last edited by

      @nathanrona
      do a search on upgrade or re-install or have a look at the documentation website. I saw an article not that long ago that helped me on a similar situation.

      Victor.

      1 Reply Last reply Reply Quote 1
      • Jared WiltshireJ
        Jared Wiltshire @nathanRona
        last edited by

        @nathanrona said in Upgrade from 3.4.5 to 3.7.1:

        First I tried to upgrade through "grand slam" i.e. I selected all 50 updates available and clicked install/update, that resulted in mango crashing on restart.

        This is correct way of doing it. Can you tell me what you mean by "mango crashing on restart"? Do you have any logs?

        @nathanrona said in Upgrade from 3.4.5 to 3.7.1:

        After restoring backup I tried to to update module by module, starting with core. I download the 3.7.1. core and mango state the it will be installed upon reset, however after reset is still says it is running core 3.4.5.

        I would not recommend trying this. I wouldn't think it would allow you to do this which is probably why it is still on 3.4.5. Again logs would be useful.

        Developer at Radix IoT

        1 Reply Last reply Reply Quote 0
        • N
          nathanRona
          last edited by nathanRona

          I don't have logs from last time as I restored disk from image.
          Tried again not to upgrade all 50 packages.
          After that when trying to login it first refuses login, then it gives "page not found"
          0_1575367881722_27a46e20-ae5a-4a78-b98b-31ac65307dd2-image.png

          These are the event logs
          0_1575367979133_a93f6f6b-e4dc-41ed-b5b3-d419e421d85d-image.png

          From modules page it seems to still be in 3.4.5 core, and all other modules seems gone.
          0_1575368061158_958bd212-d3ae-4d39-80be-895001c1b3b0-image.png

          Also if I make login logout I get the old login gui, and after login I get page not found again.

          1 Reply Last reply Reply Quote 0
          • N
            nathanRona
            last edited by

            Here's logs:
            Seems modules updated but core not, (why I tried to first update core)

            https://drive.google.com/file/d/1xozbmznXtWlcH67b6tpy2xFXRZuWHYKr/view?usp=sharing
            https://drive.google.com/file/d/1AOX9DhdptYygiIwKFbUMkd35y9nS0Zfh/view?usp=sharing
            https://drive.google.com/file/d/1n06PeZRRs0vNwuRfhOVIP01UtEvTCK4Q/view?usp=sharing

            1 Reply Last reply Reply Quote 0
            • N
              nathanRona
              last edited by

              I tried again to update the core, but it remains at 3.4.5
              This what logfile says when during update
              INFO 2019-12-03T13:55:13,192 (com.serotonin.m2m2.rt.maint.work.DatabaseBackupWorkItem.backupMysqlWithOutDatabase:442) - Backup created successfully formango in localhost:3306
              ERROR 2019-12-03T13:55:14,015 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:15,044 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:16,065 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:17,084 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:18,108 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:19,134 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:20,166 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:21,204 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:22,224 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:23,244 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:24,266 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:25,282 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:26,302 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:27,341 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:28,357 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:29,382 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:30,417 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:31,435 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:32,465 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:33,485 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:34,508 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:35,537 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:36,569 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:37,625 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:38,737 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:39,751 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:40,784 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:41,815 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:42,833 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:43,864 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:44,880 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:45,897 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:46,913 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:47,929 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:48,942 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:49,954 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:50,970 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:51,999 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:53,016 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:54,031 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:55,048 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:56,062 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:57,074 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:58,087 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:55:59,111 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:00,131 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:01,180 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:02,197 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:03,212 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:04,225 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:05,261 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:06,280 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:07,295 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:08,311 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:09,338 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:10,360 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:11,374 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:12,389 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:13,402 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:14,427 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:15,449 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:16,467 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:17,483 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:18,500 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:19,516 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:20,544 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:21,567 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:22,599 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:23,618 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:24,636 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:25,654 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              ERROR 2019-12-03T13:56:26,667 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              INFO 2019-12-03T13:56:27,376 (com.serotonin.m2m2.web.dwr.ModulesDwr$UpgradeDownloader.run:519) - UpgradeDownloader: INSTALL
              INFO 2019-12-03T13:56:27,384 (com.serotonin.m2m2.web.dwr.ModulesDwr$UpgradeDownloader.run:570) - UpgradeDownloader: RESTART
              ERROR 2019-12-03T13:56:27,683 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'
              INFO 2019-12-03T13:56:32,416 (com.serotonin.m2m2.Lifecycle.terminate:384) - Mango Lifecycle terminating...
              INFO 2019-12-03T13:56:32,785 (com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl.joinTermination:550) - All high priority tasks exited gracefully.
              INFO 2019-12-03T13:56:32,785 (com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl.joinTermination:556) - All medium priority tasks exited gracefully.
              INFO 2019-12-03T13:56:32,786 (com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl.joinTermination:561) - All low priority tasks exited gracefully.
              INFO 2019-12-03T13:56:32,786 (com.serotonin.m2m2.db.BasePooledProxy.terminateImpl:117) - Stopping database
              INFO 2019-12-03T13:56:32,790 (com.serotonin.m2m2.Lifecycle.terminate:493) - Mango Lifecycle terminated.

              1 Reply Last reply Reply Quote 0
              • terrypackerT
                terrypacker
                last edited by

                Looks like there may be some bugs on the legacy upgrade page. Try installing the 3.4.x UI module and then restarting then try the upgrade again from the new UI page.

                1 Reply Last reply Reply Quote 0
                • N
                  nathanRona
                  last edited by

                  @terrypacker I began with upgrading from 3.4.5 new UI, then all the modules seems to have been upgraded but core was not updated, that's how I got to the legacy UI to begin with.

                  1 Reply Last reply Reply Quote 0
                  • N
                    nathanRona
                    last edited by

                    Tried to just remove mango an resinstall from scratch but I'm not able to do that either.
                    I downloaded and unzipped the m2m2-core3.7.2.zip to directory /opt/mango.
                    Then I run /opt/mango/bin/ma.sh start
                    In the terminal window I get the bellow, when trying to open Mango in web browser it says " Initializing web server" and it is stuck at 5%.

                    In ma.log file the last error message is not recorder. I notice messageINFO 2019-12-04T14:05:54,170 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/dashboardDesigner/web/dox/manifest.xml but it is INFO, not ERROR.


                    root@smartgreen-fitlet2:/opt/mango/bin# ./ma.sh start
                    MA_HOME is /opt/mango
                    root@smartgreen-fitlet2:/opt/mango/bin# ma-start: MA started with Process ID: 26045
                    INFO 2019-12-04T14:05:51,309 (com.serotonin.m2m2.Main.main:121) - Starting Mango 3.7.2 with Schema Version: 29
                    INFO 2019-12-04T14:05:51,632 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module mbus
                    INFO 2019-12-04T14:05:51,711 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module pointLinks
                    INFO 2019-12-04T14:05:51,729 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module log4jDS
                    INFO 2019-12-04T14:05:51,745 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module twilio
                    INFO 2019-12-04T14:05:51,861 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module controlcore
                    INFO 2019-12-04T14:05:51,876 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module modbus
                    INFO 2019-12-04T14:05:51,912 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module maintenanceEvents
                    INFO 2019-12-04T14:05:51,932 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module cloudConnect
                    INFO 2019-12-04T14:05:51,972 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module asciiFile
                    INFO 2019-12-04T14:05:51,985 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module egauge
                    INFO 2019-12-04T14:05:51,999 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module mangoNoSqlDatabase
                    INFO 2019-12-04T14:05:52,028 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module mangoApi
                    INFO 2019-12-04T14:05:52,065 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module log4JReset
                    INFO 2019-12-04T14:05:52,077 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module meta
                    INFO 2019-12-04T14:05:52,097 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module dashboardDesigner
                    INFO 2019-12-04T14:05:52,118 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module scheduledEvents
                    INFO 2019-12-04T14:05:52,133 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module sqlConsole
                    INFO 2019-12-04T14:05:52,147 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module vmstat
                    INFO 2019-12-04T14:05:52,163 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module virtualDS
                    INFO 2019-12-04T14:05:52,178 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module snmp
                    INFO 2019-12-04T14:05:52,209 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module onewire
                    INFO 2019-12-04T14:05:52,232 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module sqlds
                    INFO 2019-12-04T14:05:52,247 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module Haystack
                    INFO 2019-12-04T14:05:52,267 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module slackPublisher
                    INFO 2019-12-04T14:05:52,359 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module templateConfig
                    INFO 2019-12-04T14:05:52,374 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module deviceConfig
                    INFO 2019-12-04T14:05:52,389 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module loggingConsole
                    INFO 2019-12-04T14:05:52,402 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module internal
                    INFO 2019-12-04T14:05:52,425 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module serial
                    INFO 2019-12-04T14:05:52,438 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module watchlists
                    INFO 2019-12-04T14:05:52,504 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module jsonFileImport
                    INFO 2019-12-04T14:05:52,514 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module mqttClientDataSource
                    INFO 2019-12-04T14:05:52,532 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module BACnet
                    INFO 2019-12-04T14:05:52,585 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module persistent
                    INFO 2019-12-04T14:05:52,606 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module sstGraphics
                    INFO 2019-12-04T14:05:52,670 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module http
                    INFO 2019-12-04T14:05:52,697 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module ssh
                    INFO 2019-12-04T14:05:52,714 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module advancedScheduler
                    INFO 2019-12-04T14:05:52,723 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module TCPIP
                    INFO 2019-12-04T14:05:52,734 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module excelReports
                    INFO 2019-12-04T14:05:52,761 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module dataImport
                    INFO 2019-12-04T14:05:52,771 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module pop3
                    INFO 2019-12-04T14:05:52,783 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module pakbus
                    INFO 2019-12-04T14:05:52,808 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module dataFile
                    INFO 2019-12-04T14:05:52,823 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module dnp3
                    INFO 2019-12-04T14:05:52,839 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module opcda
                    INFO 2019-12-04T14:05:52,870 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module sstGlobalScripts
                    INFO 2019-12-04T14:05:52,882 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module reports
                    INFO 2019-12-04T14:05:52,903 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module envcands
                    INFO 2019-12-04T14:05:52,914 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module graphicalViews
                    INFO 2019-12-04T14:05:52,948 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module scripting
                    INFO 2019-12-04T14:05:52,961 (com.serotonin.m2m2.Main.openZipFiles:234) - Installing module mangoUI
                    INFO 2019-12-04T14:05:53,889 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'graphicalViews', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,910 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'onewire', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,916 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'cloudConnect', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,919 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/cloudConnect/web/dox/manifest.xml
                    INFO 2019-12-04T14:05:53,920 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sqlConsole', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,925 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pakbus', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,931 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sqlds', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,937 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'asciiFile', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,942 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sstGraphics', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,949 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'watchlists', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,956 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sstGlobalScripts', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,961 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'vmstat', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,966 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'ssh', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,971 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mangoNoSqlDatabase', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,976 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'log4JReset', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,977 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mqttClientDataSource', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,982 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'advancedScheduler', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,983 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'snmp', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,988 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'log4jDS', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,993 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'Haystack', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:53,997 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dataImport', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,001 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'serial', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,006 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'deviceConfig', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,009 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/deviceConfig/web/dox/manifest.xml
                    INFO 2019-12-04T14:05:54,010 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'slackPublisher', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,015 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'controlcore', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,020 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pop3', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,024 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'maintenanceEvents', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,028 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'opcda', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,030 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mbus', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,035 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'jsonFileImport', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,039 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'TCPIP', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,043 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'excelReports', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,049 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'persistent', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,054 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'http', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,060 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'meta', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,064 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'egauge', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,068 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mangoApi', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,073 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'modbus', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,077 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'loggingConsole', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,081 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dnp3', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,085 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'scripting', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,090 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'envcands', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,094 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'scheduledEvents', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,098 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pointLinks', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,102 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'templateConfig', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,106 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mangoUI', v3.7.1 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,108 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/mangoUI/web/dox/manifest.xml
                    INFO 2019-12-04T14:05:54,115 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dataFile', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,121 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'twilio', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,126 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'BACnet', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,130 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'reports', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,135 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'virtualDS', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,167 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dashboardDesigner', v3.7.0 by Infinite Automation Systems Inc.
                    INFO 2019-12-04T14:05:54,170 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/dashboardDesigner/web/dox/manifest.xml
                    INFO 2019-12-04T14:05:54,173 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'internal', v3.7.0 by Infinite Automation Systems Inc.
                    MoTTY X11 proxy: Unsupported authorisation protocol
                    Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
                    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
                    at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
                    at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
                    at java.lang.Class.forName0(Native Method)
                    at java.lang.Class.forName(Class.java:264)
                    at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
                    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
                    at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)
                    at java.lang.Class.forName0(Native Method)
                    at java.lang.Class.forName(Class.java:264)
                    at java.awt.Toolkit$2.run(Toolkit.java:860)
                    at java.awt.Toolkit$2.run(Toolkit.java:855)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
                    at java.awt.Desktop.isDesktopSupported(Desktop.java:169)
                    at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:1061)
                    at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:221)
                    at com.serotonin.m2m2.Main.main(Main.java:159)

                    1 Reply Last reply Reply Quote 0
                    • N
                      nathanRona
                      last edited by

                      I was able to get the Mango 3.72 installer from scratch to run by running ma.sh locally on computer that it installed instead of remotely through SSH which I tried in past.

                      However that don't give me a solution for doing upgrade on cloud-hosted server where I can't run locally but have to do the upgrade through ssh.

                      /Nathan

                      1 Reply Last reply Reply Quote 0
                      • N
                        nathanRona
                        last edited by

                        Also I noticed that the core will upgrade only when I start it through ma.sh start script. However if I start it is normally done through supervisorctl with the bellow configuration file, it will not update core, even if core update zipfile is located in mango directory.

                        As given above the I'm able to run ma.sh start only locally on computer, not through ssh.

                        mango3_autostart.conf

                        [program:mango]
                        command=java -server -Xmx2048M -cp /opt/mango/overrides/classes:/opt/mango/classes:/opt/mango/overrides/properties:/opt/mango/overrides/lib/:/opt/mango/lib/ -Dma.home=/opt/mango -Djava.library.path=/opt/mango/overrides/lib:/opt/mango/lib:/usr/lib/jni/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin com.serotonin.m2m2.Main
                        numprocs=1
                        directory=/opt/mango
                        autostart=true
                        autorestart=true
                        user=root

                        1 Reply Last reply Reply Quote 0
                        • Jared WiltshireJ
                          Jared Wiltshire
                          last edited by Jared Wiltshire

                          Hi @nathanRona sorry you are having such a torrid time getting Mango to upgrade. It seems that the issue is that you have started Mango directly using supervisorctl to launch the java process. Unfortunately this means that Mango cannot upgrade itself. It is the script that launches Mango (ma.sh -> ma-start.sh -> java) that does the unzipping of the new core upgrade file.

                          I recently created a new script (start-mango.sh) for starting Mango as the old ones were a bit fragile. This script is our new preferred way of launching Mango, we left the old ones so upgraded systems did not break.

                          I updated the help documentation here - https://help.infiniteautomation.com/linux-installation

                          What Linux distribution are you using? Does it use systemd?

                          Developer at Radix IoT

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