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 4019) - 03 April 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

Failed upgrade to 3.7.0

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
pkiener
Posts: 58
Joined: Mon 24 Feb 2014 10:21 pm
Weather Station: Davis Vantage VUE
Operating System: Windows 10
Location: United States
Contact:

Failed upgrade to 3.7.0

Post by pkiener »

OK, I messed up somehow and need help. I have been running CumulusMX on raspberry-pi; most recent build 3088. Extracted the files from the 3.7.0 zip file and copied to the CumulusMX folder on the raspberry-pi. Copied my saved files "Cumulus.ini"; "cumulusMX.sh; "cumulusmxsh.conf" to the main directory. Then copied my saved data files into the new data directory. Now when I attempt to run the new version, I get a message that it could not read the "cumulusmx.db" file.

I then delete all my CumulusMX files from the rasp-pi and attempt to re-load the previous build (3088). Now when I attempt to run CumulusMX, I get a message that there is a newer version (build 3089) available, and does not start.

I note that when I unzip the download for b3098, there is an additional file "AlterSQLTables3098.sql", but I do not know what to do with this file. I have a strong sense that this is at the base of my problem.

Any and all help will be greatly appreciated! Thank you in advance.

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

Re: Failed upgrade to 3.7.0

Post by mcrossley »

It sounds like a permissions issue on your new folder.
pkiener wrote: Thu 30 Jul 2020 4:23 pm I then delete all my CumulusMX files from the rasp-pi and attempt to re-load the previous build (3088). Now when I attempt to run CumulusMX, I get a message that there is a newer version (build 3089) available, and does not start.
That message is just a warning message, it does not stop Cumulus doing anything.

The "AlterSQLTables3098.sql" file is just for people you use a MySQL database - you can ignore it.

I think we need to see your log files please.
pkiener
Posts: 58
Joined: Mon 24 Feb 2014 10:21 pm
Weather Station: Davis Vantage VUE
Operating System: Windows 10
Location: United States
Contact:

Re: Failed upgrade to 3.7.0

Post by pkiener »

Mark,
Thanks for the quick reply! Sorry, but there are no files in the MXdiags folder, nor could I find any other log files.

Attached is a screen shot of the terminal when I attempt to run CumulusMX.

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

Re: Failed upgrade to 3.7.0

Post by mcrossley »

Does the cumulusmx.db file exist in your /data folder? If its not there Cumulus will create it.

That it is failing to do that points again to file permissions.

Try running this command...

sudo chmod a+rwx /path/folder

obviously with the full path and folder name of your Cumulus folder
User avatar
ConligWX
Posts: 1607
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: Failed upgrade to 3.7.0

Post by ConligWX »

did you stop CumulusMX session first of all before you copied over the files?
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0

Image
pkiener
Posts: 58
Joined: Mon 24 Feb 2014 10:21 pm
Weather Station: Davis Vantage VUE
Operating System: Windows 10
Location: United States
Contact:

Re: Failed upgrade to 3.7.0

Post by pkiener »

Simon,
Yes, I did stop CumulusMX running before I upgraded. In fact, I deleted all the files in my CumulusMX folder/subfolders before copying the new version.

Mark,
I ran the terminal command as suggested, but I still get the same result as before (the screen shot earlier). Attached are screen shots of the relevant files/folders (at least I hope are relevant).

Paul
You do not have the required permissions to view the files attached to this post.
User avatar
rogerthn
Posts: 506
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Failed upgrade to 3.7.0

Post by rogerthn »

My upgrade as below
FileZilla CumulusMXDist3089.zip to /home/pi
Stop CumulusMX

Code: Select all

cd /home/pi
unzip -o CumulusMXDist3089.zip
Start CumulusMX
Image
pkiener
Posts: 58
Joined: Mon 24 Feb 2014 10:21 pm
Weather Station: Davis Vantage VUE
Operating System: Windows 10
Location: United States
Contact:

Re: Failed upgrade to 3.7.0

Post by pkiener »

Thanks, rogerthn. Tried that, but no luck.

I have even tried renaming "cumulusmx.db" to "cumulusmx.db.old", but CumulusMX still would not start. No log files created; no new "cumulusmx.db" created.

Paul
User avatar
ConligWX
Posts: 1607
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: Failed upgrade to 3.7.0

Post by ConligWX »

Just stabbing in the dark so to speak, Are you using a different account than previously used to run cumulus or creating the new folders perhaps? Definately sound like a permission issue.

How are you starting CumulusMX?
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0

Image
pkiener
Posts: 58
Joined: Mon 24 Feb 2014 10:21 pm
Weather Station: Davis Vantage VUE
Operating System: Windows 10
Location: United States
Contact:

Re: Failed upgrade to 3.7.0

Post by pkiener »

UPDATE: Prior to this, with multiple suggestions, I was not able to get CumulusMX running on my pi. I remember seeing one of the messages stating that cumulusmx.db could not be opened. So thinking that the db was corrupt, I decided to go ahead and redo the pi from scratch and install CumulusMX on the newly formatted drive. I now have CumulusMX working, but am unable to have it start automatically on reboot. References to the start/stop script no longer are active. But, I'm still looking.

So thanks to everyone who responded and offered suggestions to help. I appreciate it.

Paul
water01
Posts: 3245
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Failed upgrade to 3.7.0

Post by water01 »

Stop Start script is here viewtopic.php?f=40&t=17907
David
Image
pkiener
Posts: 58
Joined: Mon 24 Feb 2014 10:21 pm
Weather Station: Davis Vantage VUE
Operating System: Windows 10
Location: United States
Contact:

Re: Failed upgrade to 3.7.0

Post by pkiener »

Thanks for the link for the start-stop scripts!

Paul
Post Reply