Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
(Note that 4.1.0 (build 4024) - 05 June 2024 remains available, but usage of this version is not recommended - particularly for Davis stations - and the included utility in this distribution for migrating to v4 is known to contain errors affecting conversion of dayfile.txt)
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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
(Note that 4.1.0 (build 4024) - 05 June 2024 remains available, but usage of this version is not recommended - particularly for Davis stations - and the included utility in this distribution for migrating to v4 is known to contain errors affecting conversion of dayfile.txt)
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
How to start CumulusMX with dotnet in linux
Moderator: mcrossley
-
- Posts: 81
- Joined: Sun 12 Aug 2018 4:52 pm
- Weather Station: Davies Vantage Vue
- Operating System: Linux Ubuntu
Re: How to start CumulusMX with dotnet in linux
Thanks, and I have got CumulusMX 4022 running. I had to use sudo dotnet CumulusMX.dll to do so.
I'll add it as a service later.
I just tried adding it as a service and now get this error :
Invalid command line argument "[port"
This my line: sudo dotnet CumulusMX.dll -install -user rob [-port 8998 ]
I removed [-port 8998] as the valid argument of port defaults to 8998 , and now Cumulus is running as a service.
I take it that means it will now run automatically with no user input.
I'll add it as a service later.
I just tried adding it as a service and now get this error :
Invalid command line argument "[port"
This my line: sudo dotnet CumulusMX.dll -install -user rob [-port 8998 ]
I removed [-port 8998] as the valid argument of port defaults to 8998 , and now Cumulus is running as a service.
I take it that means it will now run automatically with no user input.
- HansR
- Posts: 6070
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: How to start CumulusMX with dotnet in linux
Don't use the square brackets: they indicate optional arguments. When you use the argument you do not write the [ ]
And note my previous remark on the ownership of the files (root or other) with regard to the use of sudo.
And note my previous remark on the ownership of the files (root or other) with regard to the use of sudo.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 81
- Joined: Sun 12 Aug 2018 4:52 pm
- Weather Station: Davies Vantage Vue
- Operating System: Linux Ubuntu
Re: How to start CumulusMX with dotnet in linux
I used square brackets because it did so in the link. What should I have done.
- HansR
- Posts: 6070
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: How to start CumulusMX with dotnet in linux
Maybe it could be explained what square brackets mean.
You're OK now, don't worry be happy.
Just remove the brackets in your commandline.
You're OK now, don't worry be happy.
Just remove the brackets in your commandline.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 81
- Joined: Sun 12 Aug 2018 4:52 pm
- Weather Station: Davies Vantage Vue
- Operating System: Linux Ubuntu
Re: How to start CumulusMX with dotnet in linux
As I said I have added CumulusMX 4022 as a service, but after a reboot of my LM system, nothing happened. When the desktop came back CumulsMX didn't launch, so I had to start it manually.
So what should have happened.
Thanks
So what should have happened.
Thanks
- mcrossley
- Posts: 12962
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: How to start CumulusMX with dotnet in linux
Did you do this step?
To make the service start when you server boots, use the command:Code: Select all
systemctl enable cumulusmx
-
- Posts: 81
- Joined: Sun 12 Aug 2018 4:52 pm
- Weather Station: Davies Vantage Vue
- Operating System: Linux Ubuntu
Re: How to start CumulusMX with dotnet in linux
oops, no I didn't.
Done now tho'
Thanks
Done now tho'
Thanks
-
- Posts: 81
- Joined: Sun 12 Aug 2018 4:52 pm
- Weather Station: Davies Vantage Vue
- Operating System: Linux Ubuntu
Re: How to start CumulusMX with dotnet in linux
After anther restart of the system, cumulusmx still didn't start up. Oh well.
What else needs to be done to get it running without user input
What else needs to be done to get it running without user input
- rogerthn
- Posts: 529
- 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: How to start CumulusMX with dotnet in linux
What do you get from
Code: Select all
systemctl status cumulusmx.service
● cumulusmx.service - CumulusMX service
Loaded: loaded (/etc/systemd/system/cumulusmx.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2024-05-11 16:31:03 CEST; 3 days ago
Docs: https://cumuluswiki.org/a/Main_Page
https://cumulus.hosiene.co.uk/
Main PID: 4116910 (dotnet)
Tasks: 17 (limit: 3932)
CPU: 17h 42min 15.372s
CGroup: /system.slice/cumulusmx.service
└─4116910 /usr/share/dotnet/dotnet CumulusMX.dll -service -port 9889
May 11 16:31:03 PI4202201 systemd[1]: Started CumulusMX service.
May 11 16:31:05 PI4202201 dotnet[4116910]: Cumulus running at: http://localhost:9889/
May 11 16:31:07 PI4202201 dotnet[4116910]: 11/05/2024 16:31:07
May 11 16:31:07 PI4202201 dotnet[4116910]: Type Ctrl-C to terminate
-
- Posts: 81
- Joined: Sun 12 Aug 2018 4:52 pm
- Weather Station: Davies Vantage Vue
- Operating System: Linux Ubuntu
Re: How to start CumulusMX with dotnet in linux
See the screenshot, and it looks different from yours??
You do not have the required permissions to view the files attached to this post.
- rogerthn
- Posts: 529
- 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: How to start CumulusMX with dotnet in linux
hmm??
Upload of latest MXdiags-file might help.
For those that understand what they contain
Upload of latest MXdiags-file might help.
For those that understand what they contain
-
- Posts: 81
- Joined: Sun 12 Aug 2018 4:52 pm
- Weather Station: Davies Vantage Vue
- Operating System: Linux Ubuntu
Re: How to start CumulusMX with dotnet in linux
Ok thanks.
I've zipped them up as a tar.gz file
I've zipped them up as a tar.gz file
You do not have the required permissions to view the files attached to this post.
- HansR
- Posts: 6070
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: How to start CumulusMX with dotnet in linux
Your MXdiags shows a ServiceConsoleLog.txt and a ServiceConsoleLog-Old.txt. The latter is from the first run which apparently has not been stopped so you are likely running two CMX instances at the same time.
And indeed the two logfiles are both updating. CMX (the 2nd instance) tried to stop the first but failed.
Check why it would start two instances at the startup of the machine.
If I were you I would stop both instance manually and restart.
Then see what happens.
And indeed the two logfiles are both updating. CMX (the 2nd instance) tried to stop the first but failed.
Check why it would start two instances at the startup of the machine.
If I were you I would stop both instance manually and restart.
Then see what happens.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- rogerthn
- Posts: 529
- 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: How to start CumulusMX with dotnet in linux
What do you get from
Code: Select all
ps -ef | grep CumulusMX | grep -v grep
-
- Posts: 81
- Joined: Sun 12 Aug 2018 4:52 pm
- Weather Station: Davies Vantage Vue
- Operating System: Linux Ubuntu
Re: How to start CumulusMX with dotnet in linux
How do I check the 2 instances, or where.
While you mention it ,I noticed earlier when I started CumulusMX 4022 from a console, it did show 2 instances of Downloading Archive Data. It didn't do that yesterday.
Thanks
While you mention it ,I noticed earlier when I started CumulusMX 4022 from a console, it did show 2 instances of Downloading Archive Data. It didn't do that yesterday.
Thanks