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

Uploading of realtime.txt via ftp

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

Rylands
Posts: 55
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Uploading of realtime.txt via ftp

Post by Rylands »

Hello all.

I need to configure Cumulus to upload the realtime.txt file to my website. Easy I thought!

I'm guessing there is a problem with my ftp settings, but not knowing enough about what I am doing, need help in figuring out the error.

My website is www.eyesontheweather.com.au. Using FileZilla, the directory structure where all the files are kept is /eyesontheweather.com.au/public_html

In Cumulus, I have the host name as eyesontheweather.com.au and remote ftp directory as eyesontheweather.com.au/public.html. The username and password on Cumulus are being used successfully for ftp access using Filezilla.

However no files are being uploaded. Can anybody suggest why?
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: Uploading of realtime.txt via ftp

Post by PaulMy »

Your remote ftp directory should likely be just public_html

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
Rylands
Posts: 55
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Uploading of realtime.txt via ftp

Post by Rylands »

Unfortunately no file upload still :(
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Uploading of realtime.txt via ftp

Post by HansR »

Could you post the logfiles please
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Rylands
Posts: 55
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Uploading of realtime.txt via ftp

Post by Rylands »

Just to expand on the issue slightly.

CumulusMX has been running succesfully AND uploading files to my webpage. I have moved my hosting to a new domain, along with all my website files.

I have Cumulus running on a raspberry Pi, and it is running succesfully, importing data from my Davis Pro 2 station.

All good to this point.

Using putty, I can connect and see the Cumulus files. No problems here. However when I use these same settings to connect via ftp and FileZilla, I can't connect.

"Connection attempt failed with "ECONNREFUSED - Connection refused by server".

So yes - sending the log file is no problem, I just can't seem to ftp to my pi.
Rylands
Posts: 55
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Uploading of realtime.txt via ftp

Post by Rylands »

Update:

Having checked my directory, it now seems that a series of .json files are now being uploaded every 10 minutes. However realtime.txt is not.

Cumulus Web/FTP settings show the following options selected:

Auto update
Include Graph Data Files
Include Moon Image file
FTP rename
UTF-8 encoding
FTP logging
Upload interval - 10
Enable realtime
Enable realtime FTP
FTP realtime.txt
Realtimegauges.txt FTP
Realtime interval 30
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Uploading of realtime.txt via ftp

Post by HansR »

So is the realtimegauges going to the website then? Or is it only the realtime.txt
Rylands wrote: Sat 27 Mar 2021 5:54 am Using putty, I can connect and see the Cumulus files. No problems here. However when I use these same settings to connect via ftp and FileZilla, I can't connect.
Rylands wrote: Sat 27 Mar 2021 5:54 am So yes - sending the log file is no problem, I just can't seem to ftp to my pi.
Now I am confused: are you trying to connect to the RPi here or to the website?

Your logfiles are on the RPi, you must be able to access the RPi otherwise you locked yourself out of CMX!
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Rylands
Posts: 55
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Uploading of realtime.txt via ftp

Post by Rylands »

Sorry for the confusion.

I'm far from an expert on any of these systems, and have used information gained from the Cumulus forum to set up Cumulus on my RPi, and also on how to set up Cumulus to send through files to my website (again, using a template and instructions supplied by somebody else)

Connection to Cumulus at 192.168.... from my PC console works fine.

I can also use PuTTY to access the files, again using the same IP address, and password.

The only file I need to upload is realtime.txt - the information in this file is then updated to my page.

I can see using PuTTY that there is a ftplog.txt file in my CumulusMX directory.. but given I can't get FTP access to work, without taking the SD card out of my RPi, I can't retrieve it.

(Side note - Network Configuration on my RPi shows a hostname I have set as cumulusmx - I have also tried to use this as the username in FileZilla)
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: Uploading of realtime.txt via ftp

Post by water01 »

Try using the IP address. Alternatively instead of using FTP if you set all the files up in extra files using local network addresses it will put the files in the correct place. I am assuming you are trying to set up the Pi as your web server?
David
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: Uploading of realtime.txt via ftp

Post by mcrossley »

To connect FileZilla to your raspberry pi you have to use the SSH protocol, not FTP.

There is no FTP server configured on the pi by default, you would have to install one.
Rylands
Posts: 55
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Uploading of realtime.txt via ftp

Post by Rylands »

And this is where things get very confusing for somebody whose knowledge of ftp, RPi etc... is limited to the information on these boards.

To quote the installation instructions for the RPi
o In the ‘Host’ box, enter the Raspberry Pi’s IP address eg 192.168.1.123
o In Username, enter pi
o In Password enter your pi’s password
o In Port, enter 22
o Click ‘Quickconnect’. Raspberry Pi’s directory structure appears on the right and your PC’s directory structure is on the left</quote>
Nothing here about an SSH connection, unless I have missed something (quite possible)
Regardless, thanks mrcrossley - I have access to my Rpi using SSH.

I have copied the cumulus.ini file and ftplog.txt file. The ftplog.txt file is 1.19 GB in size. It's too large to attach even in zip format. I can only view the file in Wordpad, and even then it is extremely slow. Is there anything in particular I should be looking for in these files, to try and narrow down the issue?
Rylands
Posts: 55
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Uploading of realtime.txt via ftp

Post by Rylands »

After an hour, I can finally get to the bottom of the ftplog.txt file. The log for the upload of realtime.txt is in the attached file.

My cumulus settings are in the attached cumulus.ini file.

Filezilla shows my directory structure as:

/eyesontheweather.com.au/public_html/template

Trust this can help somebody who is a lot more clever than me, tell me what I am doing wrong :D
You do not have the required permissions to view the files attached to this post.
Last edited by Rylands on Mon 29 Mar 2021 3:03 am, edited 1 time in total.
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: Uploading of realtime.txt via ftp

Post by PaulMy »

See PM
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
Rylands
Posts: 55
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Uploading of realtime.txt via ftp

Post by Rylands »

Thanks PaulMy - fixed that issue. Hopefully now I can get an answer from you/somebody else as to what is happening here.
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: Uploading of realtime.txt via ftp

Post by PaulMy »

See PM
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
Post Reply