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

Extra Webfiles Missing

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

User avatar
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: Extra Webfiles Missing

Post by mcrossley »

The backup is not currently configurable. It saves the last ten days rollover backups, plus the last ten Cumulus startup backups.
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Extra Webfiles Missing

Post by Phil23 »

Should probably kick myself in the arse for not employing such a simple script from day one.
Classic case of over thinking, but not outside the square.

Code: Select all

Robocopy C:\CumulusMX C:\CmxBackup *.* /s
Robocopy C:\CumulusMX \\phils-i7\Xternal\Backups\CmxBackup *.* /s
Only catch is if there's a locked file when it's scheduled at 9:05am.
(None showing as failed, so assume RC opens read only).

Phil.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Cumulus INI Corrupted.

Post by Phil23 »

It's happened again....

More specifically:-

Some of the Extra Webfiles entries are missing, but I think the fir 10 stayed intact.
The NOAA monthly figures were gone.
Additional Uploads to other services were gone.
Realtime Gauges upload was off again.

I'm fairly sure it's related to my routine shutdown/restart that happens 4 times a day.

Due to the backup script I mentioned above, I now have a total history of the ini file, so will take a look at all those & can upload a few if that's of help.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
freddie
Posts: 2474
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: Cumulus INI Corrupted.

Post by freddie »

Hi Phil,
Phil23 wrote: Mon 27 Apr 2020 9:30 amI'm fairly sure it's related to my routine shutdown/restart that happens 4 times a day.
Can I ask why do you need to restart 4 times a day?
Freddie
Image
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Cumulus INI Corrupted.

Post by Phil23 »

freddie wrote: Mon 27 Apr 2020 10:43 am Can I ask why do you need to restart 4 times a day?
I put those restarts in place a year or so back in order to download data to Weatherlink by running it with the download option

Code: Select all

"C:\WeatherLink\WeatherLink 6.0.5.exe" -d
There was a graph involving EVT I was interested in which I could not get in MX.
Basically EVT, Rain & Temp on a strip graph.

The 4 times a day gave me the "AS of 9:00am" point we use here & also kept the number of records Weatherlink needed to download each time to a minimum.

It's all managed with Task Scheduler.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
freddie
Posts: 2474
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: Extra Webfiles Missing

Post by freddie »

That sounds fair enough.
How are the restarts done?
Freddie
Image
freddie
Posts: 2474
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: Extra Webfiles Missing

Post by freddie »

freddie wrote: Mon 27 Apr 2020 8:06 pm How are the restarts done?
Oops sorry - you answered that already.
You're on Windows so I don't know if I can add anything useful, sorry.
Freddie
Image
User avatar
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: Extra Webfiles Missing

Post by mcrossley »

From your log files I don't see the last message I would expect to see after "Writing Cumulus.ini file". The Davis VP2 station should write a log entry - "Closing connection".

It would seem the method of terminating CMX perhaps isn't giving it sufficient time to close properly before it kills the process.

How are you terminating Cumulus? Are you using a third party tool to send a Ctrl-C, Ctrl-Break, or CloseMainWindow event?

The shutdown logging is a bit sparse, I'll add a few more messages for the next release.
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Extra Webfiles Missing

Post by sfws »

Phil23 wrote: Mon 27 Apr 2020 9:30 am I'm fairly sure it's related to my routine shutdown/restart
Another way might be to set task scheduler start task to stop after 5 hours 50 minutes, if you do that I am unsure how it stops the task, I don't know.

When Cumulus is asked to close normally, it takes a while to close as it is writing out to files including Cumulus.ini.
Last edited by sfws on Wed 20 May 2020 12:16 pm, edited 1 time in total.
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Extra Webfiles Missing

Post by Phil23 »

sfws wrote: Mon 27 Apr 2020 8:44 pm
My guess FWIW, is that your scheduled shut down is terminating the Cumulus process using "Taskkill" rather than asking the Cumulus software to close. Off the top of my head I can't say how you send a control C to close the Cumulus task window, but someone will know
For the Shutdown, I use a complied script From AutoHotkey.
https://www.autohotkey.com/

It basically put the focus on the focus on the CMX Window & then sends Ctrl-C.

Simple script, that is complied into an exe so I don't need AutoHotkey running in the background.

Code: Select all

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
WinActivate, C:\CumulusMX\CumulusMX.exe
Send ^c
Return

Cheers.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Extra Webfiles Missing

Post by sfws »

Phil23 wrote: Tue 28 Apr 2020 1:24 amsends Ctrl-C.
Ok, you initiate a proper close down.
Phil23 wrote: Mon 27 Apr 2020 9:30 am I'm fairly sure it's related to my routine shutdown/restart that happens 4 times a day.
If your shutdown script is just that hotkey routine....Could you use a WinWaitClose to wait until the MX window closes before you do the return.

If your shutdown script is more than that routine, what does it do next, perhaps it needs a delay there?
Last edited by sfws on Wed 20 May 2020 12:17 pm, edited 1 time in total.
cliftonweather
Posts: 26
Joined: Sat 14 Nov 2009 12:34 pm
Weather Station: Vantage pro+
Operating System: RPi3 Model 3 running Buster
Location: Clifton, Beds
Contact:

Re: Extra Webfiles Missing

Post by cliftonweather »

Have a look at VirtualVP, http://www.softwx.com/weather/virtualvp.html
It basiclly allows you to connect upto 8 programs to single Vantage Pro console. You then won't need to keep stopping & starting MX. I've been using it for years on Windows 7 with no problems. It's free for 30 days so enough time to see if it cures your problem.
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Extra Webfiles Missing

Post by Phil23 »

cliftonweather wrote: Tue 28 Apr 2020 7:30 am Have a look at VirtualVP
That's something I've looked at over the years, but it's support has stopped, circa 2012.

From what I read on WXforums it can be hit & miss to get it working these days.
For just that reason they no longer take paid registrations.

See http://www.softwx.com/purchase.html
Something to do with the cost associated with registering updated Digitally Signed Drivers.

Cheers.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
cliftonweather
Posts: 26
Joined: Sat 14 Nov 2009 12:34 pm
Weather Station: Vantage pro+
Operating System: RPi3 Model 3 running Buster
Location: Clifton, Beds
Contact:

Re: Extra Webfiles Missing

Post by cliftonweather »

That is one of the downsides, you have to run your pc permanently in Test Mode, but I've not found it to be a problem, supposedly it can be a security issue though.
User avatar
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: Extra Webfiles Missing

Post by mcrossley »

VirtualVP doesn't support the Loop2 command either.
Post Reply