Page 1 of 1

Failed upgrade to 3.7.0

Posted: Thu 30 Jul 2020 4:23 pm
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

Re: Failed upgrade to 3.7.0

Posted: Thu 30 Jul 2020 4:54 pm
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.

Re: Failed upgrade to 3.7.0

Posted: Thu 30 Jul 2020 5:12 pm
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

Re: Failed upgrade to 3.7.0

Posted: Thu 30 Jul 2020 5:28 pm
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

Re: Failed upgrade to 3.7.0

Posted: Thu 30 Jul 2020 5:33 pm
by ConligWX
did you stop CumulusMX session first of all before you copied over the files?

Re: Failed upgrade to 3.7.0

Posted: Thu 30 Jul 2020 6:23 pm
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

Re: Failed upgrade to 3.7.0

Posted: Thu 30 Jul 2020 7:44 pm
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

Re: Failed upgrade to 3.7.0

Posted: Fri 31 Jul 2020 12:13 am
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

Re: Failed upgrade to 3.7.0

Posted: Fri 31 Jul 2020 5:01 am
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?

Re: Failed upgrade to 3.7.0

Posted: Fri 31 Jul 2020 8:30 pm
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

Re: Failed upgrade to 3.7.0

Posted: Fri 31 Jul 2020 10:16 pm
by water01
Stop Start script is here viewtopic.php?f=40&t=17907

Re: Failed upgrade to 3.7.0

Posted: Sat 01 Aug 2020 12:52 am
by pkiener
Thanks for the link for the start-stop scripts!

Paul