Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.8.0 (build 3090) - 12 August 2020 (please see important announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

Use this link to Download the Software (Cumulus MX / Cumulus 1 and other related items). Software

MX Down this morning.

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
Phil23
Posts: 511
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

MX Down this morning.

Post by Phil23 »

Seems to have been down since the midnight reboot.
Capture.JPG
Only just starting to look at diags now.
You do not have the required permissions to view the files attached to this post.

Phil23
Posts: 511
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: MX Down this morning.

Post by Phil23 »

Looking at the backup directories that are created with each attempted start, they all appear to be Ok & have the same 10 files as all other backup.

Coincidentally it is the 1st of August.
Unchanged things have been fine up till now.

No file system errors. Rebooting the PC made no change.

Creating the backup folder is always the first error.

Cheers

Phil.

Code: Select all

2020-08-01 00:01:02.301 Cumulus start date: 29/09/2016
2020-08-01 00:01:02.316 Data path = data\
2020-08-01 00:01:02.379 Creating backup folder backup\20200801000102\
!!! Unhandled Exception !!!
System.IO.IOException: The file 'backup\20200801000102\Jul20log.txt' already exists.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   at System.IO.File.Copy(String sourceFileName, String destFileName)
   at CumulusMX.Cumulus.Backupdata(Boolean daily, DateTime timestamp)
   at CumulusMX.Cumulus..ctor(Int32 HTTPport, Boolean DebugEnabled, Mutex appMutex)
   at CumulusMX.Program.Main(String[] args)
2020-08-01 00:01:03.160 You are not running the latest version of CumulusMX, build 3089 is available.
Exiting system due to external: Ctrl-C

Phil23
Posts: 511
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: MX Down this morning.

Post by Phil23 »

Ok,

Further info.

It's back up again now.
I just left it @ 8:45am with it's window open displaying the errors.

My Task Scheduler would have closed it down & restarted it just after 9:00am (Roll-over Time).
It's been running fine since then.

The Diags file created at the post 9:00 start does not display the Unhandled Exception related to the backup folder creation.

Seems it had an issue running between midnight & the 9:00am rollover into the new month.

Will add the pre & post 9:00 diags for further investigation if required.

Cheers.
You do not have the required permissions to view the files attached to this post.

sfws
Posts: 929
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Modified Fine Offset
Operating System: Win. 10 PC
Location: The Marches, UK

BUG: MX Down this morning.

Post by sfws »

Phil23 wrote:
Fri 31 Jul 2020 10:40 pm
Looking at the backup directories that are created with each attempted start, they all appear to be Ok & have the same 10 files as all other backup.

Coincidentally it is the 1st of August.
Unchanged things have been fine up till now.

No file system errors. Rebooting the PC made no change.

Creating the backup folder is always the first error.

Cheers

Phil.

Code: Select all

2020-08-01 00:01:02.301 Cumulus start date: 29/09/2016
2020-08-01 00:01:02.316 Data path = data\
2020-08-01 00:01:02.379 Creating backup folder backup\20200801000102\
!!! Unhandled Exception !!!
System.IO.IOException: The file 'backup\20200801000102\Jul20log.txt' already exists.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   at System.IO.File.Copy(String sourceFileName, String destFileName)
   at CumulusMX.Cumulus.Backupdata(Boolean daily, DateTime timestamp)
   at CumulusMX.Cumulus..ctor(Int32 HTTPport, Boolean DebugEnabled, Mutex appMutex)
   at CumulusMX.Program.Main(String[] args)
2020-08-01 00:01:03.160 You are not running the latest version of CumulusMX, build 3089 is available.
Exiting system due to external: Ctrl-C
A few pointers in that
* Coincidentally it is the 1st of August
* The file 'backup\20200801000102\Jul20log.txt' already exists.
* The same 10 files as all other backup.
Patch release 3.6.11 - b3087 is available for download
....
Add previous months log files (monthly and extra) to the backup on the first of the month
* This is first month change after that release announcement that suggests one extra file should be being saved on first day of month.
* You restarted MX after midnight, but before rollover.

Note - I have renamed the subject of this topic - check what word I added....
Enough said.
Last edited by sfws on Sat 01 Aug 2020 9:20 am, edited 1 time in total.

water01
Posts: 1944
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: MX Down this morning.

Post by water01 »

Well mine worked perfectly at the midnight rollover.
David
Image

User avatar
mcrossley
Posts: 6771
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: MX Down this morning.

Post by mcrossley »

Found the problem. It only occurs if MX is started between midnight and 9am on the first of the month and you use a 9am rollover. After 9am on the 1st it will start OK again.

sfws
Posts: 929
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Modified Fine Offset
Operating System: Win. 10 PC
Location: The Marches, UK

Re: MX Down this morning.

Post by sfws »

mcrossley wrote:
Sat 01 Aug 2020 8:40 am
Found the problem. It only occurs if MX is started between midnight and 9am on the first of the month and you use a 9am rollover. After 9am on the 1st it will start OK again.
I assume you have corrected it now, but you have 30 days before you need to release the correction!

As an aside, Steve Loft used 9am/10am rollover (not the midnight rollover you use), but I recall that several of his edits also gave rise to problems when a user was restarting between midnight and a later rollover on the first day of a month!
water01 wrote:
Sat 01 Aug 2020 8:34 am
Well mine worked perfectly at the midnight rollover.
I actually viewed your web site this morning as part of my conclusion it was related to Phil23's 9am rollover after his reboot.

At that time my 10am rollover had not happened, but when it did it also worked perfectly, 11 files (two of the standard logs) saved, but I have not closed MX since I installed the current release, so I had no reason to restart it this morning.
Phil23 wrote:
Fri 31 Jul 2020 10:11 pm
Seems to have been down since the midnight reboot.
Going back to Phil's first post, I don't think a regular midnight reboot is a good idea. MX should not need a daily restart.

Given there are various MX actions hourly (and possibly more actions at midnight then than actions at other hours), better to restart MX at something like 12 minutes to midnight for example, when there is less potential for conflict .
Last edited by sfws on Tue 04 Aug 2020 3:09 pm, edited 1 time in total.

User avatar
mcrossley
Posts: 6771
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: MX Down this morning.

Post by mcrossley »

sfws wrote:
Sat 01 Aug 2020 9:37 am
mcrossley wrote:
Sat 01 Aug 2020 8:40 am
Found the problem. It only occurs if MX is started between midnight and 9am on the first of the month and you use a 9am rollover. After 9am on the 1st it will start OK again.
I assume you have corrected it now, but you have 30 days before you need to release the correction!
Yes fixed the code already, though as you say the problem is nearly over until next month now!
sfws wrote:
Sat 01 Aug 2020 9:37 am
As an aside, Steve Loft used 9am/10am rollover (not the midnight rollover you use), but I recall that several of his edits also gave rise to problems when a user was restarting between midnight and a later rollover on the first day of a month!
Yep - so many pitfalls in those 9/10 hours!

Phil23
Posts: 511
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: MX Down this morning.

Post by Phil23 »

sfws wrote:
Sat 01 Aug 2020 9:37 am
Going back to Phil's first post, I don't think a regular midnight reboot is a good idea. MX should not need a daily restart.
As previously mentioned my repeated restarts are to allow Weatherlink to download data periodically.

I know 4 times a day is a bit excessive, but that how I started out & it's remained that way.
Part of that logic as keeping the WL download time small & for a period keeping it current.

Although I rarely look at WeatherLink now, I still figure why not have two separate sets of data,
particularly given that WL has a few interesting charting options that I have used occasionally.

Phil.

Post Reply