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 4018) - 28 March 2024
Legacy Cumulus 1 release v1.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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.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
Real time updating
-
- Posts: 35
- Joined: Sun 07 Jun 2009 2:07 pm
- Weather Station: W-8681
- Operating System: RPI Buster MX 3117
- Contact:
Real time updating
I have successfully installed the cumulus web site http://www.craythorneweather.info on my own linux based server located at my home. I seem to be unable to get the real time update working. I can ftp the realtime.txt file to the site without a problem but it refuses to update automatically. I would be grateful for any pointers to where I could look for a solution.
Joe Curtis
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Real time updating
Joe, if you turn on ftp logging, the realtimeftplog.txt should show the problem - attach it here if you need help with them. Are yiou sure you've specified the path (directory) correctly in the ftp settings?
Steve
-
- Posts: 35
- Joined: Sun 07 Jun 2009 2:07 pm
- Weather Station: W-8681
- Operating System: RPI Buster MX 3117
- Contact:
Re: Real time updating
This is the puzzling part!
The log shows:-
21:41:58:062 ! HighLevelAsync 0
21:41:58:062 TWSocket will connect to 192.168.1.103:65014
21:41:58:062 ! Data Session opened (Put)
21:41:58:062 01009D20 TriggerDataSent 824
21:41:58:062 01009610 TriggerDataSent 816
21:41:58:062 >|550 /var/www/http/weather/realtime.txt: No such file or directory|
There is a file there, it's where I FTP it to, although there is a similar error message in my manual FTP transfer (see attached log file) but the ftp transfer actually works. I suspect the error message is because it is already in the target directory and doesn't/can't need to change to it again. Maybe this is what is happening with the cumulus transfer?
The normal update works fine
Logging in to 192.168.1.103
Changing directory to /var/www/http/weather
Uploading standard files
Sending html pages
Changing directory to images
Sending graph files
Logging out
The log shows:-
21:41:58:062 ! HighLevelAsync 0
21:41:58:062 TWSocket will connect to 192.168.1.103:65014
21:41:58:062 ! Data Session opened (Put)
21:41:58:062 01009D20 TriggerDataSent 824
21:41:58:062 01009610 TriggerDataSent 816
21:41:58:062 >|550 /var/www/http/weather/realtime.txt: No such file or directory|
There is a file there, it's where I FTP it to, although there is a similar error message in my manual FTP transfer (see attached log file) but the ftp transfer actually works. I suspect the error message is because it is already in the target directory and doesn't/can't need to change to it again. Maybe this is what is happening with the cumulus transfer?
The normal update works fine
Logging in to 192.168.1.103
Changing directory to /var/www/http/weather
Uploading standard files
Sending html pages
Changing directory to images
Sending graph files
Logging out
You do not have the required permissions to view the files attached to this post.
Joe Curtis
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Real time updating
I see you have your ftp login set up to go to /var/www/http/weather/ at login, and you're getting the error:
550 /var/www/http/weather/: No such file or directory
So I guess that path really is incorrect. I don't really know what to say, as it's clearly not specific to Cumulus; you need to work out what your ftp server actually requires (maybe try leaving out the initial / ?).
The trace you've shown from the ftp window for the normal upload can be misleading; it never shows any errors. To see those you need to look at ftplog.txt.
Edit: Actually - having both 'www' and 'http' in the path seems a bit odd to me - are you sure that's right?
550 /var/www/http/weather/: No such file or directory
So I guess that path really is incorrect. I don't really know what to say, as it's clearly not specific to Cumulus; you need to work out what your ftp server actually requires (maybe try leaving out the initial / ?).
The trace you've shown from the ftp window for the normal upload can be misleading; it never shows any errors. To see those you need to look at ftplog.txt.
Edit: Actually - having both 'www' and 'http' in the path seems a bit odd to me - are you sure that's right?
Steve
- GTB
- Posts: 75
- Joined: Thu 06 Nov 2008 12:14 am
- Weather Station: ws1081 with Cumulus
- Operating System: win 2000
- Location: Terrigal NSW
- Contact:
Re: Real time updating
Hi Joe
is your cumulus program on the same machine ? (server)
if so - copy files directly to your web folder and don't worry about ftp
geoff
is your cumulus program on the same machine ? (server)
if so - copy files directly to your web folder and don't worry about ftp
geoff
-
- Posts: 35
- Joined: Sun 07 Jun 2009 2:07 pm
- Weather Station: W-8681
- Operating System: RPI Buster MX 3117
- Contact:
Re: Real time updating
Geoff - they are on different machines. Cumulus doesn't work on linux.
Steve
/var/www/httpd/weather as an address is not unusual in a linux environment.
My guess is that it is a permissions issue. the error message might not be that accurate in what it is describing.
The normal FTP log (attached) shows the same error but the site is being updated every 15 mins so the FTP transfers are working.
I will continue to dig till I find the problem
Steve
/var/www/httpd/weather as an address is not unusual in a linux environment.
My guess is that it is a permissions issue. the error message might not be that accurate in what it is describing.
The normal FTP log (attached) shows the same error but the site is being updated every 15 mins so the FTP transfers are working.
I will continue to dig till I find the problem
You do not have the required permissions to view the files attached to this post.
Joe Curtis
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Real time updating
/var/www/httpd/weather or /var/www/http/weather - which one is the typo?Joe Curtis wrote:/var/www/httpd/weather as an address is not unusual in a linux environment.
Steve
-
- Posts: 35
- Joined: Sun 07 Jun 2009 2:07 pm
- Weather Station: W-8681
- Operating System: RPI Buster MX 3117
- Contact:
Re: Real time updating
Well spotted!! Both are typo's. Should be /var/www/html/weather.
It says something for the linux ftp server (Proftpd) that it gets some of the data to the right place even when the address is wrong.
Many thanks.
It says something for the linux ftp server (Proftpd) that it gets some of the data to the right place even when the address is wrong.
Many thanks.
Joe Curtis
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Real time updating
Hmm ...
You now have realtime.txt, but its timestamp id: 13/06/09 10:10:30 ...
but your pages say: 18:25
You now have realtime.txt, but its timestamp id: 13/06/09 10:10:30 ...
but your pages say: 18:25
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 35
- Joined: Sun 07 Jun 2009 2:07 pm
- Weather Station: W-8681
- Operating System: RPI Buster MX 3117
- Contact:
Re: Real time updating
Steve
As a final word on my problem, in case anyone else should encounter it, the fault was not a typo in the target directory but the directory itself. PROFTPD, the FTP server I am using on the linux machine, does not require a target directory from the FTP client, it gets this from the data set up when installing an FTP user on the server. Removing the directory from the cumulus parameters was the solution and would explain why the 15min update was working even with a typo in the parameters.
As a final word on my problem, in case anyone else should encounter it, the fault was not a typo in the target directory but the directory itself. PROFTPD, the FTP server I am using on the linux machine, does not require a target directory from the FTP client, it gets this from the data set up when installing an FTP user on the server. Removing the directory from the cumulus parameters was the solution and would explain why the 15min update was working even with a typo in the parameters.
Joe Curtis