Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

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 drop-down menus to 2030)

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

Cumulus 1 migration to Cumulus MX

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

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

Re: Cumulus 1 migration to Cumulus MX

Post by mcrossley »

Please zip up your MXdiags folder and attach it here.
TwoTonTed
Posts: 40
Joined: Wed 26 Aug 2015 5:39 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 11
Location: St Brides, Vale of Glamorgan

Re: Cumulus 1 migration to Cumulus MX

Post by TwoTonTed »

hope this works for you
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus 1 migration to Cumulus MX

Post by mcrossley »

Your dayfile.txt has the wrong date format in it.

The day file is using "20-04-16", but CMX is expecting "20/04/16"

It looks like you have a locale difference between your installations.
TwoTonTed
Posts: 40
Joined: Wed 26 Aug 2015 5:39 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 11
Location: St Brides, Vale of Glamorgan

Re: Cumulus 1 migration to Cumulus MX

Post by TwoTonTed »

Thanks, how do I fix the problem? I'm not very technical, so would have little idea what to do but have edited .txt files for missing data in the past, when I had hardware failure.

I upgraded to MX because some functionality for monthly data stopped working in Cumulus 1. I've applied the patch now and it works ok however, I really want to use MX, it looks much better!
TwoTonTed
Posts: 40
Joined: Wed 26 Aug 2015 5:39 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 11
Location: St Brides, Vale of Glamorgan

Re: Cumulus 1 migration to Cumulus MX

Post by TwoTonTed »

have gone back to Cumulus 1; any further help on migrating to MX would be appreciated!
SamiS
Posts: 355
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Cumulus 1 migration to Cumulus MX

Post by SamiS »

Just to be clear, @TwoTonTed are you trying to run CumulusMX on the same machine where you have Cumulus 1? Or on a different machine?

If the problem occurs on the one and same computer, then your locale (windows regional settings) have changed at some time on past. If this is the case, and your dayfile.txt has dates written on both 20/04/16 and 20-04-16 formats, the only way to migrate to MX is to repair the dayfile by editing it. Depending on the contents of the file it could be an easy "find and replace all" -task, but can't know for sure without looking inside the file.

However if we are dealing with 2 separate computers, then it should be enough to change the regional settings of the new computer running MX to similar date separator that is on the old computer running Cumulus 1.
TwoTonTed
Posts: 40
Joined: Wed 26 Aug 2015 5:39 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 11
Location: St Brides, Vale of Glamorgan

Re: Cumulus 1 migration to Cumulus MX

Post by TwoTonTed »

thanks, yes it is the same PC. While I do have laptops etc, it needs to be running on my main desktop system. So, I need to edit just the dayfile.txt file and all will be ok?

It's got over 2000 lines in it and I can see where the date format somehow changed between 17/04/16 to 18-04-16 thru to 03-08-16, and then 04/08/16 thru to the present day. I've really no idea how this happened, but I guess that's now largely irrelevant.

That's only just over 100 records which I could do by hand?

Am I on the right track?
SamiS
Posts: 355
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Cumulus 1 migration to Cumulus MX

Post by SamiS »

Yes you are on the right track, correcting the dayfile is the most important step. There might be also wrongly formatted dates on some other logfiles from that time period, but if I remember correctly from my own locale issues, they did not prevent MX from running.

Editing by hand one line at time is probably not necessary. If I understood correctly, you could do find and replace on notepad like this:

Find -04-18 and replace all with /04/18, then
Find -05-18 and replace all with /05/18 etc...

If find and replace is new to you, practise with a backup copy first.
TwoTonTed
Posts: 40
Joined: Wed 26 Aug 2015 5:39 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 11
Location: St Brides, Vale of Glamorgan

Re: Cumulus 1 migration to Cumulus MX

Post by TwoTonTed »

thanks, but I still have to do this 100 times?! I think I'd need to be a programmer to test if date format is X then replace with Y to do it in one swoop?
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus 1 migration to Cumulus MX

Post by mcrossley »

I'm pretty sure the "/" character will not be used anywhere but in your dates? (PLEASE CHECK!)

If so you can just to a global replace of "/" for "-" in your editor.

MAKE A BACKUP COPY of your original file somewhere safe so you can go back to it if things go wrong.

If all else fails, post the file here and someone will bulk edit it for you.
SamiS
Posts: 355
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Cumulus 1 migration to Cumulus MX

Post by SamiS »

@mcrossley: If I read TwoTonTed's and your earlier posts correctly, the expected date format is with '/' and the erraneous entries are with '-' ? And a global replace of '-' with '/' would cause big problems with negative temperatures.

@TwoTonTed If you are editing with Windows Notepad, then you do: Edit -> Replace and fill the wrongly formatted string to "Find what:" and the corrected string to "Replace with". You can first click Find next, then Replace once to see that it makes correct adjustment, and then you can click Replace All to do the rest at one click. Of course you have to repeat this with all the four months, but a lot less than 100 times. :)

Edit. Just to be clear, leave the date part out as I previously wrote in my examples.
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus 1 migration to Cumulus MX

Post by mcrossley »

SamiS wrote: Sun 21 Mar 2021 6:28 pm @mcrossley: If I read TwoTonTed's and your earlier posts correctly, the expected date format is with '/' and the erraneous entries are with '-' ? And a global replace of '-' with '/' would cause big problems with negative temperatures.
Doh! Yes you are correct.

The real answer is to use a decent editor that supports regex search/replace ;)
Syntax varies, but VS Code would be...
Find= ^([\d]{2})-([\d]{2})-
Replace= $1/$2/
TwoTonTed
Posts: 40
Joined: Wed 26 Aug 2015 5:39 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 11
Location: St Brides, Vale of Glamorgan

Re: Cumulus 1 migration to Cumulus MX

Post by TwoTonTed »

will take another look when I've got a day to spare, but thanks again for your support!
The PIT
Posts: 260
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Cumulus 1 migration to Cumulus MX

Post by The PIT »

Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
Post Reply