Page 16 of 17

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Fri 10 Mar 2023 9:34 pm
by SamiS
kermy666 wrote: Fri 10 Mar 2023 12:40 am It takes a while but for those who have an older Pi Zero W you can use the prebuilt Raspian Lite/CumulusMx Image as long as you run the two following commands to recompile Mono

Code: Select all

sudo apt purge mono-complete
sudo apt install mono-complete
I actually fixed things by running

Code: Select all

sudo apt remove mono-complete
sudo apt autoremove
sudo apt install mono-complete 
but I expect the best option is to use purge.
A restart is required and then things seem to be working.
Thanks for everyone's help!
Excellent. @dazza1223 what if you added some kind of a readme file to the boot partition or user home directory containing the info required to get it running on Pi1 and Pi zero?

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Sun 12 Mar 2023 12:50 am
by BigOkie
kermy666 wrote: Fri 10 Mar 2023 12:40 am
dazza1223 wrote: Thu 09 Mar 2023 9:02 pm Yes do the purge to fully remove it and then install again and see if that works
It takes a while but for those who have an older Pi Zero W you can use the prebuilt Raspian Lite/CumulusMx Image as long as you run the two following commands to recompile Mono

Code: Select all

sudo apt purge mono-complete
sudo apt install mono-complete
I actually fixed things by running

Code: Select all

sudo apt remove mono-complete
sudo apt autoremove
sudo apt install mono-complete 
but I expect the best option is to use purge.
A restart is required and then things seem to be working.
Thanks for everyone's help!
From my understanding purge does the same thing as remove/autoremove. Just saves one command line.

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Sun 12 Mar 2023 1:07 am
by Nossie
No - that's wrong

Apt remove - removes the app and other crap you installed with it (sometimes the whole desktop environment if you are not careful)

However if you then go back and install it again, your configs from the previous install are still there, so if you had an issue with something it might not be fixed

apt purge - purges the user configs etc as well, basically resetting it to a default install. (not including files created in user home folders)

Sorry - I'm not always a pedant, but I felt this needed corrected hehe.

autoremove - can then go back over something with orphaned dependencies that were not needed when the app was removed.

https://itsfoss.com/apt-remove-purge/#: ... pendencies.

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Sun 16 Jul 2023 9:59 pm
by ea5xq
CMX is running in RaspBerryPi 1 and it works fine, however I am finding the following messages (just realized now)

2023-07-15 22:08:14.784 Failed to get the latest build version from GitHub
2023-07-15 22:08:14.845 Failed to get the latest build version from GitHub - Exception Type: System.Threading.Tasks.TaskCancele
dException
Message: The operation was canceled.
Inner Exception...
Exception Type: System.Security.Authentication.AuthenticationException
Message: Authentication failed, see inner exception.
Inner Exception...

How could I know the reason of the problem?

Thanks

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Mon 17 Jul 2023 3:35 pm
by mcrossley
Is this your own image with CMX installed manually, or the downloadable CMX customised image?

If the former, I'd try the steps in this post first.

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Fri 02 Feb 2024 11:30 am
by Stefano G
Good morning, I have a problem with the pre-built Raspberry Pi Image: when the new installation of CumulusMX starts for the first time it creates "Data" and "Reports" folders and also the cumulus.ini file but the owner appears to be the "root" user who however does not exist. So when I have to overwrite the aforementioned folders with those containing my data, I can't do it because the cmx user doesn't have permissions. And I can't change permissions because I can't log in as root user. Can anyone help me? Thank you

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Fri 02 Feb 2024 3:08 pm
by freddie
If you log in as cmx user then type

Code: Select all

sudo su
and supply your cmx user password, you become the root user.

Alternatively, prefix all your commands with sudo and they will be run as if the root user was running them. For example:

Code: Select all

sudo chown -R cmx:cmx /opt/CumulusMX

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Fri 02 Feb 2024 3:14 pm
by mcrossley
We really need to get the images changed to run Cumulus under the cmx user though.
@dazza?

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Fri 02 Feb 2024 3:18 pm
by dazza1223
yep mark im on doing this over the week end sorry been so busy with work

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Fri 02 Feb 2024 6:25 pm
by mcrossley
👍🏼

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Fri 02 Feb 2024 7:00 pm
by dazza1223
Any thoughts before I do this who wants Bookworm or leve it as it is?

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Fri 02 Feb 2024 8:19 pm
by AndyKF650
Hi Dazza

Bookworm 64 bit works well for me on a RPi v4 and has been running since November with no issues

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Sat 03 Feb 2024 7:34 am
by Stefano G
freddie wrote: Fri 02 Feb 2024 3:08 pm If you log in as cmx user then type

Code: Select all

sudo su
and supply your cmx user password, you become the root user.

Alternatively, prefix all your commands with sudo and they will be run as if the root user was running them. For example:

Code: Select all

sudo chown -R cmx:cmx /opt/CumulusMX
Solved, thanks!

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Sat 03 Feb 2024 8:37 am
by freddie
Great. Don't forget to change the service config too, so that MX gets run as the cmx user - otherwise you'll experience similar issues in the future.

Edit (as root) /etc/systemd/system/cumulusmx.service so that the user and group items are changed from root to cmx.

Re: Instructions: Installing CumulusMX on Raspberry Pi

Posted: Mon 26 Feb 2024 4:48 pm
by djohnson1810
It appears pretty straight forward installing cumulus on the Pi, but I am looking for for instructions on how to hook up my VP2 to the pi. Right now I have it hooked up to my PC with the Davis Weather Link logger. How do I get my VP2 to talk to the pi?