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
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
Help for an Ubuntu novice please
Moderator: mcrossley
-
- Posts: 16
- Joined: Fri 20 Aug 2021 7:21 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows 10
- Location: Kelso, Scotland
Help for an Ubuntu novice please
I'm a complete novice with Ubuntu and am struggling to get CumulusMX set up on a new Ubuntu system. I think my problems may be principally stemming from a Windows mindset, but I've spent hours without success on Ubuntu and am obviously doing something wrong.
I've followed the wiki and installed Mono - I think successfully. I then unzipped CumulusMX into a folder named CumulusMX. User name is ryder. In the directory structure I can see the exe in home/ryder/cumulusmx. So far so good. I then use
sudo mono /home/ryder/cumulusmx/cumulusmx.exe -service
but get the response
'Cannot open assembly '/home/ryder/cumulusmx/cumulusmx.exe': No such file or directory.'
I've tried with and without the first /. Nothing works.
Can anyone suggest what I'm doing wrong? I'm close to giving up and going back to Windows!
I've followed the wiki and installed Mono - I think successfully. I then unzipped CumulusMX into a folder named CumulusMX. User name is ryder. In the directory structure I can see the exe in home/ryder/cumulusmx. So far so good. I then use
sudo mono /home/ryder/cumulusmx/cumulusmx.exe -service
but get the response
'Cannot open assembly '/home/ryder/cumulusmx/cumulusmx.exe': No such file or directory.'
I've tried with and without the first /. Nothing works.
Can anyone suggest what I'm doing wrong? I'm close to giving up and going back to Windows!
-
- Posts: 374
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: Help for an Ubuntu novice please
For a Windows user the first thing to notice is that linux is case sensitive. So check your folder names and file names and use capital letters accordingly.
-
- Posts: 16
- Joined: Fri 20 Aug 2021 7:21 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows 10
- Location: Kelso, Scotland
Re: Help for an Ubuntu novice please
That helped, thank you, but I still have problems. I have mono installed, and tried the foillowing -
$ sudo mono /home/ryder/CumulusMX/CumulusMX.exe
System.IO.DirectoryNotFoundException: Could not find a part of the path '/home/ryder/MXdiags'.
at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x00032] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00048] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable`1[TResult] enumerable) [0x00000] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Enumeration.FileSystemEnumerable`1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x0003c] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Directory.GetFiles (System.String path) [0x0000b] in <533173d24dae460899d2b10975534bb0>:0
at CumulusMX.Cumulus.GetLoggingFileName (System.String directory) [0x00000] in <b13b7fbc0f8a48f28a0f7e2233d4bcc3>:0
at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Boolean DebugEnabled, System.String startParms) [0x01156] in <b13b7fbc0f8a48f28a0f7e2233d4bcc3>:0
at CumulusMX.Program.RunAsAConsole (System.Int32 port, System.Boolean debug) [0x00048] in <b13b7fbc0f8a48f28a0f7e2233d4bcc3>:0
at CumulusMX.Program.Main (System.String[] args) [0x00529] in <b13b7fbc0f8a48f28a0f7e2233d4bcc3>:0
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
The MXdiags folder is empty.
This is much more complicated than Windows! What can I do now?
$ sudo mono /home/ryder/CumulusMX/CumulusMX.exe
System.IO.DirectoryNotFoundException: Could not find a part of the path '/home/ryder/MXdiags'.
at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x00032] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00048] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable`1[TResult] enumerable) [0x00000] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Enumeration.FileSystemEnumerable`1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x0003c] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.Directory.GetFiles (System.String path) [0x0000b] in <533173d24dae460899d2b10975534bb0>:0
at CumulusMX.Cumulus.GetLoggingFileName (System.String directory) [0x00000] in <b13b7fbc0f8a48f28a0f7e2233d4bcc3>:0
at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Boolean DebugEnabled, System.String startParms) [0x01156] in <b13b7fbc0f8a48f28a0f7e2233d4bcc3>:0
at CumulusMX.Program.RunAsAConsole (System.Int32 port, System.Boolean debug) [0x00048] in <b13b7fbc0f8a48f28a0f7e2233d4bcc3>:0
at CumulusMX.Program.Main (System.String[] args) [0x00529] in <b13b7fbc0f8a48f28a0f7e2233d4bcc3>:0
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
The MXdiags folder is empty.
This is much more complicated than Windows! What can I do now?
- rogerthn
- Posts: 514
- 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: Help for an Ubuntu novice please
Try
and then
or
Code: Select all
cd /home/ryder/CumulusMX/
Code: Select all
sudo mono /home/ryder/CumulusMX/CumulusMX.exe
Code: Select all
sudo mono CumulusMX.exe
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Help for an Ubuntu novice please
There was a folder missing from the zip file (added now), you need to create it manually ....
See this topic.. viewtopic.php?f=40&t=19692&sid=e7a83a12 ... 9b9220648e
Code: Select all
md /home/ryder/CumulusMX/MXdiags
- Buford T. Justice
- Posts: 423
- Joined: Fri 17 Aug 2012 9:21 pm
- Weather Station: Ecowitt GW1002
- Operating System: Windows 11 Pro
- Location: USA
Re: Help for an Ubuntu novice please
You also might not want to run it as sudo or you will have files and folders that cannot be easily deleted. This happened to me the other day.
1) Hold down CTRL + ALT then press T to open the Terminal.
2) cd CumulusMX
3) mono CumulusMX.exe
1) Hold down CTRL + ALT then press T to open the Terminal.
2) cd CumulusMX
3) mono CumulusMX.exe
-
- Posts: 225
- Joined: Sat 27 Aug 2016 12:11 am
- Weather Station: Davis vantage pro 2
- Operating System: Debian
- Location: Wickliffe, Ohio
- Contact:
Re: Help for an Ubuntu novice please
There was a reason for running as root, maybe things have changed but had to do with reading from usb, or might have been something with an older version of mono, well if it works without sudo then great, then you can just change the permissions on the files within cumulus folder then you will be able to edit or do whatever as a user.
that will do the trick
Code: Select all
sudo chown -R username:groupname /home/user/CumulusMX/*
Jeff
My Site http://wickliffeweather.com/
WeatherUnderground https://www.wunderground.com/personal-w ... KOHYOUNG21
My Site http://wickliffeweather.com/
WeatherUnderground https://www.wunderground.com/personal-w ... KOHYOUNG21
- philpugh
- Posts: 384
- Joined: Tue 24 May 2011 8:34 am
- Weather Station: See Signature
- Operating System: Debian 11 (RPi4)
- Location: Antrobus, Cheshire, UK
- Contact:
Re: Help for an Ubuntu novice please
The way to stop using root to start CumulusMX is to add your user to the dialout group. By default the COM ports (including USB to Serial) are owned by root.There was a reason for running as root
Code: Select all
sudo usermod -a -G dialout $USER
Phil Pugh
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/
-
- Posts: 16
- Joined: Fri 20 Aug 2021 7:21 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows 10
- Location: Kelso, Scotland
Re: Help for an Ubuntu novice please
Very many thanks for the help received. I now have CumulusMX running as a service on Ubuntu.
Website hosting next. I hope. My limited knowledge may make that challenging.
Website hosting next. I hope. My limited knowledge may make that challenging.