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 4018) - 28 March 2024
Legacy Cumulus 1 release v1.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 4018) - 28 March 2024
Legacy Cumulus 1 release v1.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
No non-realtime ftp if the log file is too large.
Moderator: mcrossley
-
- Posts: 41
- Joined: Fri 13 Jul 2012 5:05 pm
- Weather Station: Davis VP2 + Weatherlink IP
- Operating System: Pi 4 / Linux 6.1.21-v8+ aarch64
- Location: 't Zandt, The Netherlands
- Contact:
No non-realtime ftp if the log file is too large.
Strange problem !
If the log file (MXdiags) becomes larger than 20,000 kb, Cumulusmx will stop the FTP upload of the non-realtime files.
This has happened twice so far.
With a restart everything is back to normal.
A new log file is created in the MXdiags directory and the old log file is deleted.
Realtime upload 30 sec
Web Interval 10 min
Last time, before performing a reboot, I made a copy of this file.
This file is 21,342 kb in size
After the time of no more uploading, there is no more mention of the standard Data file
last upload time 2021-05-01 08:00
What could be going on?
Harm
If the log file (MXdiags) becomes larger than 20,000 kb, Cumulusmx will stop the FTP upload of the non-realtime files.
This has happened twice so far.
With a restart everything is back to normal.
A new log file is created in the MXdiags directory and the old log file is deleted.
Realtime upload 30 sec
Web Interval 10 min
Last time, before performing a reboot, I made a copy of this file.
This file is 21,342 kb in size
After the time of no more uploading, there is no more mention of the standard Data file
last upload time 2021-05-01 08:00
What could be going on?
Harm
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2434
- 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: No non-realtime ftp if the log file is too large.
The log file rolls over when it gets to that size - which is a mighty coincidence. It shouldn't be deleted. Do you have sufficient disk space?
-
- Posts: 41
- Joined: Fri 13 Jul 2012 5:05 pm
- Weather Station: Davis VP2 + Weatherlink IP
- Operating System: Pi 4 / Linux 6.1.21-v8+ aarch64
- Location: 't Zandt, The Netherlands
- Contact:
Re: No non-realtime ftp if the log file is too large.
freddie
The log file did not roll over and it was deleted when i restarted CMX. (i made first a copy if it)
Diskspace enough 110 GB and in use 16,6 GB
The realtime uploads continued teh non realtime (10min) stopped.
Harm
The log file did not roll over and it was deleted when i restarted CMX. (i made first a copy if it)
Diskspace enough 110 GB and in use 16,6 GB
The realtime uploads continued teh non realtime (10min) stopped.
Harm
-
- Posts: 2434
- 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: No non-realtime ftp if the log file is too large.
It's a strange one. There must be many other users with the same setup as you - yet no reports of this. I think I'll leave this one to @mcrossley.
-
- Posts: 41
- Joined: Fri 13 Jul 2012 5:05 pm
- Weather Station: Davis VP2 + Weatherlink IP
- Operating System: Pi 4 / Linux 6.1.21-v8+ aarch64
- Location: 't Zandt, The Netherlands
- Contact:
Re: No non-realtime ftp if the log file is too large.
I turned on debug and ftp logging to get to 20,000 earlier.
Harm
Harm
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: No non-realtime ftp if the log file is too large.
Odd one, there is nothing in the code to delete the last file, it deletes the oldest one if there are more than 10.
Log rollover is working for others as I've seen the log files posted.
Let's see what happens on the next rollover with debug logging enabled.
Log rollover is working for others as I've seen the log files posted.
Let's see what happens on the next rollover with debug logging enabled.
-
- Posts: 41
- Joined: Fri 13 Jul 2012 5:05 pm
- Weather Station: Davis VP2 + Weatherlink IP
- Operating System: Pi 4 / Linux 6.1.21-v8+ aarch64
- Location: 't Zandt, The Netherlands
- Contact:
Re: No non-realtime ftp if the log file is too large.
@Mark
There were 11 created missing log files with a date younger than the log file in the MXdiags directory.
Harm
There were 11 created missing log files with a date younger than the log file in the MXdiags directory.
Harm
-
- Posts: 2434
- 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: No non-realtime ftp if the log file is too large.
Have you changed permissions on the MXdiags folder recently?
-
- Posts: 41
- Joined: Fri 13 Jul 2012 5:05 pm
- Weather Station: Davis VP2 + Weatherlink IP
- Operating System: Pi 4 / Linux 6.1.21-v8+ aarch64
- Location: 't Zandt, The Netherlands
- Contact:
Re: No non-realtime ftp if the log file is too large.
@Freddie
No change of permissions and CMX runs as administrator
Harm
No change of permissions and CMX runs as administrator
Harm
-
- Posts: 41
- Joined: Fri 13 Jul 2012 5:05 pm
- Weather Station: Davis VP2 + Weatherlink IP
- Operating System: Pi 4 / Linux 6.1.21-v8+ aarch64
- Location: 't Zandt, The Netherlands
- Contact:
Re: No non-realtime ftp if the log file is too large.
The last rollover went normally with a size of 20,520 kb and the uploads continued as usual.
So I cannot reproduce the "error".
I will keep an eye on the progress.
But it remains a strange phenomenon why the realtime FTP just continued and the 10 min FTP stopped.
Harm
So I cannot reproduce the "error".
I will keep an eye on the progress.
But it remains a strange phenomenon why the realtime FTP just continued and the 10 min FTP stopped.
Harm