Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.0.0 build 3050 - 1 May 2019.
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

See the Wiki for downloading either version.

CumulusMX moving historical data to a new machine

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.

Moderator: mcrossley

Chapel
Posts: 69
Joined: Mon 30 Jul 2018 10:23 am
Weather Station: Instromet
Operating System: Raspbian
Location: Binbrook UK
Contact:

CumulusMX moving historical data to a new machine

Post by Chapel » Sun 28 Apr 2019 8:02 am

My CumulusMX install is now running on a Raspberry Pi3 and looking good, however I now have 2019 rain almanac figures that only reflect the last 24 hours or so that the new machine has been running. Is it possible to copy the relevant data files from my old Win10 box to the RPi to recover the data or does it come from somewhere else?

water01
Posts: 1522
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: CumulusMX moving historical data to a new machine

Post by water01 » Sun 28 Apr 2019 2:06 pm

If you want to run Cumulus MX with your existing Cumulus data, take a copy of your existing Cumulus directory, and then unzip Cumulus MX into it. Alternatively, you can unzip Cumulus MX into new directory first, and then copy over your existing data files and your Cumulus.ini file, and any other configuration files that you may have created (e.g. strings.ini, twitter.txt etc). If your Cumulus.ini is actually called "cumulus.ini" you should rename it to start with a capital letter.
I assume you are not using decimal commas as you are in the UK, but if you are as per the Wiki
◾If you use non-English settings, comma decimals etc, you will experience problems on Linux/OS X with Mono version 3.2.8 (e.g. on Raspberry Pi). But see the item further down about incompatible Mono versions
◾If you want to use your Cumulus 1 data with MX, and you use decimal commas, you will need to edit the .ini files to change the decimal commas into periods/full stops. The other data files will be OK.

Chapel
Posts: 69
Joined: Mon 30 Jul 2018 10:23 am
Weather Station: Instromet
Operating System: Raspbian
Location: Binbrook UK
Contact:

Re: CumulusMX moving historical data to a new machine

Post by Chapel » Sun 28 Apr 2019 2:37 pm

OK, thank you for that, I have now copied the files over. I was trying to restore the year to date and month rainfall on the Weather34 display however it still displays zero and it should be around 118mm right now.

freddie
Posts: 430
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 18.04)
Location: Dorrington, Shropshire
Contact:

Re: CumulusMX moving historical data to a new machine

Post by freddie » Sun 28 Apr 2019 4:19 pm

In your Cumulus.ini file you should have an entry under the "Station" section called StartDate. Mine looks like this:

Code: Select all

StartDate=08 April 2019
Does yours contain a date early enough such that your earlier records get included?
Freddie
Image

Chapel
Posts: 69
Joined: Mon 30 Jul 2018 10:23 am
Weather Station: Instromet
Operating System: Raspbian
Location: Binbrook UK
Contact:

Re: CumulusMX moving historical data to a new machine

Post by Chapel » Sun 28 Apr 2019 4:42 pm

Yes there is a disparity between the old and new files, the old being August 2018 and the new April 2019. I had not copied the file over as there are several differences in the new station setup and as it is sort of working I did not want to break it again!

One thing I have noticed is the old build 3043 has a \CumulusMX\CU folder that holds rainfall information whereas the new one does not have this file (Yet maybe?)

So I could either edit the .ini file to the earlier date and/or copy the \CU folder across to the RPi box.

freddie
Posts: 430
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 18.04)
Location: Dorrington, Shropshire
Contact:

Re: CumulusMX moving historical data to a new machine

Post by freddie » Sun 28 Apr 2019 4:54 pm

I don't have a CU folder, and don't think I ever have. It's worth editing the ini file to reflect the true start of your records. I would stop Cumulus before doing this, though.
Freddie
Image

Chapel
Posts: 69
Joined: Mon 30 Jul 2018 10:23 am
Weather Station: Instromet
Operating System: Raspbian
Location: Binbrook UK
Contact:

Re: CumulusMX moving historical data to a new machine

Post by Chapel » Sun 28 Apr 2019 5:32 pm

Right, the date has been changed and the box restarted and I still do not have the Almanac updated.

Are you running a Windows or Linux box? I am curious about the \CU folder I have on my Win10 box

freddie
Posts: 430
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 18.04)
Location: Dorrington, Shropshire
Contact:

Re: CumulusMX moving historical data to a new machine

Post by freddie » Sun 28 Apr 2019 5:48 pm

Linux.
Freddie
Image

Chapel
Posts: 69
Joined: Mon 30 Jul 2018 10:23 am
Weather Station: Instromet
Operating System: Raspbian
Location: Binbrook UK
Contact:

Re: CumulusMX moving historical data to a new machine

Post by Chapel » Sun 28 Apr 2019 5:56 pm

Do you have any rain related files in any of your folders?

freddie
Posts: 430
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 18.04)
Location: Dorrington, Shropshire
Contact:

Re: CumulusMX moving historical data to a new machine

Post by freddie » Sun 28 Apr 2019 6:16 pm

As far as I know, all data is stored in the monthly data files - i.e. Apr19log.txt - in the data folder.
Freddie
Image

Chapel
Posts: 69
Joined: Mon 30 Jul 2018 10:23 am
Weather Station: Instromet
Operating System: Raspbian
Location: Binbrook UK
Contact:

Re: CumulusMX moving historical data to a new machine

Post by Chapel » Sun 28 Apr 2019 6:25 pm

Hmm.. I have all of those in place now, they are just not being called to the screen.

freddie
Posts: 430
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 18.04)
Location: Dorrington, Shropshire
Contact:

Re: CumulusMX moving historical data to a new machine

Post by freddie » Sun 28 Apr 2019 6:37 pm

None of your almanac figures look correct - not even yesterday. I'm unfamiliar with the template you are using. Is the file used to display the figures being generated and uploaded okay?
Freddie
Image

Chapel
Posts: 69
Joined: Mon 30 Jul 2018 10:23 am
Weather Station: Instromet
Operating System: Raspbian
Location: Binbrook UK
Contact:

Re: CumulusMX moving historical data to a new machine

Post by Chapel » Sun 28 Apr 2019 7:06 pm

I think it is OK as the template is actually still on the web server as opposed to local machine.

freddie
Posts: 430
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 18.04)
Location: Dorrington, Shropshire
Contact:

Re: CumulusMX moving historical data to a new machine

Post by freddie » Sun 28 Apr 2019 7:44 pm

Chapel wrote:
Sun 28 Apr 2019 7:06 pm
I think it is OK as the template is actually still on the web server as opposed to local machine.
Okay, I will have to dip out at this point, as I don't know which file is used by the template to read the data. If you could find this out and then check that it is being correctly generated and transmitted to your web server, then I think you will be on the way to solving your problem. You could check your local interface that the rainfall data is correct - then you will know that Cumulus is processing the data correctly, and that the fault lies where I have highlighted above.
Freddie
Image

User avatar
PaulMy
Posts: 1855
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: CumulusMX moving historical data to a new machine

Post by PaulMy » Sun 28 Apr 2019 8:18 pm

I am trying to understand the issue. CumulusMX unzip does not and never had a Cumulusmx/CU folder.
However the Weather34 HomeWeather PWS template for Cumulus is often identified as CU in the download and unzip folder.
That PWS template gets current conditions from Cumulus realtime.txt and historical from your Weather Underground station data for year and current month.

From your webpage link it looks like your template version is 2018 and you may wish to update to the latest version as maintained by Ken True (Saratoga WX)

Enjoy,
Paul

Post Reply