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

v3.28.1 bulid 3278

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

alexvanuxem
Posts: 59
Joined: Thu 11 Mar 2021 3:41 pm
Weather Station: Davis Vntage Pro 2 Plus
Operating System: windows 10

v3.28.1 bulid 3278

Post by alexvanuxem »

Hi,

the new build doesn't work for me.
some issue with the ftp upload :
2024-01-11 19:27:20 - RealtimeFTPLogin: Error connecting ftp - Timed out trying to connect!
2024-01-11 19:27:03 - LocalCopy: Error copying moon image - Kan een gedeelte van het pad web\images\moon.png niet vinden.
2024-01-11 19:27:00 - RealtimeFTPLogin: Error connecting ftp - The underlying socket is null. Have you established a connection?
2024-01-11 19:26:43 - FTP[0]: Upload of wwwroot/Cumulus/realtime.txt failed
2024-01-11 19:26:09 - RealtimeFTPLogin: Error connecting ftp - The underlying socket is null. Have you established a connection?
2024-01-11 19:26:03 - LocalCopy: Error copying moon image - Kan een gedeelte van het pad web\images\moon.png niet vinden.
2024-01-11 19:25:03 - LocalCopy: Error copying moon image - Kan een gedeelte van het pad web\images\moon.png niet vinden.
2024-01-11 19:24:03 - LocalCopy: Error copying moon image - Kan een gedeelte van het pad web\images\moon.png niet vinden.
2024-01-11 19:23:12 - RealtimeLocalCopy[78]: Error copying [web\realtimegauges.txt] to [web\realtimegauges.txt. Error = Kan geen toegang krijgen tot het bestand C:\CumulusMX\web\realtimegauges.txt omdat het wordt gebruikt door een ander proces.
2024-01-11 19:23:11 - RealtimeFTPLogin: Error connecting ftp - The underlying socket is null. Have you established a connection?
2024-01-11 19:23:03 - LocalCopy: Error copying moon image - Kan een gedeelte van het pad web\images\moon.png niet vinden.
2024-01-11 19:22:03 - LocalCopy: Error copying moon image - Kan een gedeelte van het pad web\images\moon.png niet vinden.
2024-01-11 19:21:42 - RealtimeFTPLogin: Error connecting ftp - The underlying socket is null. Have you established a connection?
2024-01-11 19:21:03 - LocalCopy: Error copying moon image - Kan een gedeelte van het pad web\images\moon.png niet vinden.
2024-01-11 19:20:14 - RealtimeFTPLogin: Error connecting ftp - The underlying socket is null. Have you established a connection?
2024-01-11 19:20:04 - LocalCopy: Error copying moon image - Kan een gedeelte van het pad web\images\moon.png niet vinden.
2024-01-11 19:19:03 - LocalCopy: Error copying moon image - Kan een gedeelte van het pad web\images\moon.png niet vinden.
2024-01-11 19:18:33 - RealtimeFTPLogin: Error connecting ftp - Timed out trying to connect!
2024-01-11 19:18:04 - LocalCopy: Error copying moon image - Kan een gedeelte van het pad web\images\moon.png niet vinden.
2024-01-11 19:18:01 - RealtimeFTPLogin: Error connecting ftp - Timed out trying to connect!

the default website https://www.sint-katelijne-waver-meteo.be/ doesn't work anymore
nore does https://www.sint-katelijne-waver-meteo.be/Cumulus
nor does upload to weathercloud

when i revert back to the previous , magic, everything works

grtz
Alex
User avatar
ConligWX
Posts: 1635
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04 LTS
Location: Bangor, NI
Contact:

Re: v3.28.1 bulid 3278

Post by ConligWX »

When you upgraded did you run the hash check to make sure all files were correct?

I'm using FTP and have had no issues at all.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0

Image
alexvanuxem
Posts: 59
Joined: Thu 11 Mar 2021 3:41 pm
Weather Station: Davis Vntage Pro 2 Plus
Operating System: windows 10

Re: v3.28.1 bulid 3278

Post by alexvanuxem »

No I didn't.

I never do. Can you quickly explain how to do it?

cheers a
nossis
Posts: 89
Joined: Wed 28 Nov 2012 6:12 am
Weather Station: Davis Vantage Pro 2
Operating System: Win 10
Location: Perth AU
Contact:

Re: v3.28.1 bulid 3278

Post by nossis »

Ah so I am not the only one. I got the same however I use PHP upload process. Found that it didn't play happy with uploading after upgrading to latest version. Logs complained a lot. I will have to see if I can set the logging level higher to see if we can learn anything more about it.
Ran hash check on the download and came up good.

Code: Select all

PS C:\Users\me> Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
you to the security risks described in the about_Execution_Policies help topic at
https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): y
PS C:\Users\me> cd\
PS C:\> cd .\temp\Download\CumulusMX\
PS C:\temp\Download\CumulusMX> .\MXutils\windows\CheckMD5HashFile.ps1 -HashFile .\hash_md5_3278.txt
All checksums are OK
PS C:\temp\Download\CumulusMX>

How to do it for the Windows users....
bring up PowerShell
run the command to allow it to run the not digitally signed PowerShell script (this only applies to the PowerShell session that you are running now)
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
Then navigate to the folder where your extracted CumulusMX install package is.
cd\ to take you back to C:\ drive
cd temp\Download\CumulusMX (I press tab key after typing 3 letters for it to show the folder, saves typing since I am lazy, it also put the . in front of the path when I did that)
Copy past the powershell script command as found in the file for me C:\temp\Download\CumulusMX\hash_md5_3278.txt, as I have shown.
If one gets as I did in lovely green letters "All checksums are OK" you know that your download is unaltered. Checksums match.
If you make a change to any of the files in the folder prior, then the checksums will not match. I did that, change one, just to see what would happen and the tool reports the file that it failed in. Cool.
User avatar
mcrossley
Posts: 12778
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: v3.28.1 bulid 3278

Post by mcrossley »

The basic problem seems to be

Code: Select all

RealtimeFTPLogin: Error connecting ftp - Timed out trying to connect!
Which means either the FTP server is down or inaccessible. Or the FTP server details in MX are incorrect.
alexvanuxem
Posts: 59
Joined: Thu 11 Mar 2021 3:41 pm
Weather Station: Davis Vntage Pro 2 Plus
Operating System: windows 10

Re: v3.28.1 bulid 3278

Post by alexvanuxem »

thx

checksums are ok!

grtz

a
alexvanuxem
Posts: 59
Joined: Thu 11 Mar 2021 3:41 pm
Weather Station: Davis Vntage Pro 2 Plus
Operating System: windows 10

Re: v3.28.1 bulid 3278

Post by alexvanuxem »

and these are my logs,

issue with the ftp
You do not have the required permissions to view the files attached to this post.
alexvanuxem
Posts: 59
Joined: Thu 11 Mar 2021 3:41 pm
Weather Station: Davis Vntage Pro 2 Plus
Operating System: windows 10

Re: v3.28.1 bulid 3278

Post by alexvanuxem »

@mcrossley

No, ftp settings didn't change.

It has something to do with the incremental upload of txt files.

Which are incremental?

when i rstart cumulus with the new build, the firts minuut is ok.

then it fails.

upload to weathercloud doesn't work either with the new build.

Grtz
alexvanuxem
Posts: 59
Joined: Thu 11 Mar 2021 3:41 pm
Weather Station: Davis Vntage Pro 2 Plus
Operating System: windows 10

Re: v3.28.1 bulid 3278

Post by alexvanuxem »

@mcrossley

these are my extra web files

which are incremental?
ftp.png
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 12778
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: v3.28.1 bulid 3278

Post by mcrossley »

[x-posted]
First you have your real time FTP upload interval set to 1 second! The files are taking about 3 seconds to complete the upload, meantime multiple other real time upload session start and abort because one is already in progress.

I think the best you could hope for is a real time interval of 5 seconds, you probably be better backing it off to 10 seconds.

You also seem to put all the files in the real time for some reason, even files which appear to have slow changing data like cloud base, and all-time records. Get all this moved to the interval update, real time should have the minimum amount of fast changing data in it.

From what I can see, the FTP detects an error and attempts to reconnect with the server, but because there are no pauses in upload requests it is getting, I do not think the reconnect works correctly and things go downhill from there.

Sorting out your upload strategy will help a great deal - it will also make interpreting the log file much simpler!

[After seeing your post]
I do not think this has nothing to do with incremental log files, you are not using that feature as the incremental column is not shown on screen grab. (I think you need to flush your browser cache)

Your screen shot shows what I thought, you are trying to upload everything at the real-time interval, this is madness - you think the moon image changes every second!

I attach what I think you should have set.
fm5wye55.png
Are you also uploading files using the standard upload settings? I'm just wondering why moon.png, realtime.txt, realtimegauges.txt, websitedata.json are being uploaded via Extra Files?

Also, if you created symbolic file links on the destination server for the files you are uploading multiple times, could you just upload them once?
You do not have the required permissions to view the files attached to this post.
Cortmalaw
Posts: 92
Joined: Sat 26 Dec 2020 2:21 pm
Weather Station: Davis
Operating System: Raspbian
Location: Near Glasgow, Scotland, UK

Re: v3.28.1 bulid 3278

Post by Cortmalaw »

@Mark
For those that you marked with X, is there any reason anyone would need them as realtime or process?
Maybe you should disable the option to request ...
Nossie
Posts: 364
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: v3.28.1 bulid 3278

Post by Nossie »

Cortmalaw wrote: Sat 13 Jan 2024 7:29 pm @Mark
For those that you marked with X, is there any reason anyone would need them as realtime or process?
Maybe you should disable the option to request ...
Problem is from my understanding is that you can add anything to be processed - which is great but as you have found also means the wrong settings - I don't believe this would be a good idea as it would cause problems with people that use custom files.
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
mcrossley
Posts: 12778
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: v3.28.1 bulid 3278

Post by mcrossley »

As Ian says, MX has no idea what the files contain or what they will be used for. Those options are where you tell MX what it needs to know about the files.
User avatar
HansR
Posts: 5969
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v3.28.1 bulid 3278

Post by HansR »

mcrossley wrote: Sat 13 Jan 2024 7:49 pm As Ian says, MX has no idea what the files contain or what they will be used for. Those options are where you tell MX what it needs to know about the files.
No, true.

But you could implement some heuristics: check file sizes, forbid realtime frequency < 5 secs, warn < 10 secs, no realtime and/or realtimegauges no logfile processing (dayfile, monthly logs etc...) etc... Everything alex does is not very rational, searching the edges. You could do something to prevent. On the other hand it is a users responsibility and rationality. They need to get to know the system don't they?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
freddie
Posts: 2483
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: v3.28.1 bulid 3278

Post by freddie »

I agree with your last statement, Hans. It is the users responsibility, despite the fact that bad choices can be made. But that's true for many real life decisions.

I'm not in favour of any control over what can be set as the context is unpredictable, therefore it is impossible to formulate sensible rules that can be applied.

All of my readings (and some derived ones) are updated at a two second realtime interval, and my system copes fine with that cadence.
Freddie
Image
Post Reply