Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

CumulusUtils divers issues after a crash

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Benji60
Posts: 67
Joined: Mon 11 Oct 2021 12:38 pm
Weather Station: HP1000 Froggit Pro
Operating System: Windows 10

CumulusUtils divers issues after a crash

Post by Benji60 »

Hello everyone!
After a big crash of my SSD, I had to reinstall all Cumulus! Fortunately, 2 times a day I have a backup that saves the whole folder and on another raspberry I have a version of cumulusMX running to have a copy of the data.
In short, I've managed, with more trouble than I thought, to put everything back in place, but a few problems have cropped up:

- The 'toggle' and 'dashbord' tabs no longer work, I have an empty drop-down menu instead.
-The extra probes, I only have "lightning".
-I'm not sure if the records are still updated.
-Older NOAA reports are no longer displayed (only blocked for June 2023)

Maybe there are other problems, but I haven't seen them yet.

I'm attaching the log file that is generated when I run the following command:

Code: Select all

cd /opt/CumulusMX;sudo utils/bin/cumulusutils.exe thrifty website; sudo utils/bin/cumulusutils.exe sysinfo UserAskedData; sudo  utils/bin/cumulusutils.exe ExtraSensors
Since it's been over 1 year since I've touched the Utils configuration, I've probably forgotten a few things about how it works ^^.


Thank !

Utils => https://www.meteo-gournaysuraronde.fr/t ... index.html
You do not have the required permissions to view the files attached to this post.
AndyKF650
Posts: 818
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv5B 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: CumulusUtils divers issues after a crash

Post by AndyKF650 »

Hi there

A few comments on your problems,
1. you only ran a thrifty up date rather than the full website update this may help the lack of movement on the toggle tab
2. your mono version is well out of date, check out the mono project https://www.mono-project.com/download/stable/ for details and download
3. it looks like your reports transfer which should enclose the NOAA reports did not work either see if you can find the correct file or go back to CMX and set the NOAA reports up.
4. it may be helpful to reload the CMX and CUtils downloads to ensure that you have all the correct files.

I hope this helps to get you up and running again. The is nothing like a SSD crash to concentrate the mind!
Benji60
Posts: 67
Joined: Mon 11 Oct 2021 12:38 pm
Weather Station: HP1000 Froggit Pro
Operating System: Windows 10

Re: CumulusUtils divers issues after a crash

Post by Benji60 »

thanks for the answer.
I don't remember, but I was sure it was the full version, so what is the full version (and not the minimalist one)?

For mono, I just made a big mistake and broke cumulusmx, I don't dare touch it anymore. I've started all over again with the CumulusMX image, but it seems to be the same version of mono that I have ...
AndyKF650
Posts: 818
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv5B 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: CumulusUtils divers issues after a crash

Post by AndyKF650 »

Hi there

The command for the website updates for CUtils from the CumulusMX terminal point: raspberrypi:~/CumulusMX utils/bin/cumulusutils.exe website you do not need the sudo starter.

One comment why is your base CumulusMX folder at the /opt level? The normal point is the /home/name/CumulusMX.

Also personally I do not use the CumulusMX image method as I prefer taking the slightly longer way around and then ensure I get the software I want, so it starts with the Raspbian o/s, add mono, add CMX and transfer the data and reports files in to get CMX working properly and then add in CUtils. I am sure this is all down to preferences but it works for me.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: CumulusUtils divers issues after a crash

Post by HansR »

@Andy: opt is the directory used by the image afaik.

@benji60: I'll be behind the computer later today or tomorrow and look at the issues.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: CumulusUtils divers issues after a crash

Post by SamiS »

AndyKF650 wrote: Thu 08 Jun 2023 7:43 pm One comment why is your base CumulusMX folder at the /opt level? The normal point is the /home/name/CumulusMX.
Mark has recommended to install under /opt/CumulusMX/ for quite a while. I think one reason was that RaspberryOS abandoned the default pi user, so everyone has as different path. Also when running as service, the root user has permissions to /opt by default but not to the user home directories.
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: CumulusUtils divers issues after a crash

Post by freddie »

SamiS wrote: Fri 09 Jun 2023 3:35 pm
AndyKF650 wrote: Thu 08 Jun 2023 7:43 pm One comment why is your base CumulusMX folder at the /opt level? The normal point is the /home/name/CumulusMX.
Mark has recommended to install under /opt/CumulusMX/ for quite a while. I think one reason was that RaspberryOS abandoned the default pi user, so everyone has as different path. Also when running as service, the root user has permissions to /opt by default but not to the user home directories.
Standard Linux install location for non-system programs is (or at least was) /opt. This dates from the Unix days and was part of the Filesystem Hierarchy Standard (FHS). So it's a good "standard" place to install CumulusMX.

I must take exception to the statement that the root user has access restrictions on any part of the filesystem. In Linux, root is "god" and is free to roam wherever :)
Freddie
Image
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: CumulusUtils divers issues after a crash

Post by SamiS »

freddie wrote: Fri 09 Jun 2023 3:52 pm I must take exception to the statement that the root user has access restrictions on any part of the filesystem. In Linux, root is "god" and is free to roam wherever :)
Now that you say I do have to agree.

I was ”hoping” that the system would have changed so that by default you do not have permission, but of course as root you can obtain them when needed anyway. It would give at least a bit of security / privacy if root had to do chown/chmod before getting to user’s homedirectory. Kind of a step to the same direction as in windows you have to explicitly elevate programs to get administrator permissions.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: CumulusUtils divers issues after a crash

Post by HansR »

@benji60: I split the topic: you started CUtils in 2021 so you are no longer a beginner :)
Benji60 wrote: Thu 08 Jun 2023 4:45 pm In short, I've managed, with more trouble than I thought, to put everything back in place, but a few problems have cropped up:

- The 'toggle' and 'dashbord' tabs no longer work, I have an empty drop-down menu instead.
I assume you use an old version of the CutilsMenu.def. The ToggleDashboard keyword in that file needs to be one word!
Benji60 wrote: Thu 08 Jun 2023 4:45 pm -The extra probes, I only have "lightning".
For only the lightning sensor I think you need to set the 'Extra Sensor' parameters as follows:

Code: Select all

[ExtraSensors]
ExtraSensors=true
ParticipatesSensorCommunity=false OR true
CleanupExtraSensorslog=false
UserModificationExtraSensorCharts=false
ExternalExtraSensors=
ExtraTemp=
ExtraHum=
ExtraDP=
SoilTemp=
SoilMoisture=
AirQuality=
UserTemp=
LeafWetness=
SoilTemperature=
CO2=
LightningSensor=true

Benji60 wrote: Thu 08 Jun 2023 4:45 pm -I'm not sure if the records are still updated.
Why do you think that?

Benji60 wrote: Thu 08 Jun 2023 4:45 pm -Older NOAA reports are no longer displayed (only blocked for June 2023)
The older NOAA reports will not be generated with a new install. You need to set the Records Began Date (Station Settings=>Advanced Options). If you don't have the backup of the reports in their proper directories you have to move those yourself. The CMX will pick it up from there.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: CumulusUtils divers issues after a crash

Post by freddie »

SamiS wrote: Fri 09 Jun 2023 4:28 pm Kind of a step to the same direction as in windows you have to explicitly elevate programs to get administrator permissions.
That is precisely what "sudo" is for - and I rather think Windows borrowed that concept from Linux/Unix as it was originally conceived in the 1980s.

There is no way to bar root from any part of the FS without barring everybody. It's best to never use the root user except when elevated privilege is required - and that's the job of sudo.

Apologies - I've gone way off topic :lol:
Freddie
Image
Benji60
Posts: 67
Joined: Mon 11 Oct 2021 12:38 pm
Weather Station: HP1000 Froggit Pro
Operating System: Windows 10

Re: CumulusUtils divers issues after a crash

Post by Benji60 »

Thank you very much for the answers, I'll try to change all that tomorrow.
I think the records are out of date, because for example I've had more than 20 days without rain (not even 0.1mm) and that's not updated in the records.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: CumulusUtils divers issues after a crash

Post by HansR »

That will be solved in the next release to be published shortly.
See viewtopic.php?t=21344
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Benji60
Posts: 67
Joined: Mon 11 Oct 2021 12:38 pm
Weather Station: HP1000 Froggit Pro
Operating System: Windows 10

Re: CumulusUtils divers issues after a crash

Post by Benji60 »

ah great!
Benji60
Posts: 67
Joined: Mon 11 Oct 2021 12:38 pm
Weather Station: HP1000 Froggit Pro
Operating System: Windows 10

Re: CumulusUtils divers issues after a crash

Post by Benji60 »

I've just modified everything and it looks fine.
Thanks a lot!
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: CumulusUtils divers issues after a crash

Post by HansR »

good :D
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Post Reply