Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.28.5 (build 3282) - 23 February 2024

Legacy Cumulus 1 release v1.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

CumulusMX Start|Stop - Management Script (CumulusMX 2.5.5.7)

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

User avatar
billy
Posts: 255
Joined: Mon 30 Nov 2015 10:54 am
Weather Station: WLL / Davis VP2+
Operating System: RPi bullseye
Location: Gooseberry Hill, Western Australia

Re: CumulusMX Start|Stop - Management Script (CumulusMX 2.5.5.7)

Post by billy »

thank you both. I will check the diag and the zip
Vossenberg
Posts: 72
Joined: Sun 30 Dec 2012 8:23 am
Weather Station: Davis Vantage Pro2
Operating System: Raspbian Bullseye
Location: Hoef en Haag, Netherlands

Re: CumulusMX Start|Stop - Management Script (CumulusMX 2.5.5.7)

Post by Vossenberg »

I have used the script for updating my instance of CumulusMX on my Raspberry PI, however the last versions of the Cumulus Dist file contains CumulusMX files in a folder named CumulusMX, and now it installs it underneath the folder where I installed Cumulus.

Is there anything which can be done to prevent that from happening? My folder is called vpcumulus and now it installs the new files in vpcumulus/CumulusMX instead of to the vpcumulus directory where the script is installed.
User avatar
HansR
Posts: 5723
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: CumulusMX Start|Stop - Management Script (CumulusMX 2.5.5.7)

Post by HansR »

Actually, the start/stop script is kind of deprecated (although that has never been made explicit) and I would advise not to use it with the current CMX version. Given your status I would say:
  1. Remove your erroneous and superfluous CumulusMX directory
  2. Make CMX run as a daemon (see forum/wiki on how to do that)
  3. Then start/stop CMX through systemctl
  4. Update your CMX (afte a stop) with a simple copy/overwrite - make a backup if you wish - and restart CMX.
@Freddie: maybe it is useful to either remove this thread as sticky or make a good note that this procedure is no longer actual and no longer maintained?
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
SamiS
Posts: 349
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: CumulusMX Start|Stop - Management Script (CumulusMX 2.5.5.7)

Post by SamiS »

I agree that the script is quite a bit outdated. But on the other hand it it still a very handy way for a non-linux-oriented user to start and stop CMX interactively on background without the risk of CMX starting unexpectedly after boot. Personally I still prefer this over running as a service.
User avatar
ConligWX
Posts: 1563
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: CumulusMX Start|Stop - Management Script (CumulusMX 2.5.5.7)

Post by ConligWX »

SamiS wrote: Thu 04 Jan 2024 5:08 pm I agree that the script is quite a bit outdated. But on the other hand it it still a very handy way for a non-linux-oriented user to start and stop CMX interactively on background without the risk of CMX starting unexpectedly after boot. Personally I still prefer this over running as a service.
I used this script until about 6 months ago and it works fine. the one good thing I still use this for is backups...I use this before I upgrade cmx with a new version.

Code: Select all

./cumulusmx.sh -b -z
Regards Simon

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

Image
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: CumulusMX Start|Stop - Management Script (CumulusMX 2.5.5.7)

Post by jank »

I am still using it either....:-) also with the most current version......
As far as I remember, I personally made some changes in the cumulusnow.sh script to display the correct values....but I can't remeber that I did changes in the main cumulusmx.sh script......and yesterday, I also used the update function ./cumulusmx.sh -u and the update installed in the correct folder.
So for me, it is still working ....
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
f4phlyer
Posts: 137
Joined: Sun 13 Feb 2011 7:12 pm
Weather Station: Davis Vantage Pro 2
Operating System: RaspBerry Pi Win 10 OSx
Location: Spring, Texas USA
Contact:

Re: CumulusMX Start|Stop - Management Script (CumulusMX 2.5.5.7)

Post by f4phlyer »

I’ve been using the script for quite some time now. I haven’t had any issues at all.

I’ve done quite a bit of customization and it saves significant effort after an update. For me the ability to exempt a directory is its prime feature.

I’ve used the update utility and it’s a little wonky but works. I do use the “daemon” method for start/stop and diags.
retreat at augusta pines weather
CumulusMX on Raspberry π rPi5
http://augusta-pines-weather.com / CumulusMX 4.0.0 build:4012
WeatherUnderground KTXSPRIN538
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: CumulusMX Start|Stop - Management Script (CumulusMX 2.5.5.7)

Post by jank »

Vossenberg wrote: Thu 04 Jan 2024 10:34 am Is there anything which can be done to prevent that from happening? My folder is called vpcumulus and now it installs the new files in vpcumulus/CumulusMX instead of to the vpcumulus directory where the script is installed.
Sorry for answering so late....
Regarding the wrong Updatepath, maybe this will solve your problem.
There is a varaible called: UPDATEPATH=$(dirname $INSTPATH)
This points to the variable $INSTPATH

and this is the only thing which have to be changed directly in the start stop script cumulusmx.sh in line 22
This line looks like: INSTPATH="/opt/CumulusMX" # Example "/home/pi/CumulusMX" without ending /
You have to change it to:
INSTPATH="/vpcumulus" # Example "/home/pi/CumulusMX" without ending /
...if the installation of your cumulusMX is directly in the root of your system
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
Post Reply