Page 1 of 1
Need som help with upgrade
Posted: Wed 26 Apr 2023 6:03 pm
by Armond
Hi!
I have some questions about how to upgrade CMX on my RPi.
1. Stop Stop Cumulus MX.
2. Make sure you have a backup copy of the CumulusMX folder.
Does it mean that I should copy the whole folder /opt/CumulusMX/ in RPi and put it for example in my computer? (just a backup if something goes wrong with the upgrade)
3. Copy the entire contents of the zip file to your CumulusMX folder.
Does it mean that I should download the zip-file from https://github.com/cumulusmx/CumulusMX/releases/, for example CumulusMXDist3241.zip, and extract the files and replace the files on my RPi in / opt/CumulusMX/?
4. Start Cumulus MX again.
Re: Need som help with upgrade
Posted: Wed 26 Apr 2023 6:10 pm
by HansR
Not sure what the question exactly is, but I think that what you write leads to a correct update.
Re: Need som help with upgrade
Posted: Wed 26 Apr 2023 11:55 pm
by Grouper
Hi Armond,
This is my upgrade procedure on my Raspberry Pi :-
Download release from
https://cumuluswiki.org/a/Software#Late ... n_download
Extract zip file
Code: Select all
pi@raspberrypi:~/Downloads/CumulusMX $ unzip xxxxx.zip
Stop service
Do backup of existing release
Code: Select all
pi@raspberrypi:/opt $ sudo cp -R CumulusMX CumulusMX_XXXX_backup
Upgrade files
Code: Select all
pi@raspberrypi:~/Downloads/CumulusMX/CumulusMX $ sudo cp -R * /opt/CumulusMX/
Start service
If you have installed CMX into a different directory then you will need to change the paths accordingly.
My system logs every 5 mins so I wait for a log to complete before doing the upgrade. I tend to have 3 command windows open at the same time, one for the service stop and start, one for the backup and one for the upgrade. In this way the whole process takes less than a minute so minimum downtime.
Hope that helps.
Re: Need som help with upgrade
Posted: Thu 27 Apr 2023 6:41 pm
by Armond
Hi!
Hmmm, I dont get were to put the downloaded zip-file.
Re: Need som help with upgrade
Posted: Thu 27 Apr 2023 7:25 pm
by PaulMy
Hi,
I use Windows so not RPi but presume it would work in a similar way. I download the new version zip and unzip in its own new folder in a \CumulusMX-new_versions folder - i.e. unzip to C:\CumulusMX-new_versions\CumulusMXDist3241 which then has the new version as C:\CumulusMX-new_versions\CumulusMXDist3241\CumulusMX with all the new files and folders...
Then with current CMX stopped Copy ALL the content (all files and folders) from that new version and Paste in your existing CumulusMX install. Then restart, and new version CMX will run using the previous Cumulus.ini file, and existing \data and \Reports. I usually do a full copy in \CumulusMX-backup to quickly restore to the previous working version if needed, just in case...
It takes about 2 minutes to do and then all set to go with the updated version.
Enjoy,
Paul
Re: Need som help with upgrade
Posted: Fri 28 Apr 2023 1:28 pm
by Grouper
On Rpi by default the downloaded zip file usually goes into the /Downloads folder. In my example I had moved it into a /Downloads/CumulusMX folder where I ran the unzip command but it doesn't really matter where you put it as long as you navigate to the appropriate folder before running the copy (cp) command.
Code: Select all
pi@raspberrypi:~/Downloads/CumulusMX $ unzip xxxxx.zip
In the example above the "pi@raspberrypi:~/Downloads/CumulusMX $" part shows the command prompt and the current folder path. The "unzip xxxxx.zip" part is the actual command.
Hope that makes more sense.
Re: Need som help with upgrade
Posted: Sun 07 May 2023 7:28 pm
by Armond
Thanks for the replys, I should try to upgrade.