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

cumulusmx.service

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

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: cumulusmx.service

Post by freddie »

That is starting CumulusMX via systemd. I meant starting the mono service itself in a terminal. Try this:

Code: Select all

/usr/bin/mono-service -l:/tmp/CumulusMX.exe.lock -d:/home/install/CumulusMX CumulusMX.exe -service
Freddie
Image
ChaserPeek
Posts: 40
Joined: Sun 22 Nov 2020 6:53 pm
Weather Station: Davis Vp2
Operating System: Windows10

Re: cumulusmx.service

Post by ChaserPeek »

Thanks Freddie

I tried (with name folder fixed) :

Code: Select all

/usr/bin/mono-service -l:/tmp/CumulusMX.exe.lock -d:/home/ubuntu/CumulusMX CumulusMX.exe -service
And IT WORKS! with terminal off also. :D

Well, can I run this command after booting of OS, like a demon... and Can I kill it without reboot ? I don't know if I used the right words to explain

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

Re: cumulusmx.service

Post by mcrossley »

Did you edit the service file before or after copying it to /etc/system/systemd?

If after, then you will need to run the command

Code: Select all

sudo systemctl daemon-reload
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: cumulusmx.service

Post by freddie »

ChaserPeek wrote: Fri 11 Dec 2020 2:41 pmAnd IT WORKS! with terminal off also. :D
This means that it is all working apart from the systemd bit. As mcrossley says, if you did any editing of the cumulusmx.service file then you need to run the command he mentions to refresh the systemd configuration.
Freddie
Image
ChaserPeek
Posts: 40
Joined: Sun 22 Nov 2020 6:53 pm
Weather Station: Davis Vp2
Operating System: Windows10

Re: cumulusmx.service

Post by ChaserPeek »

Yes, I tried

Code: Select all

sudo systemctl daemon-reload
but no results: I have same error after run

Code: Select all

sudo systemctl start cumulusmx
Very strange issue... Maybe is a bug of my SO ? Sorry I'm new on linux.

If you want, I can send you in PM my ip-address:22 and you can see the system. Can be a good idea ?
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: cumulusmx.service

Post by freddie »

You do not have /use/bin/mono-service on your system. I checked the version of mono installed and it is 3.1. You need to have at least mono version 5. You should also ensure you have installed the mono-complete package.
Freddie
Image
ChaserPeek
Posts: 40
Joined: Sun 22 Nov 2020 6:53 pm
Weather Station: Davis Vp2
Operating System: Windows10

Re: cumulusmx.service

Post by ChaserPeek »

Thanks Freddie,

I have installed mono-complete and IT WORKS ! :D

Before mono-complete I have installed mono-devel from here https://www.mono-project.com/download/s ... wnload-lin but of course I done lot of messy installation.

For now it works, but can be a good solution start over with ubuntu 20.04 and "more intelligent" installations.

Thank you for now ! ;)
ChaserPeek
Posts: 40
Joined: Sun 22 Nov 2020 6:53 pm
Weather Station: Davis Vp2
Operating System: Windows10

Re: cumulusmx.service

Post by ChaserPeek »

Hey Guys, can I ask if is possible to run Cumulus as service but with different port, example 8080

I have tried

Code: Select all

ExecStart=/usr/bin/mono-service -d:/home/ubuntu/CumulusMX CumulusMX.exe  -port 8080 -service
but not works, I have CumulusMX running always on 8998
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: cumulusmx.service

Post by mcrossley »

Did you reload the systemctl daemon after editing the file?
ChaserPeek
Posts: 40
Joined: Sun 22 Nov 2020 6:53 pm
Weather Station: Davis Vp2
Operating System: Windows10

Re: cumulusmx.service

Post by ChaserPeek »

Thanks Mcrossley, IT WORKS ! :D
Post Reply