Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Cumulus MX crash

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
perl
Posts: 52
Joined: Wed 24 Jun 2015 7:02 pm
Weather Station: Davis Vantage Pro2
Operating System: Buster Lite rPi
Location: Taasinge, Denmark
Contact:

Cumulus MX crash

Post by perl »

To day I saw that the station was not updated in several hours.
I tried to restart cumulus MX - but with no luck.:

pi@raspberrypi:~/CumulusMX $ sudo mono CumulusMX.exe
Current culture: English (United Kingdom)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3038
Today.ini = data/today.ini
Last update=2016-05-19T23:15:00
Unable to connect to station
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
19/05/2016 23:16:44
Type Ctrl-C to terminate
System.IO.IOException: Bad file descriptor
at System.IO.Ports.SerialPortStream.ThrowIOException () [0x00000] in <filename unknown>:0
at System.IO.Ports.SerialPortStream.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0
at System.IO.Ports.SerialPortStream.Finalize () [0x00000] in <filename unknown>:0
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate

A restart of the PI and then a start of the CumulusMX and all was working again.

Enclosed the errorlog - here where the log register the error

2016-05-18 19:35:00.862 Writing log entry for 18/05/2016 19:35:00
2016-05-18 19:35:00.864 Written log entry for 18/05/2016 19:35:00
2016-05-18 19:35:00.869 Writing today.ini, LastUpdateTime = 18/05/2016 19:35:00 raindaystart = 68.8 rain counter = 68.8
2016-05-18 19:36:38.566 !!! No ack received in response to LPS 2 1
2016-05-18 19:37:19.516 System.IO.IOException: Input/output error
at System.IO.Ports.SerialPortStream.ThrowIOException () [0x00000] in <filename unknown>:0
at System.IO.Ports.SerialPortStream.get_BytesToRead () [0x00000] in <filename unknown>:0
at System.IO.Ports.SerialPort.get_BytesToRead () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPort:get_BytesToRead ()
at . (Int32 ) [0x00000] in <filename unknown>:0
2016-05-18 19:37:19.518 System.IO.IOException: Input/output error
at System.IO.Ports.SerialPortStream.ThrowIOException () [0x00000] in <filename unknown>:0
at System.IO.Ports.SerialPortStream.DiscardInBuffer () [0x00000] in <filename unknown>:0
at System.IO.Ports.SerialPort.DiscardInBuffer () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPort:DiscardInBuffer ()
at . (System.IO.Ports.SerialPort ) [0x00000] in <filename unknown>:0
2016-05-18 19:37:19.521 System.IO.IOException: Input/output error
at System.IO.Ports.SerialPortStream.ThrowIOException () [0x00000] in <filename unknown>:0
at System.IO.Ports.SerialPortStream.DiscardInBuffer () [0x00000] in <filename unknown>:0
at System.IO.Ports.SerialPort.DiscardInBuffer () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPort:DiscardInBuffer ()
at . (System.IO.Ports.SerialPort , System.String ) [0x00000] in <filename unknown>:0
at . () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
2016-05-18 19:39:00.871 *** Data input appears to have stopped
2016-05-18 19:40:00.874 *** Data input appears to have stopped
2016-05-18 19:40:00.877 Writing log entry for 18/05/2016 19:40:00
2016-05-18 19:40:00.878 Written log entry for 18/05/2016 19:40:00
2016-05-18 19:40:00.883 Writing today.ini, LastUpdateTime = 18/05/2016 19:40:00 raindaystart = 68.8 rain counter = 68.8
2016-05-18 19:41:00.876 *** Data input appears to have stopped
2016-05-18 19:42:00.878 *** Data input appears to have stopped
2016-05-18 19:43:00.881 *** Data input appears to have stopped
2016-05-18 19:44:00.884 *** Data input appears to have stopped
2016-05-18 19:45:00.886 *** Data input appears to have stopped
2016-05-18 19:45:00.889 Writing log entry for 18/05/2016 19:45:00
2016-05-18 19:45:00.890 Written log entry for 18/05/2016 19:45:00
2016-05-18 19:45:00.895 Writing today.ini, LastUpdateTime = 18/05/2016 19:45:00 raindaystart = 68.8 rain counter = 68.8

I will restore my backup - but it would be nice if I could recieve a mail when such things happens
You do not have the required permissions to view the files attached to this post.
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Cumulus MX crash

Post by ConligWX »

perl wrote:I will restore my backup - but it would be nice if I could recieve a mail when such things happens
just a thought, if you upload the Wunderground, you can sent the account to email you when WU has not received any data in 2 hours.

not sure if you have two issues, but looks like Cumulusmx was unable to upload data to your website either for quiet sometime
perl
Posts: 52
Joined: Wed 24 Jun 2015 7:02 pm
Weather Station: Davis Vantage Pro2
Operating System: Buster Lite rPi
Location: Taasinge, Denmark
Contact:

Re: Cumulus MX crash

Post by perl »

Hi Simon

Thanks for Your proposals.
Toxic17 wrote:
perl wrote:I will restore my backup - but it would be nice if I could recieve a mail when such things happens
just a thought, if you upload the Wunderground, you can sent the account to email you when WU has not received any data in 2 hours.

not sure if you have two issues, but looks like Cumulusmx was unable to upload data to your website either for quiet sometime
CumulusMX continued sending data to my webserver after the crash, but as You see - it is the same data every 5 minutes it sends.

18/05/16 22:35 15.0 68 9.1 1.3 2.7 140 0.0 0.0 1008.53 68.8 24.1 50 1.3 15.0 15.0 0.0 0 0.00 0.00 13.9 0 0.0 152 0.0 0.0
18/05/16 22:40 15.0 68 9.1 1.3 2.7 140 0.0 0.0 1008.53 68.8 24.1 50 1.3 15.0 15.0 0.0 0 0.00 0.00 13.9 0 0.0 152 0.0 0.0
18/05/16 22:45 15.0 68 9.1 1.3 2.7 140 0.0 0.0 1008.53 68.8 24.1 50 1.3 15.0 15.0 0.0 0 0.00 0.00 13.9 0 0.0 152 0.0 0.0
18/05/16 22:50 15.0 68 9.1 1.3 2.7 140 0.0 0.0 1008.53 68.8 24.1 50 1.3 15.0 15.0 0.0 0 0.00 0.00 13.9 0 0.0 152 0.0 0.0
18/05/16 22:55 15.0 68 9.1 1.3 2.7 140 0.0 0.0 1008.53 68.8 24.1 50 1.3 15.0 15.0 0.0 0 0.00 0.00 13.9 0 0.0 152 0.0 0.0
18/05/16 23:00 15.0 68 9.1 1.3 2.7 140 0.0 0.0 1008.53 68.8 24.1 50 1.3 15.0 15.0 0.0 0 0.00 0.00 13.9 0 0.0 152 0.0 0.0
18/05/16 23:05 15.0 68 9.1 1.3 2.7 140 0.0 0.0 1008.53 68.8 24.1 50 1.3 15.0 15.0 0.0 0 0.00 0.00 13.9 0 0.0 152 0.0 0.0
18/05/16 23:10 15.0 68 9.1 1.3 2.7 140 0.0 0.0 1008.53 68.8 24.1 50 1.3 15.0 15.0 0.0 0 0.00 0.00 13.9 0 0.0 152 0.0 0.0
18/05/16 23:15 15.0 68 9.1 1.3 2.7 140 0.0 0.0 1008.53 68.8 24.1 50 1.3 15.0 15.0 0.0 0 0.00 0.00 13.9 0 0.0 152 0.0 0.0
18/05/16 23:20 15.0 68 9.1 1.3 2.7 140 0.0 0.0 1008.53 68.8 24.1 50 1.3 15.0 15.0 0.0 0 0.00 0.00 13.9 0 0.0 152 0.0 0.0

So I don't think wundergrund wil be of any help.
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus MX crash

Post by steve »

Yes, it's just the data reading thread which crashes, the other threads continue quite happily in ignorance. I'll look at trying to handle this error when it occurs. Mail notifications are some way off, I'm afraid.
Steve
Locked