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

Instructions: Installing CumulusMX on Raspberry Pi

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

SamiS
Posts: 350
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post 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?
BigOkie
Posts: 272
Joined: Tue 28 May 2013 1:06 am
Weather Station: Davis VP2 Plus
Operating System: Raspian Buster (RPi 3b)
Location: Tulsa, OK

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post 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.
Nossie
Posts: 316
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post 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.
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
ea5xq
Posts: 21
Joined: Sat 25 Mar 2023 11:50 am
Weather Station: W8661
Operating System: MacOS

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post 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
User avatar
mcrossley
Posts: 12569
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post 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.
Stefano G
Posts: 7
Joined: Sun 30 Jun 2019 8:17 am
Weather Station: Davis VP2
Operating System: Raspbian

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post 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
freddie
Posts: 2406
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post 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
Freddie
Image
User avatar
mcrossley
Posts: 12569
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by mcrossley »

We really need to get the images changed to run Cumulus under the cmx user though.
@dazza?
User avatar
dazza1223
Posts: 854
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by dazza1223 »

yep mark im on doing this over the week end sorry been so busy with work
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
mcrossley
Posts: 12569
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by mcrossley »

👍🏼
User avatar
dazza1223
Posts: 854
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by dazza1223 »

Any thoughts before I do this who wants Bookworm or leve it as it is?
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
AndyKF650
Posts: 684
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv4 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by AndyKF650 »

Hi Dazza

Bookworm 64 bit works well for me on a RPi v4 and has been running since November with no issues
Stefano G
Posts: 7
Joined: Sun 30 Jun 2019 8:17 am
Weather Station: Davis VP2
Operating System: Raspbian

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post 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!
freddie
Posts: 2406
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post 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.
Freddie
Image
djohnson1810
Posts: 5
Joined: Fri 19 May 2017 3:18 pm
Weather Station: Vantage Pro 2
Operating System: An old laptop running XP

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post 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?
Post Reply