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

Help..................

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

orion_jb2001
Posts: 46
Joined: Thu 11 Feb 2016 6:00 am
Weather Station: Davis VP2
Operating System: Windows 10
Location: Tamworth, NSW, 2340

Help..................

Post by orion_jb2001 »

I am trying to set up a ftp upload to my web site and amongst other things, I am getting this error, which I think is the start of what is happening:

# OpenActiveDataStream(PORT, "STOR public_html/dailytemp.json", 0)
Command: PORT 10,237,112,6,222,29
Response: 500 I won't open a connection to 10.237.112.6 (only to 185.114.33.4)
Status: Disposing FtpSocketStream...
User avatar
HansR
Posts: 5964
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Help..................

Post by HansR »

Most likely the problem is you have to use passive mode (e.g. see here).
Although I am not a full 100% sure in Cumulus, I'd suggest you switch off 'Active FTP mode' in Web/FTP Settings, it may help.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
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: Help..................

Post by mcrossley »

orion_jb2001 wrote: Mon 14 Oct 2019 8:55 am I am trying to set up a ftp upload to my web site and amongst other things, I am getting this error, which I think is the start of what is happening:

# OpenActiveDataStream(PORT, "STOR public_html/dailytemp.json", 0)
Command: PORT 10,237,112,6,222,29
Response: 500 I won't open a connection to 10.237.112.6 (only to 185.114.33.4)
Status: Disposing FtpSocketStream...
That message implies that the server will not accept connections to IP address 10.237.112.6 and that you should use 185.114.33.4 instead.
orion_jb2001
Posts: 46
Joined: Thu 11 Feb 2016 6:00 am
Weather Station: Davis VP2
Operating System: Windows 10
Location: Tamworth, NSW, 2340

Re: Help..................

Post by orion_jb2001 »

Thanks for replies. It seems to have fixed it self, the ftplog indicating connection and transfers BUT I am still not seeing any images. There has been no index.htm created at all.
orion_jb2001
Posts: 46
Joined: Thu 11 Feb 2016 6:00 am
Weather Station: Davis VP2
Operating System: Windows 10
Location: Tamworth, NSW, 2340

Re: Help..................

Post by orion_jb2001 »

Hi all, whilst I come to grips with the cumulus process to put your data on line, just some little questions. With so many different protocols for using ftp, with the cumulusMX when your setting up your directories etc for the ftp upload, does this cumulus ftp set up system require a leading / or not. And re my previous, it appears that earlier problem re active and passive is sorted, but I am at a loss about the index.htm file that is supposed to be created by the cumulus ftp system. I note that index.htm file exists in the web folder of your cumulus program directory on the PC. I thought such a file would be better placed in the web files folder.
User avatar
PaulMy
Posts: 3849
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: Help..................

Post by PaulMy »

does this cumulus ftp set up system require a leading / or not.
That can depend on your host service. For me in both Cumulus and Cumulusmx the Internet Settings Sites/Options does not use '/' as just: public_html/weather www.komokaweather.com/weather and public_html/cumulusmx www.komokaweather.com/cumulusmx

The Cumulus\web folder has the template files - i.e. indexT.htm and Cumulus processes these and uploads as i.e. public_html/weather/index.htm
Depending on the settings Cumulus may have the current templates files - i.e. index.htm in the \web folder as temporary files.
If you have custom files to be processed and upload you would normally place the template file - i.e. mycustomefileT.htm in the \web folder and in Internet Settings Extra Web Files you would enter the source path\name and the remote path/file and tick FTP.
If you want a processed file to be saved on your local computer and not FTP you would add that in the Internet Settings Extra Files as well but not tick FTP.

The Cumulus\webfiles folder only has the files for initial one-time manual FTP to your site.

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
orion_jb2001
Posts: 46
Joined: Thu 11 Feb 2016 6:00 am
Weather Station: Davis VP2
Operating System: Windows 10
Location: Tamworth, NSW, 2340

Re: Help..................

Post by orion_jb2001 »

Thanks Paul for you detailed reply.

The Cumulus\web folder has the template files - i.e. indexT.htm and Cumulus processes these and uploads as i.e. public_html/weather/index.htm

So this should happen automatically??

[/i]If you have custom files to be processed and upload you would normally place the template file - i.e. mycustomefileT.htm in the \web folder and in Internet Settings Extra Web Files you would enter the source path\name and the remote path/file and tick FTP.
If you want a processed file to be saved on your local computer and not FTP you would add that in the Internet Settings Extra Files as well but not tick FTP.[/i]

I suppose if that automatic creation does not occur, this process will get the index.htm created? I would think then that the instructions in the simple website speal probably needs to be amplified to mention this, apart from "Cumulus produces a page called index.htm".

II am not at home at the moment but will try your suggestions when back there. I have tried to set up cumulus 1 web site as well and much prefer the ftp little window that shows your upload process. A sad thing missing from the MX version. Much easier to watch whats happening, than clicking on your ftp logging file constantly .... lol
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: Help..................

Post by mcrossley »

orion_jb2001 wrote: Tue 15 Oct 2019 5:48 pm Thanks Paul for you detailed reply.

The Cumulus\web folder has the template files - i.e. indexT.htm and Cumulus processes these and uploads as i.e. public_html/weather/index.htm

So this should happen automatically??
It should if you have checked "Include standard files" in the Web/FTP settings
orion_jb2001
Posts: 46
Joined: Thu 11 Feb 2016 6:00 am
Weather Station: Davis VP2
Operating System: Windows 10
Location: Tamworth, NSW, 2340

Re: Help..................

Post by orion_jb2001 »

Thanks Mark. Interesting you raise the standard files click. One thing I found confusing in the simple web site wiki, is the mention of this:

(Left hand picture is Cumulus 1.x.y interface, right hand picture is Cumulus MX settings screen)

I am not sure what every body else is seeing in the wiki, but I don't see left hand pictures or right hand pictures. I like the idea of the blue arrows and red arrows but there is some confusion mentioning the blue arrows are for cumulus 1 and it just then says mx in the right hand drawing. Perhaps someone needs to edit these instructions as they are showing now???
orion_jb2001
Posts: 46
Joined: Thu 11 Feb 2016 6:00 am
Weather Station: Davis VP2
Operating System: Windows 10
Location: Tamworth, NSW, 2340

Re: Help..................

Post by orion_jb2001 »

I am uploading to the correct directory on my server. However in the testing section of the simplified wiki this portion:

Both Cumulus 1.x.y, and Cumulus MX, while running should create the 9 standard web pages in the local 'web' sub-directory, and upload these to the web space by FTP.

or

Cumulus MX should also upload by FTP eleven .json files that Cumulus MX creates in the top level directory (that is, the one it's been installed in), for the graphs ("graphconfig.json", "tempdata.json", "pressdata.json", "winddata.json", "wdirdata.json", "humdata.json", "raindata.json", "solardata.json", "dailyrain.json", "sunhours.json", "dailytemp.json").

is not occuring. Suggestions ???
orion_jb2001
Posts: 46
Joined: Thu 11 Feb 2016 6:00 am
Weather Station: Davis VP2
Operating System: Windows 10
Location: Tamworth, NSW, 2340

Re: Help..................

Post by orion_jb2001 »

Now I have confirmed the web site works, although none of the html or json files were created or uploaded, i manually uploaded all relevant files from my PC to the ftp site and everything worked including the gauges.

Copy for ftplog:

2019-10-16 18:06:53.333 Uploading realtime.txt to cumulus/realtime.txt

# OpenWrite("cumulus/realtime.txt", Binary)

# GetFileSize("cumulus/realtime.txt")
Command: SIZE cumulus/realtime.txt
Response: 550 Can't check for file existence

# OpenPassiveDataStream(AutoPassive, "STOR cumulus/realtime.txt", 0)
Command: EPSV
Response: 229 Extended Passive mode OK (|||52565|)
Status: Connecting to 103.18.109.182:52565
Command: STOR cumulus/realtime.txt
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...

# CloseDataStream()

2019-10-16 18:06:53.410 Uploading web\realtimegauges.txt to cumulus/realtimegauges.txt

# OpenWrite("cumulus/realtimegauges.txt", Binary)

# GetFileSize("cumulus/realtimegauges.txt")
Command: SIZE cumulus/realtimegauges.txt
Response: 550 Can't check for file existence

# OpenPassiveDataStream(AutoPassive, "STOR cumulus/realtimegauges.txt", 0)
Command: EPSV
Response: 229 Extended Passive mode OK (|||56255|)
Status: Connecting to 103.18.109.182:56255
Command: STOR cumulus/realtimegauges.txt
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...

# CloseDataStream()


cumulus web site settings

ftp site settings

FTP port
21
Directory
cumulus
Username
xxxxxxxxxxxx
Password
xxxxxxxxxxxx
Forum URL
Webcam URL

Web/FTP settings

X Auto update

X Include standard files
Select this to have the standard web site files uploaded

X Include graph data files
Select this to have the graph data files uploaded

Active FTP mode

Use SSL for FTP (FTPS)

FTP rename
Use this if your FTP server supports it (most do)

Delete before upload
Use this only if your FTP server requires it (most do not)

X UTF-8 encoding
Use UTF-8 encoding for the standard files

X FTP logging
Log FTP activity to ftplog.txt for diagnostic purposes

Upload interval
2

X Enable Realtime
Start the realtime timer so that realtime actions can take place

X Enable realtime FTP
Establish the realtime FTP connection so that FTP uploads can take place at the realtime interval

X Realtime.txt FTP
FTP the realtime.txt file at the realtime interval. Cumulus MX does not use this file itself

X Realtimegauges.txt FTP
FTP the realtimegauges.txt file at the realtime interval. Cumulus MX uses this for the SteelSeries gauges

Realtime interval
30
Interval between realtime updates in seconds
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: Help..................

Post by mcrossley »

It is saying the cumulus folder does not exist on your web server.
Login to the FTP server with an FTP client do nothing else and take screen shot, we need to see where the FTP root folder is for your user.

Plus you haven't given us a link to your website yet. Without information we are guessing.
orion_jb2001
Posts: 46
Joined: Thu 11 Feb 2016 6:00 am
Weather Station: Davis VP2
Operating System: Windows 10
Location: Tamworth, NSW, 2340

Re: Help..................

Post by orion_jb2001 »

Image


The html and json files were manually uploaded
Last edited by orion_jb2001 on Thu 17 Oct 2019 10:20 am, edited 1 time in total.
orion_jb2001
Posts: 46
Joined: Thu 11 Feb 2016 6:00 am
Weather Station: Davis VP2
Operating System: Windows 10
Location: Tamworth, NSW, 2340

Re: Help..................

Post by orion_jb2001 »

If someone can suggest a different program to publish my weather data. Clearly Cumulus is in its death throes and probably why it was dumped by it's creators.
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: Help..................

Post by mcrossley »

Two releases in September and a beta underway is "death throes"? OK, whatever.

From that screen shot it looks like your remote folder is actually "/public_html/cumulus" not the "cumulus" you have entered.
Post Reply