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

How to start CumulusMX with dotnet in linux

From Cumulus MX version 3 build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since, and has recently released Cumulus MX version 4. 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

avvy65
Posts: 84
Joined: Sun 12 Aug 2018 4:52 pm
Weather Station: Davies Vantage Vue
Operating System: Linux Ubuntu

How to start CumulusMX with dotnet in linux

Post by avvy65 »

I have been using CumulusMX for a number of years on my Linux Mint computer. I use mono to start the program , ie 'sudo mono CumulusMX.exe'
Now as CumulusMX is updated to 4022 I want to know how to start it with dotnet8. I haven't updated to 4022 yet as I don't know how to run CumuslusMX
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: How to start CumulusMX with dotnet in linux

Post by freddie »

Instructions: viewtopic.php?t=22051
Freddie
Image
Herbaldew
Posts: 125
Joined: Sun 12 Mar 2017 8:33 pm
Weather Station: VP2+
Operating System: Raspberry Pi OS (64-bit)
Location: US Mid-Atlantic

Re: How to start CumulusMX with dotnet in linux

Post by Herbaldew »

I don't see that on the link freddie provided, but it's "sudo dotnet CumulusMX.dll".

Yes, dll not exe. That is a first for me.
User avatar
HansR
Posts: 6926
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

Post by HansR »

The need to use sudo depends on the ownership of the CMX drectory/file structure.
If that ownership is root and you are logged in as pi (or whatever owner you use for CMX) you will need to use sudo.
If that ownership is pi and you are logged in as pi (or whatever owner you use for CMX) you don't need sudo.

It is advised not to install CMX as root.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
avvy65
Posts: 84
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

Post by avvy65 »

It seems like a lot of work to use 4022 version, from the link given.

What is the conversion program which converts the said files from v3 to v4
How can you keep? v3 to be converted to v4. I know about copying the said files to a safe place then copying them back to v4
User avatar
philpugh
Posts: 428
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Re: How to start CumulusMX with dotnet in linux

Post by philpugh »

The software to migrate the data files to V4 is mentionedin the link Freddie gave.

I would recomment studying that link fully BEFORE migrating.

FWIW you can run V3 and V4 on the same machine so once you have copied and migrated your data files you can continue to log data with your working V3 set-up and if the V4 doesn't suit then just carry on with V3 - no loss of data. DO NOT install CMX V4 in the same directory as V3!!

I migrated my three V3 systems to V4 and everything went well and I am very pleased with V4 from a performance point of view.
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
avvy65
Posts: 84
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

Post by avvy65 »

Ok thanks , but I hit my first problem
Using Migratedata3to4 returns
MuigrateData3to4: command not found.

I installed 4022 to a new CumulusMX folder, then copied the said file fro v3 to v4. I also renamed the v3 data folder to datav3 a per the instructions.
The one thing I didn't do is change the path to the v4 fiolder.
Also when I ran the command : sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
It returned failed to create a smbolic link '/usr/bin/dotnet': file already exists. I actually installed dotnet from software mamanger , rather than from the cmd line from the link. This was because of an error I encountered to do with one of the library files.

thanks
User avatar
HansR
Posts: 6926
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

Post by HansR »

avvy65 wrote: Tue 14 May 2024 8:00 am Ok thanks , but I hit my first problem
Using Migratedata3to4 returns
MuigrateData3to4: command not found.
What does the dotnet --info command show (screenshot please)?
What does ls -al Migr* in the CumulusMX directory show (screenshot please)?
Do you execute MigrateData3to4 in the CumulusMX directory?
Hoe do you startup the conversion ( the MigrateData3to4 commandline)?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
avvy65
Posts: 84
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

Post by avvy65 »

As requested
You do not have the required permissions to view the files attached to this post.
Last edited by avvy65 on Tue 14 May 2024 9:45 am, edited 2 times in total.
User avatar
mcrossley
Posts: 14384
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

Post by mcrossley »

avvy65 wrote: Tue 14 May 2024 8:00 am Ok thanks , but I hit my first problem
Using Migratedata3to4 returns
MuigrateData3to4: command not found.
That was running the command "dotnet MigrateData3to4.dll"? (note capital D).

SORRY: Cross posted!
User avatar
philpugh
Posts: 428
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Re: How to start CumulusMX with dotnet in linux

Post by philpugh »

dotnet appears to be installed ok but the first command Hans gave had a * in it the command should look like
philpi5:~/WS68 $ ls -al Migr*
-rw-r--r-- 1 phil phil 32256 May 13 11:49 MigrateData3to4.dll
-rw-r--r-- 1 phil phil 143360 May 13 11:49 MigrateData3to4.exe
-rw-r--r-- 1 phil phil 340 May 13 11:49 MigrateData3to4.runtimeconfig.json
phil@philpi5:~/WS68 $
I have CMX under the WS68 directory on my Rpi. For your system you would run it starting with…
dotnet MigrateData3to4.dll


The full command is in the instructions at the top of the V4 section of this board.

See post viewtopic.php?t=22051
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
User avatar
philpugh
Posts: 428
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Re: How to start CumulusMX with dotnet in linux

Post by philpugh »

Forgot to mention. Take a copy of all your data files BEFORE you start this - just in case!
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
avvy65
Posts: 84
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

Post by avvy65 »

Thanks.
I ran MigrateData3to4.dll this time, I forgot about .dll before, doh!
The data files were then converted to version 4.

So now they are converted, how do I actually start version 4 . Do I have to run CumulusMX as a service or can it be run any other way. I am the only person who runs and sees the data
User avatar
mcrossley
Posts: 14384
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

Post by mcrossley »

At first you could run it interactively...

Code: Select all

dotnet CumulusMX.dll
Once you are happy it is working OK, install it as a service. Running it interactively means it will stop when you logout.
User avatar
HansR
Posts: 6926
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

Post by HansR »

:D teamwork
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Post Reply