MX on Linux: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
upgrading section rewritten
m (upgrading section rewritten)
==Upgrading a Cumulus package==
 
UpgradingIf toyou aare newrunning MXan older release, isbefore skipping in-between versions please explainedcheck [[Updating_MX_to_new_version|here]],. but basicallyAlways followcheck instructionsthe above,release andannouncements installin over[https://cumulus.hosiene.co.uk/viewtopic.php?f=40&t=17887 yourCumulus existingMX files.announcements] for Theany alternativeaction isneeded toin installplanned inupgrade. a newIn folderbrief, (orall renamefiles thefrom oldnew one),release anddistribution copyreplace acrossthe files notfrom in theprevious release, fromand oldthe locationdownload/unzip tois newas locationcovered above.
 
If you run MX as a service, then:
# Ensure you are not doing any changes to settings
# Leave MX running as you copy files from the new release distribution over the existing files
# Try to pick a time just after MX has done any standard interval store of readings or upload, so that it is least busy
# Use <code>sudo systemctl restart cumulusmx</code> to stop and then restart MX picking up the new files
# Result, downtime of MX kept to a minimum, so avoiding losing data
 
If you run MX interactively, do the unzip into a temporary location before you stop MX, then copy all files from temporary location over your existing files, and finally restart MX. Depending on your weather station type, it might or might not offer historic data catch-up, so you might lose some data while MX is stopped, and therefore should keep the downtime to a minimum.
 
The alternative is to install in a new folder (or rename the old one), and copy across files not in the release from old location to new location, but in that alternative you might forget some files.
 
==Changing location of Cumulus==
5,838

edits

Navigation menu