• H
    hayden_AUS

    OK thanks Phil, will do some experimenting.

    posted in Mango Automation general Discussion read more
  • H
    hayden_AUS

    Hi Phil,

    Is there a workaround for the Windows service issue?

    At the moment I can remote in after doing an upgrade, and manually start the service within
    Windows.

    posted in Mango Automation general Discussion read more
  • H
    hayden_AUS

    Hi,

    I have recently setup my demo site on a W7 PC, that is running NoSQL DB, V3.5.6

    I setup the Windows service using YAJSW as described in the docs.

    When I restart Windows, Mango starts up automatically as a service.
    When I restart from within Mango, it will not restart.

    Further to this, it appears that Mango is starting a browser on the host machine on
    startup, but it is not visible in Windows. I can see Firefox in windows Tasklist, but not even
    in Taskmanager.

    Would this be causing the instance not to restart?
    Is there a way to stop Mango from starting a browser?

    INFO  2019-04-18T08:33:09,743 (com.serotonin.m2m2.Lifecycle.terminate:422) - Mango Lifecycle terminating... 
    INFO  2019-04-18T08:33:09,759 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.terminate:72) - Terminating 1 LAST priority data sources in 8 threads. 
    INFO  2019-04-18T08:33:09,759 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:423) - Data source 'Meta' stopped 
    INFO  2019-04-18T08:33:09,868 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.terminate:102) - Termination of 1 LAST priority data sources took 109ms 
    INFO  2019-04-18T08:33:09,868 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.terminate:72) - Terminating 7 NORMAL priority data sources in 8 threads. 
    INFO  2019-04-18T08:33:09,868 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:423) - Data source 'BOM Live Data' stopped 
    INFO  2019-04-18T08:33:09,868 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:423) - Data source 'Redlands GR1' stopped 
    INFO  2019-04-18T08:33:09,868 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:423) - Data source 'Mango Internal' stopped 
    INFO  2019-04-18T08:33:09,868 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:423) - Data source 'Palmwoods LAB' stopped 
    INFO  2019-04-18T08:33:09,868 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:423) - Data source '6052 - Greenhouse 2' stopped 
    INFO  2019-04-18T08:33:09,868 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:423) - Data source 'Redlands GR2' stopped 
    INFO  2019-04-18T08:33:09,868 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:423) - Data source '6052 - Potting' stopped 
    INFO  2019-04-18T08:33:09,977 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.terminate:102) - Termination of 7 NORMAL priority data sources took 109ms 
    INFO  2019-04-18T08:33:09,977 (com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl.joinTermination:550) - All high priority tasks exited gracefully. 
    INFO  2019-04-18T08:33:09,977 (com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl.joinTermination:556) - All medium priority tasks exited gracefully. 
    INFO  2019-04-18T08:33:09,977 (com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl.joinTermination:561) - All low priority tasks exited gracefully. 
    INFO  2019-04-18T08:33:09,977 (com.infiniteautomation.mango.spring.components.executors.MangoExecutors.destroy:68) - Shutting down shared executor and scheduled exectutor 
    INFO  2019-04-18T08:33:09,977 (com.infiniteautomation.mango.spring.components.executors.MangoExecutors.awaitTermination:126) - Executors shutdown successfully 
    INFO  2019-04-18T08:33:10,102 (com.infiniteautomation.nosql.MangoNoSqlProxy.shutdown:115) - Terminating NoSQL Batch Write Manager. 
    INFO  2019-04-18T08:33:10,102 (com.infiniteautomation.nosql.MangoNoSqlBatchWriteBehindManager.terminate:240) - Terminating NoSQL Point Value Mover. 
    INFO  2019-04-18T08:33:10,102 (com.infiniteautomation.nosql.MangoNoSqlBatchWriteBehindManager.terminate:264) - Terminating NoSQL Stale Point Cleaner. 
    INFO  2019-04-18T08:33:10,102 (com.infiniteautomation.nosql.MangoNoSqlBatchWriteBehindManager.terminate:267) - Terminating NoSQL Status Provider. 
    INFO  2019-04-18T08:33:10,102 (com.infiniteautomation.nosql.MangoNoSqlProxy.shutdown:123) - Closing NoSQL Database: Point Values 
    INFO  2019-04-18T08:33:10,117 (com.infiniteautomation.nosql.MangoNoSqlProxy.shutdown:131) - Closing NoSQL Database: Point Data 
    INFO  2019-04-18T08:33:10,117 (com.infiniteautomation.nosql.MangoNoSqlProxy.shutdown:145) - Closing Auxilary NoSQL Database: com.infiniteautomation.tsdb.impl.IasTsdbImpl 
    INFO  2019-04-18T08:33:10,117 (com.serotonin.m2m2.Lifecycle.terminate:571) - Mango Lifecycle terminated. 
    
    ## No log entries after this....
    

    posted in Mango Automation general Discussion read more
  • H
    hayden_AUS

    Hi Phil,

    Would you please be able to provide a link to the free version, without the NoSQL DB?

    posted in Mango Automation Installation read more
  • H
    hayden_AUS

    Hi Phil,

    I will send an email, but it is not an ES license, just a free version.

    The ODROID was not an ES.

    It is almost like the link to the free version was wrong somehow. (free-m2m2-core-3.5.6.zip)

    Hayden

    posted in Mango Automation Installation read more
  • H
    hayden_AUS

    Hi,

    I have a demo site, that was running the free version on an ODROID XU4, but we had an "out of memory error" and subsequent shutdown of mango a couple of times.

    We have decided to upgrade the hardware to a Windows 7 box, i5, 8Mb.
    I downloaded the latest free version from the website (link)(https://store.infiniteautomation.com/account/downloads/fullCores/free-m2m2-core-3.5.6.zip;jsessionid=DB6F85B8DD31CEBE2E413F9FD963DB52), and installed, setup java, widows service etc, and them imported the json config file as retrieved from the old ODROID.

    The issue I have now is that it shuts down periodically, due to a "timed license"

    FATAL 2019-04-16T16:54:30,642 (com.serotonin.m2m2.TimedLicenseRegistrar$ExpiryCheck.run:193) - Mango NoSQL database is running in free mode, Mango will shutdown at 4:54:30 16/04/2019. 
    FATAL 2019-04-16T16:54:30,642 (com.serotonin.m2m2.TimedLicenseRegistrar$ExpiryCheck.run:200) - Mango will shutdown in 15 seconds. 
    INFO  2019-04-16T16:54:45,649 (com.serotonin.m2m2.Lifecycle.terminate:422) - Mango Lifecycle terminating... 
    

    I have not had this before.

    Please help, as I am trying to get these guys to invest in the commercial license.

    Hayden, AU

    posted in Mango Automation Installation read more
  • H
    hayden_AUS

    Hi,

    I have an irrigation system running, among other things) and require sequential switching for 6 Modbus outputs.

    The system runs 4 times a day, S1 ON for 5 mins, then OFF, S2 ON for 5 mins then OFF, and so on.

    I have setup scheduled events just to get going, but there must be a better way.
    It would be good to be able to enable/disable each solenoid, and the whole system. Also be able to adjust solenoid run times, and maybe even start times from the GUI.

    I also looked at a scripting data source, with virtual points to set the timings, but stopped, as I didn't know if this was the best way.

    I am not after anyone to do it for me, just point me in the best direction.

    It has probably been done before, and would be useful for many applications.

    Hayden

    posted in Mango Automation general Discussion read more
  • H
    hayden_AUS

    Hi,

    I have an instance that has a function to turn on THREE Modbus outputs, when ONE data point goes high, and then subsequently turning them all back off when the point goes back low.
    This all works fine using "Point Links", with no scripts.

    Recently I had an event appear :
    9/5/2018 06:33:30 Cannot execute point link because it is currently running 9/5/2018 06:37:30 - Returned to normal 4 minutes

    The status of the output changed to active in Mango, but didn't actually change the output to high.

    I checked the point link, and it's settings are the same as the other two. Each point is on a different data source, but I did not get any data source events.

    I cannot find any more info in the logs.

    Does anyone know why this would of occurred, or exactly where to look in the logs?

    posted in Mango Automation general Discussion read more