Page 1 of 1
Question about upgrading from b3043 on a RPI3b...
Posted: Thu 19 Aug 2021 6:23 pm
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.
Re: Question about upgrading from b3043 on a RPI3b...
Posted: Thu 19 Aug 2021 7:33 pm
by freddie
You'll need Mono 6, I believe.
Re: Question about upgrading from b3043 on a RPI3b...
Posted: Sun 22 Aug 2021 6:26 pm
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.
Re: Question about upgrading from b3043 on a RPI3b...
Posted: Tue 24 Aug 2021 3:04 pm
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...
Re: Question about upgrading from b3043 on a RPI3b...
Posted: Tue 24 Aug 2021 7:18 pm
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
Re: Question about upgrading from b3043 on a RPI3b...
Posted: Tue 24 Aug 2021 9:03 pm
by BigOkie
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!