Mongo stop recording
-
Hi ,
During the night mango sop recording the points.
this is what I get from the log.INFO 2017-06-20 00:05:00,111 (com.serotonin.m2m2.rt.maint.work.DatabaseBackupWorkItem.execute:110) - Starting database backup WorkItem.
INFO 2017-06-20 00:05:00,112 (com.serotonin.m2m2.rt.maint.work.BackupWorkItem.execute:105) - Starting backup WorkItem.
INFO 2017-06-20 00:05:00,123 (com.serotonin.m2m2.rt.maint.work.DatabaseBackupWorkItem.createLogOutputStream:217) - Writing upgrade log to /opt/mango/logs/com.serotonin.m2m2.rt.maint.work.DatabaseBackupWorkItem.log
INFO 2017-06-20 03:05:00,004 (com.serotonin.m2m2.rt.maint.DataPurge.executeImpl:64) - Data purge started
INFO 2017-06-20 03:05:01,388 (com.serotonin.m2m2.rt.maint.DataPurge.executeImpl:77) - Data purge ended, 38100 point samples deleted
INFO 2017-06-20 03:05:01,496 (com.serotonin.m2m2.rt.maint.DataPurge.eventPurge:236) - Event purge ended, 10 events deleted
INFO 2017-06-20 03:05:01,523 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.:139) - Database started
INFO 2017-06-20 03:05:01,553 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.:168) - Empty dir delete took 0ms
INFO 2017-06-20 03:05:01,556 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.:225) - Corruption scan skipped because the database is configured not to run scan.
INFO 2017-06-20 03:05:01,558 (com.infiniteautomation.nosql.MangoNoSqlProxy.createNoSQLDao:228) - Starting New NoSQL Database for reports
ERROR 2017-06-20 03:22:30,576 (com.serotonin.m2m2.rt.maint.BackgroundProcessing$1.run:76) - Error in work item java.lang.NullPointerException at java.util.HashMap.hash(HashMap.java:338) at java.util.LinkedHashMap.get(LinkedHashMap.java:440) at com.serotonin.bacnet4j.util.PropertyReferences.size(PropertyReferences.java:103) at com.serotonin.bacnet4j.util.PropertyReferences.getPropertiesPartitioned(PropertyReferences.java:88) at com.serotonin.bacnet4j.util.RequestUtils.readProperties(RequestUtils.java:286) at com.serotonin.ma.bacnet.BACnetDataSourceRT.pollDevice(BACnetDataSourceRT.java:346) at com.serotonin.ma.bacnet.BACnetDataSourceRT$DevicePoller.execute(BACnetDataSourceRT.java:314) at com.serotonin.m2m2.rt.maint.BackgroundProcessing$1.run(BackgroundProcessing.java:73) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)Any action idea ?
Thanks
Mircea -
What version of Mango is this? If you think it's a BACnet problem, I would encourage you to use the latest Mango and see if the BACnet v4 code will relieve the issue.
-
Hi Phil,
Mango core
You said if I think if is Bacnet ..I don't know what cause this.
I was restart the server and then Mango start to record again.
I will like to switch to last version ( assume is Mango 3 ) .
This means upgrade only the core ?
The project is already live. How can I upgrade to Mango 3 and keeping all what is done.
If I have your support I will gladly do.
Thanks
Phil -
Here are some upgrade notes to follow: https://help.infiniteautomation.com/blog/mango-30-upgrade-notes
There are significant improvements in BACnet in the latest version of Mango 3. You need to upgrade your core and all your modules. I would recommend to do an offline test of the upgrade and test all your custom dashboards since you might need to make some changes to be compatible. You'll also need to contact us at support@infiniteautomation.com for a new license for Mango 3.