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

realtime.txt isn't uploading to my webserver

Talk about anything that doesn't fit elsewhere - PLEASE don't put Cumulus queries in here!
Post Reply
richard_newberry
Posts: 500
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

realtime.txt isn't uploading to my webserver

Post by richard_newberry »

Hi could anyone tell me what im doing wrong please? i have enabled realtime and have realtime ftp ticked well all the boxes ticked.

but my log of the ftprealtime.txt file says filename invalid.

I would like the realtime.txt to work any ideas please..if you would like screenshots im happy to do so.

It's really winding me up now :bash:
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: realtime.txt isn't uploading to my webserver

Post by steve »

richard_newberry wrote:but my log of the ftprealtime.txt file says filename invalid.
You've almost certainly configured the ftp path/directory incorrectly, so when Cumulus constructs a full path for the realtime.txt file, it creates something which doesn't exist on your server. It's difficult for anyone to say what you need to put if you can't work it out, as it depends on how your server filestore is organised. If you tell us what you've put, it might be possible to suggest what it should be.

One tip is that if 'normal' upload files are getting to the right place, you may well just need to leave the directory blank.
Steve
richard_newberry
Posts: 500
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: realtime.txt isn't uploading to my webserver

Post by richard_newberry »

Thanks for replying Steve,

Yes all the other files i.e gauges.html are uploading fine its just realtime.txt is the problem.

My weather station is http://newberryhome.homeip.net

Everything works except realtime.txt .

when i'm home from work i'll post a screenshot of the directory i use with Cumulus.

I use xampp so it installs apache2 and filezilla as a ftp server. Everything is being run on the same server.

the directory i use is xampp/apache/htdocs where the fault root directory is for apache2 or httpd.

in FTP Zilla it says htdocs/realtime.txt file invalid i dunno why it says htdocs before it.

Appreciate your help mate.

P.S would be nice if the webpage updated every minute automatically as in <meta http-equiv="refresh" content="60">

So you don't have to keep doing F5 everytime.
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: realtime.txt isn't uploading to my webserver

Post by steve »

richard_newberry wrote:I use xampp so it installs apache2 and filezilla as a ftp server. Everything is being run on the same server.

the directory i use is xampp/apache/htdocs where the fault root directory is for apache2 or httpd.

in FTP Zilla it says htdocs/realtime.txt file invalid i dunno why it says htdocs before it.
You should be able to work out what path you need if you log in with an ftp client with the same user and password that you've given to Cumulus, and then work out the relative path from wherever you are when you log in, to wherever it is that you want the realtime.txt file to be put. I suspect you're already there and need to leave it blank.
P.S would be nice if the webpage updated every minute automatically as in <meta http-equiv="refresh" content="60">
No, that would be really horrible :lol:. It breaks W3C guidelines, and there are much better ways (though more involved) of getting the figures to update automatically.

But if you really do want to do it, you can always edit the pages; it's your web site.
Steve
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: realtime.txt isn't uploading to my webserver

Post by Synewave »

steve wrote: No, that would be really horrible :lol:. It breaks W3C guidelines, and there are much better ways (though more involved) of getting the figures to update automatically.
Richard,
You could try this method https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=4720. It's quite easy to do, many have done so already.
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: realtime.txt isn't uploading to my webserver

Post by gemini06720 »

richard_newberry wrote:...I use xampp so it installs apache2 and filezilla as a ftp server. Everything is being run on the same server.
the directory i use is xampp/apache/htdocs where the fault root directory is for apache2 or httpd.
Richard, I have been using XAMPP for a few years (I am now/still running version 1.7.3 as the latest release 1.7.4 has shown to be too unstable) and, on my computer, the 'htdocs' directory (the root directory for all my web pages) is located directly under 'xampp' and not two levels below... :shock:

Since Cumulus has been installed on the same drive as the XAMPP system, I do not use FileZilla to upload the Cumulus files - but I use FileZilla to upload some other weather related files (produced by other software) and I have had no problem whatsoever with missing files... :(
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: realtime.txt isn't uploading to my webserver

Post by steve »

gemini06720 wrote:
richard_newberry wrote:Everything is being run on the same server.


Since Cumulus has been installed on the same drive as the XAMPP system, I do not use FileZilla to upload the Cumulus files
Thanks, Ray, I completely missed that part of Richard's message. One solution to Richard's problem would be to get Cumulus to copy the files instead of using ftp.
Steve
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: realtime.txt isn't uploading to my webserver

Post by gemini06720 »

steve wrote:
gemini06720 wrote:
richard_newberry wrote:Everything is being run on the same server.
Since Cumulus has been installed on the same drive as the XAMPP system, I do not use FileZilla to upload the Cumulus files
Thanks, Ray, I completely missed that part of Richard's message. One solution to Richard's problem would be to get Cumulus to copy the files instead of using ftp.
Indeed, it has proven much easier (and more reliable) to program Cumulus to copy the files over to the different sub-directories where I have my web pages installed - thanks also to you for the increase number of files that Cumulus can copy... :)
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: realtime.txt isn't uploading to my webserver

Post by robynfali »

Don't forget toolbox as well, I find that one pretty damn handy if you run out of space in Cumulus! and its just as easy to program too!

(and coming from an idiot like me, that says something lol)
richard_newberry
Posts: 500
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: realtime.txt isn't uploading to my webserver

Post by richard_newberry »

Problem resolved.

http://newberryhome.homeip.net/CumulusRealtime.html

Anyone have a problem with that page loading let me know :)
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: realtime.txt isn't uploading to my webserver

Post by robynfali »

Working for me in the following

Firefox
Internet Explorer
Google

So, no probs mate, glad you got it sorted!
richard_newberry
Posts: 500
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: realtime.txt isn't uploading to my webserver

Post by richard_newberry »

Cheers mate,

I feel like a dumba** lol but long as it's working now.

Just want to edit the template file for indext.hml so the page updates every minute and add the realtime to a link on the page.

i like this Cumulus software.
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: realtime.txt isn't uploading to my webserver

Post by robynfali »

Hey, dont worry mate, i am the KING of dumb questions here (wonders if steve will put that rank up!!)

Go through life with the motto, "the only dumb question, is the one you didn't ask"
Gina
Posts: 1885
Joined: Sat 21 Feb 2009 12:41 pm
Weather Station: Nothing working ATM - making one
Operating System: OS X, Linux Mint, Win7 & XP
Location: Devon UK

Re: realtime.txt isn't uploading to my webserver

Post by Gina »

robynfali wrote:Go through life with the motto, "the only dumb question, is the one you didn't ask"
Quite right!!
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.
Post Reply