Page 1 of 2

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

Posted: Mon 14 Oct 2019 8:55 am
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...

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

Posted: Mon 14 Oct 2019 9:56 am
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.

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

Posted: Mon 14 Oct 2019 7:11 pm
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.

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

Posted: Mon 14 Oct 2019 9:03 pm
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.

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

Posted: Tue 15 Oct 2019 8:36 am
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.

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

Posted: Tue 15 Oct 2019 1:38 pm
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

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

Posted: Tue 15 Oct 2019 5:48 pm
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

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

Posted: Tue 15 Oct 2019 5:54 pm
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

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

Posted: Tue 15 Oct 2019 7:29 pm
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???

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

Posted: Wed 16 Oct 2019 2:41 am
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 ???

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

Posted: Wed 16 Oct 2019 7:12 am
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

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

Posted: Wed 16 Oct 2019 8:03 am
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.

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

Posted: Wed 16 Oct 2019 8:14 am
by orion_jb2001
Image


The html and json files were manually uploaded

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

Posted: Wed 16 Oct 2019 8:52 pm
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.

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

Posted: Wed 16 Oct 2019 10:36 pm
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.