Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

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

water01
Posts: 3258
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by water01 »

I use SFTP and requires a full path.

If you login using FileZilla the full path is obvious as it is in the line that says Remote site.

If you were to follow normal FTP that would read in my case /public_html/weatherbos/ but

SFTP requires the complete server path which in my case is /home/dmjsyste/public_html/weatherbos

I would take a look at your FileZilla path when logged in as SFTP and use that path.
David
Image
Rylands
Posts: 55
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by Rylands »

@water01
I use SFTP and requires a full path.
Is this when using SFTP to connect to your pi? I use FTP when I connect to my site. This works flawlessly when running Cumulus on my PC, but if I stop Cumulus and run it on the pi **with the same settings** it fails to ftp the files.
If you login using FileZilla the full path is obvious as it is in the line that says Remote site.
When I connect to my pi using Filezilla, I can only see Host (IP address of my pi), Logon Type, user and password. When I connect to my site with FTP, I also have Encryption.

Sorry... very confused!!!
User avatar
rogerthn
Posts: 518
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by rogerthn »

Once you are connected with FileZilla you should have something like
Screenshot 2023-02-03 093355.png
If you navigate in Remote site you should be able to find CumulusMX files somewhere and when you have find those files you will have The Full Path
You do not have the required permissions to view the files attached to this post.
Image
Rylands
Posts: 55
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by Rylands »

My FileZilla connection shows my remote site path as /home/pi/CumulusMX.

My pi is connected at sftp://pi@192.168.1.45

My website is connected via ftp at (host) eyesontheweather.com.au, user weather@eyesontheweather.com.au

Cumulus settings are

host name:eyesontheweather.com.au
FTP Protocol: 0 - Plain old FTP
Port :21
remote ftp directory: /public_html/weather
username : weather@eyesontheweather.com.au
password: ******

When I run Cumulus on my PC using these settings - files upload. I can see in the weather subdirectory updated files. They don't upload when using these settings when Cumulus is shutdown on PC, and running on Pi. What am I doing wrong?
User avatar
rogerthn
Posts: 518
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by rogerthn »

You are NOT using SFTP to update your weather site
Rylands wrote: Fri 03 Feb 2023 10:26 am ...
host name:eyesontheweather.com.au
FTP Protocol: 0 - Plain old FTP
Port :21
remote ftp directory: /public_html/weather
username : weather@eyesontheweather.com.au
password: ******
...
Can you try as below from PI?

Code: Select all

ftp eyesontheweather.com.au
If you get
ftp: command not found
Try

Code: Select all

sudo apt install ftp
And retry

Code: Select all

ftp eyesontheweather.com.au
Image
Rylands
Posts: 55
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by Rylands »

Thanks so much @rogerthn for these instructions.

It appears that ftp wasn't installed, and installing it now seems to be 100% working...

(note to Moderator.. perhaps we could mention this somewhere as a potential issue???)

Again - thanks to ALL for your persistence and assistance!!!

I am now up and running using a Meteotemplate at eyesontheweather.com.au!!!!
kermy666
Posts: 3
Joined: Thu 09 Mar 2023 7:23 am
Weather Station: Ecowitt 2551
Operating System: Windows 10

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by kermy666 »

Hey all. Im very new to Raspberry PI, Linux and CumulusMX. I've spent a couple of days on this (trapped at home due to mild COVID) and I think Im close.

I am using a brand new (freshly downloaded) preinstalled raspian lite image running on a Pi Zero W V1 (2017) with nothing attached.
On first startup I can telnet in but the CumulusMX web page is not accessible.
Mono -V gives me version 6.12.0.182
sudo systemctl status cumulusmx fails with:
cmx@raspberrypi:~ $ sudo systemctl status cumulusmx
● cumulusmx.service - CumulusMX service
Loaded: loaded (/etc/systemd/system/cumulusmx.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Thu 2023-03-09 16:25:33 GMT; 3min 18s ago
Docs: https://cumuluswiki.org/a/Main_Page
Process: 541 ExecStopPost=/bin/rm -f /tmp/CumulusMX.exe.lock (code=exited, status=0/SUCCESS)
Main PID: 479 (code=killed, signal=ABRT)
CPU: 8.950s

Mar 09 16:25:06 raspberrypi systemd[1]: Starting CumulusMX service...
Mar 09 16:25:06 raspberrypi systemd[1]: Started CumulusMX service.
Mar 09 16:25:33 raspberrypi systemd[1]: cumulusmx.service: Main process exited, code=killed, status=6/ABRT
Mar 09 16:25:33 raspberrypi systemd[1]: cumulusmx.service: Failed with result 'signal'.
Mar 09 16:25:33 raspberrypi systemd[1]: cumulusmx.service: Consumed 8.950s CPU time.
On advice of this thread, I then tried the suggested commands to remove and install mono again:
sudo apt remove mono-complete
sudo apt install mono-complete

Both commands complete without error although it takes less than a minute and only changes 62.5kb of data. On install I get a message suggesting mono-llvm-support package be installed but I'll wait to hear from someone here before I attempt that.

A reboot and CumulusMX is still not running.
Anyone have any ideas? I expect its because of the older PI zero W board but of course all PI's are out of stock right now so I can't test that theory.
Thanks
Gary
SamiS
Posts: 382
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: Thu 09 Mar 2023 4:59 pm I am using a brand new (freshly downloaded) preinstalled raspian lite image running on a Pi Zero W V1 (2017) with nothing attached.
On first startup I can telnet in but the CumulusMX web page is not accessible.
By preinstalled image do you mean the image that has CumulusMX preinstalled? Recently there was a case also with an older pi, that ”our” CMX image just did not work whatever we tried. It was resolved by installing official Raspberry OS Lite and installing CumulusMX to it manually.


Sami
User avatar
dazza1223
Posts: 867
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 »

I think Ive seen that u have to fully remove mono on the pi zero then reinstall mono to recompile it
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
SamiS
Posts: 382
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 »

dazza1223 wrote: Thu 09 Mar 2023 8:52 pm I think Ive seen that u have to fully remove mono on the pi zero then reinstall mono to recompile it
Yes, but doesn’t this do full reinstall?

sudo apt remove mono-complete
sudo apt install mono-complete

Or does it need something like sudo apt autoremove or purge or something else?
User avatar
dazza1223
Posts: 867
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 »

Yes do the purge to fully remove it and then install again and see if that works
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
kermy666
Posts: 3
Joined: Thu 09 Mar 2023 7:23 am
Weather Station: Ecowitt 2551
Operating System: Windows 10

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by kermy666 »

SamiS wrote: Thu 09 Mar 2023 8:57 pm
dazza1223 wrote: Thu 09 Mar 2023 8:52 pm I think Ive seen that u have to fully remove mono on the pi zero then reinstall mono to recompile it
Yes, but doesn’t this do full reinstall?

sudo apt remove mono-complete
sudo apt install mono-complete

Or does it need something like sudo apt autoremove or purge or something else?
Yup I have an older PI Zero W so Im sure this is the problem in using the precompiled Pi Image with builtin CumulusMX...
I am trying to do a complete new built using the raspian image now... The mono compile has been going for a couple of hours already so this is definitely different than just apt remove and install. I am on day 3 of using a linux command line so I know nothing but seem to be making headway.

Even if I get things working in the fresh rebuild, I'd like to rely on the community built package for my final run... If someone knows the command to actually recompile mono, please let me know and I'll that.
Is it sudo apt purge mono-complete
???
User avatar
dazza1223
Posts: 867
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 »

Or maybe as I've took over off creating the prebuilt images make a separate image for pi zero without mono installed so all you have to do then just have to install mono specially?
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
Rylands
Posts: 55
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by Rylands »

I had an issue similar to this recently. What I did was to completely delete all the files on the pi. Using the imager, I then chose Raspberry Pi OS (32-bit) - the very first option in the list.

Then by following the instructions from "Continue from here if you used 'Raspberry Pi Imager' installation", I was able to get Cumulus to work.

The trick for me was not to use the prebuilt imager.

Hope this helps :D
kermy666
Posts: 3
Joined: Thu 09 Mar 2023 7:23 am
Weather Station: Ecowitt 2551
Operating System: Windows 10

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by kermy666 »

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