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

FTP upload not working ?

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
patters_uk
Posts: 9
Joined: Sun 12 Aug 2012 8:21 am
Weather Station: WH-1081
Operating System: Windows 10
Location: United Kingdom
Contact:

FTP upload not working ?

Post by patters_uk »

New user question I am afraid ...

Is it correct that CumulusMx wont do an initial FTP upload until some (long) time after startup. Reason I ask is that MX runs on a PC that sleeps mostly but is able to be woken using a Wake on Lan ping. Cumulus 1 used to update the web files on the upload frequency immediately but it seems MX won't. MX will happily update the realtimeguages.txt on a 1 minute trigger (although its set to 15 seconds) but I can't get MX to trigger for the other files. In fact I am pretty sure its been longer than an hour and still no update to the (eg) index and todays htm files :-(. I can of course trigger a manual FTP upload and that works fine.

Thanks

Denis
Last edited by patters_uk on Tue 02 Feb 2021 3:21 pm, edited 1 time in total.
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: FTP upload not working ?

Post by ConligWX »

AFAIK when you start CumulusMX you have to wait for the set interval time before FTP occurs, you can however force it via the WebGUI.

Settings, FTP Now!

what is your FTP Upload interval set as? mine is 5 minutes. My Realtime is 10 seconds.

the only time I restart CumulusMX is an upgrade so this should only happen once in a while.
patters_uk
Posts: 9
Joined: Sun 12 Aug 2012 8:21 am
Weather Station: WH-1081
Operating System: Windows 10
Location: United Kingdom
Contact:

Re: FTP upload not working ?

Post by patters_uk »

My realtime is set to 30 (seconds), but seems to update every minute with the upload set to 3 (minutes). It still hasn't been updated after 2 or so hours.

Log files say

2021-02-02 15:23:56.578 Realtime[171]: Uploading - realtime.txt
2021-02-02 15:23:56.661 Realtime[171]: Uploading - realtimegauges.txt
2021-02-02 15:24:56.585 Realtime[172]: Uploading - realtime.txt
2021-02-02 15:24:56.682 Realtime[172]: Uploading - realtimegauges.txt

Does your system (PC ?) ever hibernate as I am wondering if MX is started and then hibernates, then the timers get screwed
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: FTP upload not working ?

Post by ConligWX »

I'm running Ubuntu Server so no need to worry about power settings as such.

I would turn off anything that has an advert effect with hardware to CumulusMX. USB power Settings, Hard Disk Sleep, hibernation.

you can still have Monitor/Display power settings enabled, but anything else should not sleep/hibernate.

https://www.pugetsystems.com/labs/suppo ... ation-793/
patters_uk
Posts: 9
Joined: Sun 12 Aug 2012 8:21 am
Weather Station: WH-1081
Operating System: Windows 10
Location: United Kingdom
Contact:

Re: FTP upload not working ?

Post by patters_uk »

Sadly leaving the pc running 24/7 isn’t an option for me so it seems like upgrading to MX is not going to be an option and I may have to stick with Cumulus 1 which catered for the host system sleeping. I would happily restart MX on wake but if it’s going to wait a long time before generating the files and doing an upload then it’s not going to resolve my problem.
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: FTP upload not working ?

Post by water01 »

CumulusMX works exactly the same way as Cumulus 1. Both programs will not work correctly on a computer that is hibernated or suspended as per the FAQ https://cumuluswiki.org/a/FAQ#My_comput ... t-lined.27
David
Image
patters_uk
Posts: 9
Joined: Sun 12 Aug 2012 8:21 am
Weather Station: WH-1081
Operating System: Windows 10
Location: United Kingdom
Contact:

Re: FTP upload not working ?

Post by patters_uk »

Cumulus 1 can shut itself down on hibernate and on wake up then it can be restarted and catch up from the data logger. Either way I've been working on my PC for over 90 minutes and MX hasn't refreshed itself or the web pages despite the update rate being set to 2 minutes. Is there any way I can find out if the timer trigger is being lost ?
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: FTP upload not working ?

Post by freddie »

patters_uk wrote: Tue 02 Feb 2021 5:38 pmIs there any way I can find out if the timer trigger is being lost ?
Zip up the contents of the MXdiags folder and attach to a reply to this topic. The details will likely be in there.
Freddie
Image
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: FTP upload not working ?

Post by PaulMy »

Cumulus 1 can shut itself down on hibernate and on wake up then it can be restarted and catch up from the data logger.
Would setting this to =1 in your Cumulus.ini not do the same?
ConfirmClose=0
CloseOnSuspend=0

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: FTP upload not working ?

Post by mcrossley »

PaulMy wrote: Tue 02 Feb 2021 8:41 pm
Cumulus 1 can shut itself down on hibernate and on wake up then it can be restarted and catch up from the data logger.
Would setting this to =1 in your Cumulus.ini not do the same?
ConfirmClose=0
CloseOnSuspend=0

Enjoy,
Paul
Steve never implemented support for those entries in MX because he could not find a cross-platform way of supporting them.

However if you run Cumulus MX as a service on Windows, it will detect the system going into suspend or hibernate mode and shut itself down.
Post Reply