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

Linux Mono Logs Multiple Entries

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

Post Reply
User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Linux Mono Logs Multiple Entries

Post by Buford T. Justice »

I just migrated from Windows 10 to Kubuntu GNU/Linux. I installed mono-complete and got Cumulus running just fine. I decided to look at my month log and noticed entries are being repeated:

Code: Select all

11/09/21,06:00,64.8,87,60.8,1.9,4.5,163,0.00,0.00,1014.8,31.37,79.3,59,1.6,64.8,64.8,0.0,0,0.000,0.000,67.3,0,0.0,155,0.00,0.00,66.4,22.7
11/09/21,06:05,64.9,87,61.0,1.3,2.9,154,0.00,0.00,1014.6,31.37,79.5,58,0.2,64.9,64.9,0.0,0,0.000,0.000,67.9,0,0.0,137,0.00,0.00,66.9,22.9
11/09/21,06:05,64.9,87,61.0,1.2,2.9,154,0.00,0.00,1014.6,31.37,79.5,58,0.0,64.9,64.9,0.0,0,0.000,0.000,67.9,0,0.0,0,0.00,0.00,66.9,22.9
11/09/21,06:05,64.9,87,61.0,1.2,2.9,154,0.00,0.00,1014.6,31.37,79.5,58,0.0,64.9,64.9,0.0,0,0.000,0.000,67.9,0,0.0,0,0.00,0.00,67.0,22.9
11/09/21,06:10,64.8,87,60.8,0.8,2.9,127,0.00,0.00,1014.9,31.37,79.7,58,0.4,64.8,64.8,0.0,0,0.000,0.000,67.9,0,0.0,123,0.00,0.00,66.9,22.7
11/09/21,06:15,64.8,87,60.8,0.5,1.8,122,0.00,0.00,1015.0,31.37,80.1,58,0.7,64.8,64.8,0.0,0,0.000,0.000,68.1,0,0.0,121,0.00,0.00,67.0,22.7
11/09/21,06:15,64.8,87,60.8,0.5,1.8,122,0.00,0.00,1015.0,31.37,80.1,58,0.7,64.8,64.8,0.0,0,0.000,0.000,68.1,0,0.0,121,0.00,0.00,67.0,22.7
11/09/21,06:15,64.8,87,60.8,0.5,1.8,122,0.00,0.00,1015.0,31.37,80.1,58,0.7,64.8,64.8,0.0,0,0.000,0.000,68.0,0,0.0,121,0.00,0.00,67.0,22.7
11/09/21,06:25,64.4,88,60.8,0.9,3.4,128,0.00,0.00,1014.8,31.37,79.3,59,0.2,64.4,64.4,0.0,0,0.000,0.000,67.5,0,0.0,129,0.00,0.00,66.4,22.5
11/09/21,06:25,64.2,88,60.6,0.9,3.4,128,0.00,0.00,1014.8,31.37,79.3,59,0.2,64.2,64.2,0.0,0,0.000,0.000,67.2,0,0.0,129,0.00,0.00,66.2,22.3
11/09/21,06:35,64.0,88,60.4,0.3,1.1,129,0.00,0.00,1015.0,31.37,79.7,59,1.1,64.0,64.0,0.0,0,0.000,0.000,67.3,0,0.0,129,0.00,0.00,66.1,22.2
11/09/21,06:35,64.0,88,60.4,0.4,1.1,129,0.00,0.00,1015.0,31.37,79.7,59,1.1,64.0,64.0,0.0,0,0.000,0.000,67.3,0,0.0,129,0.00,0.00,66.1,22.2
What might be causing this?
User avatar
mcrossley
Posts: 12766
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Linux Mono Logs Multiple Entries

Post by mcrossley »

My only thought is that there are multiple copies of MX running in the background. The mxdiags file shows each log entry being written, so take a look at that.

Use the top or htop commands to show all the running processes.
User avatar
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: Linux Mono Logs Multiple Entries

Post by Buford T. Justice »

Htop showed a couple of Cumulus processes. After killing them, I restarted Cumulus. It appears to be working fine now. I am not sure why those other process didn't close. I thought I had hit CTRL + C when I closed earlier sessions. Actually come eto think of it, I may have closed a terminal window while Cumulus was running when I upgraded to the latest version of CumulusMX. If I did, oops. I did notice the version on the localhost webpage had not updated to the latest version so I may have had an old man moment.
User avatar
mcrossley
Posts: 12766
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Linux Mono Logs Multiple Entries

Post by mcrossley »

Easily done, if you enable the "Stop second instance" under Program Settings, it will not let you start a second instance.

That option always used to default to off, I changed it to default to on for new users.
User avatar
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: Linux Mono Logs Multiple Entries

Post by Buford T. Justice »

Now I am not sure what is going on...

Code: Select all

mono CumulusMX.exe
Cumulus MX v.3.13.1 build 3146
Working Dir: /home/owner/CumulusMX/
System.IO.IOException: Directory not empty
  at System.IO.FileSystem.RemoveDirectoryInternal (System.IO.DirectoryInfo directory, System.Boolean recursive, System.Boolean throwOnTopLevelDirectoryNotFound) [0x00158] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.IO.FileSystem.RemoveDirectory (System.String fullPath, System.Boolean recursive) [0x00024] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.IO.Directory.Delete (System.String path, System.Boolean recursive) [0x00007] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at CumulusMX.Cumulus.BackupData (System.Boolean daily, System.DateTime timestamp) [0x00081] in <5814b8d7c63844dc84841f2752608265>:0 
  at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Boolean DebugEnabled, System.String startParms) [0x01fc2] in <5814b8d7c63844dc84841f2752608265>:0 
  at CumulusMX.Program.RunAsAConsole (System.Int32 port, System.Boolean debug) [0x00048] in <5814b8d7c63844dc84841f2752608265>:0 
  at CumulusMX.Program.Main (System.String[] args) [0x00529] in <5814b8d7c63844dc84841f2752608265>:0 
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
You do not have the required permissions to view the files attached to this post.
User avatar
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: Linux Mono Logs Multiple Entries

Post by Buford T. Justice »

sudo mono Cumulus.exe works.
freddie
Posts: 2477
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Linux Mono Logs Multiple Entries

Post by freddie »

Looks like a permissions issue. Tried to do something in a directory but wasn't permitted to read the contents of it.
Freddie
Image
User avatar
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: Linux Mono Logs Multiple Entries

Post by Buford T. Justice »

Yup. While running CumulusMX as sudo, it made files in the backup folder. I had to open the backup folder in Terminal and:

Code: Select all

sudo rm -fr [FILENAME].txt
sudo rm -fr [FOLDER]
Replacing [FILENAME] or [FOLDER] with each file/folder sudo created that I couldn't delete normally in the Dolphin file explorer.

It is running fine now with mono CumulusMX.exe :)
Post Reply