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

Adding CloudBase charts stop other chaarts functioning correctly

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

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: Adding CloudBase charts stop other chaarts functioning correctly

Post by HansR »

Apparently you have the RPi connected with a keyboard and a screen, I have a headless install.
No way I can reproduce what you describe so I can't simply extract by a right mouse click. If I unzip CMX from the command line, the x bit is not set.
I'll await a reply by Mark and maybe continue otherwise I suggest we abandon this at the moment, maybe pick it up some time later off line.

[EDIT] though if I look in the xarchiver (over VNC) I can see the x bit is set for CMX and so it is for CumulusUtils. I don't see a fundamental difference between those two archives.
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: Adding CloudBase charts stop other chaarts functioning correctly

Post by freddie »

MX and Cutils are not executed by Linux, so do not need the x bit set - they are executed by mono in the mono environment. It is mono that is executed by Linux (and needs the X bit setting - but that happens on install). I have never had the X bit set on MX or Cutils.

The permissions error you see must be due to something else.
Freddie
Image
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: Adding CloudBase charts stop other chaarts functioning correctly

Post by HansR »

freddie wrote: Sun 27 Feb 2022 10:47 am MX and Cutils are not executed by Linux, so do not need the x bit set - they are executed by mono in the mono environment. It is mono that is executed by Linux (and needs the X bit setting - but that happens on install). I have never had the X bit set on MX or Cutils.

The permissions error you see must be due to something else.
When mono is already active (as daemon or from command line in another process) you can start any mono executable without having it prepended by the mono command. As normally (if you did not uninstall it) xsp4 is running as a daemon, mono is always available so you can run mono executables as normal linux executables. You won't notice the difference.

However if you don't have the x bit set, you get access refused when trying to execute.

Without the x bit set you have to prepend mono as in :

Code: Select all

mono utils/bin/cumulusutils.exe
Then it executes without the x bit set because then it is an argument to the mono command.

So it is most likely that Andy has CMX running as a service (where is starts with prepending mono-service) and runs CUtils without the mono command (requiring it to have the x bit set).

(must prepend be precede :?: )
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
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: Adding CloudBase charts stop other chaarts functioning correctly

Post by AndyKF650 »

Hi Hans

There gloom has been raised and a solution now found! :)

Looking at Freddies reply going on about mono and the fact that I do start CMX with a service as described in the MXutils/linux folder which presumably starts CMX under mono. The comment then went on, without actually giving a pathway, to imply that CUtils also needs to run under mono. It makes sense when you stop and think about it.

The answer is to do the initial CUtils website run using sudo mono utils/..... from the CumulusMX folder in terminal session.

The following lines are extracted from the terminal session showing the faulty start process followed by the successful start process

pi@andykpi:~/CumulusMX $ utils/bin/cumulusutils.exe website
bash: utils/bin/cumulusutils.exe: Permission denied
pi@andykpi:~/CumulusMX $ sudo mono utils/bin/cumulusutils.exe website
2022-02-27 11:44:17.898 CumulusUtils version: 6.7.10

Well I think that is another problem solved, what is the next one!
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: Adding CloudBase charts stop other chaarts functioning correctly

Post by freddie »

HansR wrote: Sun 27 Feb 2022 11:24 am When mono is already active (as daemon or from command line in another process) you can start any mono executable without having it prepended by the mono command. As normally (if you did not uninstall it) xsp4 is running as a daemon, mono is always available so you can run mono executables as normal linux executables. You won't notice the difference.

However if you don't have the x bit set, you get access refused when trying to execute.
Thanks Hans, I did not know this. Every day is a school day :)
HansR wrote: Sun 27 Feb 2022 11:24 am(must prepend be precede :?: )
In this case they are interchangeable. Prepend is "attach to the beginning of something"; precede is "be before something".
Freddie
Image
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: Adding CloudBase charts stop other chaarts functioning correctly

Post by HansR »

freddie wrote: Sun 27 Feb 2022 12:07 pm
HansR wrote: Sun 27 Feb 2022 11:24 am(must prepend be precede :?: )
In this case they are interchangeable. Prepend is "attach to the beginning of something"; precede is "be before something".
Thnx, Every is a school day :lol:
AndyKF650 wrote: Sun 27 Feb 2022 12:02 pm ...what is the next one!
That was the last one :lol:

[EDIT] I'll modify the Wiki to clarify this mono commandline subject
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