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

Upgraded from 4063 to 4067 and it failed to start

From Cumulus MX version 3 build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since, and has recently released Cumulus MX version 4. 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

mwittl
Posts: 19
Joined: Sun 08 Dec 2013 11:51 am
Weather Station: Vantage Vue
Operating System: Windows 10
Location: Roanoke, VA (USA)
Contact:

Upgraded from 4063 to 4067 and it failed to start

Post by mwittl »

Not sure if anyone else had this problem or not? I upgraded my 4063 build to 4067 and it would not start for the 1st time ever. Looked at the .ini....it erased it and replaced it with a blank one. Restored a backup .ini and same thing...Windows service would not start. Looked at .ini again and nothing pertaining to my site was there again? Thoughts?
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Upgraded from 4063 to 4067 and it failed to start

Post by Mapantz »

Looks related to viewtopic.php?t=22789
Image
mwittl
Posts: 19
Joined: Sun 08 Dec 2013 11:51 am
Weather Station: Vantage Vue
Operating System: Windows 10
Location: Roanoke, VA (USA)
Contact:

Re: Upgraded from 4063 to 4067 and it failed to start

Post by mwittl »

Yes...never saw that before but that is the issue. It didn't look like a solution was found or did I miss that? Going to stay with my 4063 until I hear something.
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Upgraded from 4063 to 4067 and it failed to start

Post by SamiS »

The resolution was kind of provided in that thread Mapantz linked earlier, but not easy to spot. Check the filesystem permissions of the CumulusMX folder. Probably for some reason the user running the service does not correctly have the ”modify” permission for files and folders. You may want to disable inheritance from root (retain the existing permissions instead of removing them).
mwittl
Posts: 19
Joined: Sun 08 Dec 2013 11:51 am
Weather Station: Vantage Vue
Operating System: Windows 10
Location: Roanoke, VA (USA)
Contact:

Re: Upgraded from 4063 to 4067 and it failed to start

Post by mwittl »

Well, gave that a try. Set permissions to Full Control for all users...(Windows 11). Didn't work.....same result as before. Had to roll back to 4043 again. Thank God for Acronis.....
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Upgraded from 4063 to 4067 and it failed to start

Post by freddie »

Would you be able to upload your log files from the MXdiags folder, please? Sure would help with diagnosis.
Freddie
Image
mwittl
Posts: 19
Joined: Sun 08 Dec 2013 11:51 am
Weather Station: Vantage Vue
Operating System: Windows 10
Location: Roanoke, VA (USA)
Contact:

Re: Upgraded from 4063 to 4067 and it failed to start

Post by mwittl »

Hopefully this helps! This was generated with file system set for Full Control for all users.
You do not have the required permissions to view the files attached to this post.
Last edited by mwittl on Mon 23 Dec 2024 7:06 pm, edited 1 time in total.
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Upgraded from 4063 to 4067 and it failed to start

Post by SamiS »

mwittl wrote: Mon 23 Dec 2024 6:30 pm Well, gave that a try. Set permissions to Full Control for all users...(Windows 11). Didn't work.....same result as before. Had to roll back to 4043 again. Thank God for Acronis.....
This is bad news, since it suggests that the root cause isn’t file permissions. The actual reason may be hard to find, since Mark said that the code handling the ini hasn’t changed for several versions.

FWIW you do not need Acronis, since CMX does automatic backups daily and at every restart (located under subfolder backups). But in any case it is a good practise to make a manual backup before upgrade.

And actually, if you follow the recommended upgrade method, you have a working copy ready anyway. (See the end of the post)

viewtopic.php?t=22051
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Upgraded from 4063 to 4067 and it failed to start

Post by freddie »

From the log:

Code: Select all

2024-12-23 13:16:30.658 Command line: C:\CumulusMX\CumulusMX.dll 
Don't you start MX on Windows with CumulusMX.exe?
Freddie
Image
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Upgraded from 4063 to 4067 and it failed to start

Post by PaulMy »

Code: Select all

Don't you start MX on Windows with CumulusMX.exe?
Yes that is how I start the program in my Windows, and select "Run as administrator".

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Upgraded from 4063 to 4067 and it failed to start

Post by mcrossley »

freddie wrote: Mon 23 Dec 2024 7:15 pm From the log:

Code: Select all

2024-12-23 13:16:30.658 Command line: C:\CumulusMX\CumulusMX.dll 
Don't you start MX on Windows with CumulusMX.exe?
On Windows you can use either the .exe, or start it the same way as on Linux, using dotnet to run the dll directly.
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Upgraded from 4063 to 4067 and it failed to start

Post by mcrossley »

Though the code has not changed for a long time, the part that is failing is not invoked very often - only when a new version of MX needs to delete an obsolete entry in the Cumulus.ini file.

It does this by setting the content to be empty, then writing the new content. It looks like on some installs of Windows there is an issue doing this.

I'll look into this some more...
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Upgraded from 4063 to 4067 and it failed to start

Post by mcrossley »

Could you see if the attached build fixes this?
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Upgraded from 4063 to 4067 and it failed to start

Post by freddie »

mcrossley wrote: Tue 24 Dec 2024 10:02 am
freddie wrote: Mon 23 Dec 2024 7:15 pm From the log:

Code: Select all

2024-12-23 13:16:30.658 Command line: C:\CumulusMX\CumulusMX.dll 
Don't you start MX on Windows with CumulusMX.exe?
On Windows you can use either the .exe, or start it the same way as on Linux, using dotnet to run the dll directly.
You learn something new every day! So is the exe just a wrapper that calls dotnet to run the dll?
Freddie
Image
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Upgraded from 4063 to 4067 and it failed to start

Post by mcrossley »

Sort of, it doesn't actually call the dotnet executable, but ultimately it just runs the dll where the real code resides.
Post Reply