• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. nathanRona
    3. Posts

    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
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 15
    • Best 2
    • Controversial 0
    • Groups 0

    Posts made by nathanRona

    • RE: Json timstamp pattern (MQTT data source)

      Changed is at described but still same result, i.e. if I set type to Jason with Timestamp I don't get any values and if I set to Jason I get the value.

      0_1577175581187_d175da4c-b16e-45b2-98b4-32e5ee204c5a-image.png

      0_1577175619487_46f71fa8-7578-4ef6-a6a0-d4dca9d41647-image.png

      Btw the array handling that I used is according to example give in help for MQTT ds
      0_1577175699363_012bbea5-a1d2-4f62-9247-d82148effbce-image.png

      In addition I would like if possible to get multiple samples in single MQTT message (with diffrent time-stamps). Is that possible? How should JSON be formatted?

      posted in User help
      N
      nathanRona
    • Json timstamp pattern (MQTT data source)

      Hi

      I'm trying to setup MQTT data source to recive time-stamped value. My Json example is as follows:

      {
      "post":[20191223131022, 10]
      }

      Where 20191223131022 is the timestamp and 10 is the value.

      I've setup my DS as follows:
      0_1577104728149_9cab462b-e434-4a67-9445-8c8474e2f962-image.png

      However I'm not getting the value, though I'm not getting any error message either.

      When I change subscription topic type from Jason with Timestamp to Jason (no other changes made) I receive the data (timestamped to time when recived) so the issue seems to be only that it does not get the timestamp pattern or timestamp in Json right.

      Thankful for assistance to get the timestamp issue right.

      posted in User help
      N
      nathanRona
    • Reciving time-series history data through MQTT

      Hi

      I want to transfer a times-series of data points through MQTT to mangon, The series consist of an array of timestamp-value pairs. (example [20191219T082550Z, 22], [20191219T083050Z, 25],...)

      1. Can Mango recive and process and array/list of timestamp-data values (as oppposed to single value with single timestamp) through MQTT data-source?
      2. How should Json be formatted?
      3. How should Mango point be setup?

      Many Thanks
      Nathan

      posted in User help
      N
      nathanRona
    • RE: Upgrade from 3.4.5 to 3.7.1

      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

      posted in Mango Automation Installation
      N
      nathanRona
    • RE: Upgrade from 3.4.5 to 3.7.1

      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

      posted in Mango Automation Installation
      N
      nathanRona
    • RE: Upgrade from 3.4.5 to 3.7.1

      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)

      posted in Mango Automation Installation
      N
      nathanRona
    • RE: Upgrade from 3.4.5 to 3.7.1

      @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.

      posted in Mango Automation Installation
      N
      nathanRona
    • RE: Upgrade from 3.4.5 to 3.7.1

      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.

      posted in Mango Automation Installation
      N
      nathanRona
    • RE: Upgrade from 3.4.5 to 3.7.1

      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

      posted in Mango Automation Installation
      N
      nathanRona
    • RE: Upgrade from 3.4.5 to 3.7.1

      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.

      posted in Mango Automation Installation
      N
      nathanRona
    • RE: Creating point sautomatically from MQTT topics

      Thanks
      Might add point through API from external prog as well (example phyton)

      posted in User help
      N
      nathanRona
    • Creating point sautomatically from MQTT topics

      Hi

      I would like to setup Mango MQTT source so that points are automatically created for every topic in the topic filter.

      Example for the bellow I would like that two points, sinWave and zoneTemp, would automatically be created in Mango after declaring the data source (without having to add them manually)

      In noticed that if there is at topic that match the filter but there is currently not point for it Mango report a warning to console, meaning that Mango is aware of the topics availible.

      The name of the point should be same as name of the topic and type should be numeric.

      Thanks
      Nathan

      How can I set this up? With scripts?

      0_1575301966087_7719bcdb-6d7b-4314-8419-bab555b7d4a3-image.png

      0_1575302024960_5f85b57d-dda6-4291-87f9-46877f6b0ad8-image.png

      posted in User help mqtt scripting
      N
      nathanRona
    • RE: Setting up/debugging mqtt data source

      Found how to set it up, The issue was Tag filter that should be "reception/#" i.w. the # was missing,

      posted in User help
      N
      nathanRona
    • Setting up/debugging mqtt data source

      Hi

      I'v published some data point (from Niagara) through mqtt to broker test.mosquittio.org.
      I can see the published that through MQTT explorer mqtt client as in bellow screen-shot.

      0_1575290188149_8abff02e-ef3c-4a8e-81db-7c9d198d05e6-image.png

      Now I am trying to setup a mqtt client data source in Mango to read the points sineWave and zoneTemp.
      First of I as set up a data source as bellow
      0_1575290279651_5e7d1d77-c094-48eb-8c9a-0238ddb4d0af-image.png

      The broker connection is without encryption and without user authorization so I left those fields blank,

      After that I added data point sinWave as bellow
      0_1575290405948_085e9c75-d4f1-4b33-ac6c-918165519c1d-image.png
      0_1575293217540_fad6018b-f2e3-42fe-9c6c-a6ae7e042594-image.png

      However I don't get any data.
      In the console it says that data-source is opened and closed.
      0_1575290506837_37a1dcba-5152-40e3-bc37-47a1b43b2c5e-image.png

      Could someone pleas help in getting it working and how to debug it. Unlike for SQL data source I don't find any tools in Mango that let you test the connection, or see what goes wrong.

      Many Thanks
      Nathan

      posted in User help mqtt
      N
      nathanRona
    • Upgrade from 3.4.5 to 3.7.1

      Hi

      I'm trying to upgrade a mango installation from 3.4.5 to 3.71.
      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.

      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.

      How do I process to update to 3.7.1.?

      Regards
      Nathan

      posted in Mango Automation Installation
      N
      nathanRona