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

Question about upgrading from b3043 on a RPI3b...

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
BigOkie
Posts: 283
Joined: Tue 28 May 2013 1:06 am
Weather Station: Davis VP2 Plus
Operating System: Raspian Bookworm (RPi 3b)
Location: Tulsa, OK

Question about upgrading from b3043 on a RPI3b...

Post by BigOkie »

Ok, I was pretty well versed in this for a while, and have been interested in updating for some time but wanted to see what I would need to do first.

Currently, I have MX b3043 installed on a RPi3B rev1.2.

Obviously it's running mono, but I remember having to lock mono to a certain version for this. My current mono version is:

Code: Select all

Mono JIT compiler version 4.0.5 (Stable 4.0.5.1/1d8d582 Thu Nov 12 12:22:41 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  armel,vfp+hard
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen
I plan to do the stepped upgrade (3.5.1 first then subsequent after) and my plan is to fully rename the old MX directory. I would like to know if I should upgrade to a later version of Mono for this. I back my MX directory up remotely too but exclude certain files that update too fast for my rsync script to not error on.

Thanks for the insight.
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: Question about upgrading from b3043 on a RPI3b...

Post by freddie »

You'll need Mono 6, I believe.
Freddie
Image
User avatar
philpugh
Posts: 428
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Re: Question about upgrading from b3043 on a RPI3b...

Post by philpugh »

I am running b3143 on Rpi 4 and the version of mono is :
mono --version
Mono JIT compiler version 5.18.0.240 (Debian 5.18.0.240+dfsg-3 Sat Apr 20 05:16:08 UTC 2019)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: preemptive
GC: sgen (concurrent by default)
This is the version installed from the current distribution and it is running my two GW1000 devices and also (on a Rpi Zero W) my Davis VantageVue

No issues with either of these set-ups.

However ....

I strongly advise you to read all the release notes for CumulusMX as there have been many changes since b3043, something you are obviously aware of as you intend to stage the upgrade.
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
BigOkie
Posts: 283
Joined: Tue 28 May 2013 1:06 am
Weather Station: Davis VP2 Plus
Operating System: Raspian Bookworm (RPi 3b)
Location: Tulsa, OK

Re: Question about upgrading from b3043 on a RPI3b...

Post by BigOkie »

OK, so instead of doing the stepped upgrade I did a full backup of my old CMX folder with all the data intact. I then just used a new MicroSD card and used the premade RPI image. That was a lot simpler but there were still some things I needed to tweak to make them like I had mine before, like getting all the config files and data files in their right places. I got that working as well as serving data to my local web server running the Saratoga website scripts. The only thing I need to do now is to import my old data files into the new MySQL schemas, as I can tell the log files have more data fields in them post b3043. I typically use the importcumulus script to do this, but now I need to know how to go about this since the old log files don't have the same field mapping. Would it be easier for me to just update the table schema on the old db (I kept the old version, now running a separate db for the new version) and then run the import? I just have tables for Monthly and Dayfile and nothing else. My old DB had over a million records in it.


Thanks for the help all...
User avatar
philpugh
Posts: 428
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Re: Question about upgrading from b3043 on a RPI3b...

Post by philpugh »

There is something about how to do the database upgrade for additional fields.

Try this viewtopic.php?f=40&t=17887&p=142085&hil ... se#p142085
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
BigOkie
Posts: 283
Joined: Tue 28 May 2013 1:06 am
Weather Station: Davis VP2 Plus
Operating System: Raspian Bookworm (RPi 3b)
Location: Tulsa, OK

Re: Question about upgrading from b3043 on a RPI3b...

Post by BigOkie »

philpugh wrote: Tue 24 Aug 2021 7:18 pm There is something about how to do the database upgrade for additional fields.

Try this viewtopic.php?f=40&t=17887&p=142085&hil ... se#p142085
Thanks, that got me going in the right direction enough so that I was able to make the table modifications and get my data current and correct. I'm all set up now!
Post Reply