Page 1 of 1

CumulusMX stopped without explanation

Posted: Fri 06 Sep 2024 6:43 am
by CarlosLSev
Hello, tonight CumulusMX has stopped and stopped updating my website, I could not access its web interface either. I attach the log, after stopping the service and starting it everything works fine. I think it may be a web server problem, or something related to a script that needs mysql
https://meteoviso.es/wxwindrose.php
I also see more errors, can you help me know what happened?

CumulusMX (3.28.6-b3283)

Re: CumulusMX stopped without explanation

Posted: Fri 06 Sep 2024 7:38 am
by HansR
It seems to me a general network error from which all network operations suffer (uploading, MySQL etc...).

The logfile is a rotated logfile so it is unclear to me how long you have been running CMX before getting these errors. If that is a long time it could be a natural instability (because of mono).

I note that you run an RPi under mono (if your profile is correct) but the rest is unclear. Network errors may occur and they are not necessarily related to CMX. If anything happens again, please also post the first log (the startup log) so we have all info concerning the configuration) and the time it has been running.

As it is, you restarted and everything appears to be running fine, I would not worry too much.
Things like this can happen, that's life: always keep an eye on a running machine and restart when required.

Updating the OS and upgrading CMX to v4 will definitely help avoiding these instabilities.

Btw: I also see

Code: Select all

2024-09-06 00:00:00.709 PrintSensorInfoNew: Error - Object reference not set to an instance of an object.
What is the PrintSensorInfo function??? Anybody?

Re: CumulusMX stopped without explanation

Posted: Fri 06 Sep 2024 7:50 am
by CarlosLSev
I have attached the complete log in case it is more useful and helps, it stopped uploading around 02:04:00 AM and restarted it at around 3:30 or so



It is true that the script that goes with mysql has stopped working :(
https://meteoviso.es/wxwindrose.php

Re: CumulusMX stopped without explanation

Posted: Fri 06 Sep 2024 8:04 am
by HansR
Ok, thanks.

So you started CMX on the 25th of august and after continuously running it started failing on the 6th of september at 01h28.
That is 12 days of running without error. The network error can have many causes (deep in the system).

Running under mono I would not worry too much: restart and check regularly (daily?). Switch on a CMX email-alarm for errors so you get a warning as soon as an error occurs. See also my update/upgrade advise.

Re: CumulusMX stopped without explanation

Posted: Fri 06 Sep 2024 8:10 am
by CarlosLSev
Thanks, can I upgrade from current v3 to v4.1.3 (build 4028).?
This weekend I'll get to it, thank you so much
I'm going to investigate why the mysql script doesn't work

Re: CumulusMX stopped without explanation

Posted: Fri 06 Sep 2024 9:12 am
by HansR
CarlosLSev wrote: Fri 06 Sep 2024 8:10 am Thanks, can I upgrade from current v3 to v4.1.3 (build 4028).?
Yes you can but be ware this does not run under mono but under dotnet.
Please read this topic carefully before you start.

Re: CumulusMX stopped without explanation

Posted: Fri 06 Sep 2024 12:35 pm
by CarlosLSev
Perfect and I had seen something, I have the option of doing the last part of the migration (MigrateData3to4.exe) on both Windows and Linux, I understand that it is indifferent
Thanks you