Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
web hosting on local server
web hosting on local server
hi all
just got the usb weather station from maplin and am trying to get the data online
i've got a server running 24/7 at home that hosts my email and webcam and want to get the weather data on it
how do i get cumulus to store the data locally instead of over ftp?
thanks
andy
just got the usb weather station from maplin and am trying to get the data online
i've got a server running 24/7 at home that hosts my email and webcam and want to get the weather data on it
how do i get cumulus to store the data locally instead of over ftp?
thanks
andy
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: web hosting on local server
If you tick 'auto update' and supply an interval, it will generate the files (in the web folder) but not attempt to ftp them. You would then need to devise some method for copying them to where you wanted them.
Steve
Steve
Re: web hosting on local server
steve
thats works, is there anyway to get it to save the web data anywhere else?
cant work out why its doesnt work over ftp to my local server thou (on the same drive)
thanks
andy
thats works, is there anyway to get it to save the web data anywhere else?
cant work out why its doesnt work over ftp to my local server thou (on the same drive)
thanks
andy
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: web hosting on local server
I'm afraid not. I could allow a location to be specified, it would just be a bit tedious and time-consuming changing all the code to use that instead of the application directory.
Steve
Steve
Re: web hosting on local server
got it working by using ip to the local pc thou realtime only writes to the program files directory and not to the website?
any thoughts?
thanks
any thoughts?
thanks
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: web hosting on local server
You mean it's generating the realtime.txt file but the ftp isn't working? Have you put a trailing slash on the directory? That might cause it to fail, because you end up with a filename with two slashes in it. I'm stripping trailing slashes in the latest builds.
If you can't work out why it's not working, turn on the ftp logging.
Steve
If you can't work out why it's not working, turn on the ftp logging.
Steve
Re: web hosting on local server
No trailing slashes. It writes normal web pages to FTP thou not the realtime.txt file? I'll try the logging
Thanks
Thanks
-
- Posts: 132
- Joined: Thu 26 Jun 2008 5:51 am
- Weather Station: Davis VP2 + Solar
- Operating System: A20 TV box + CumulusMX
- Location: Slov.Konjice, Slovenia
- Contact:
Re: web hosting on local server
realtime.txt its not uploaded to FTP, you must add it manually in Files tab.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: web hosting on local server
No no no! It's uploaded automatically if you tick 'enable realtime'. If it's not being uploaded there's some sort of problem.TgT wrote:realtime.txt its not uploaded to FTP, you must add it manually in Files tab.
Steve
Re: web hosting on local server
Not working here i tryed all adjustments but not.No no no! It's uploaded automatically if you tick 'enable realtime'. If it's not being uploaded there's some sort of problem.
I get from ftp log:
Code: Select all
00:14:43:688 ! HighLevelAsync 0
00:14:43:688 TWSocket will connect to 216.193.201.61:60096
00:14:43:877 ! Data Session opened (Put)
00:14:43:877 04335240 TriggerDataSent 620
00:14:43:877 04334B30 TriggerDataSent 968
00:14:44:065 >|550 weather/realtime.txttmp: No such file or directory|
00:14:44:065 04335240 TCustomWSocket.Shutdown 1 620
00:14:44:066 ! Data Session closed
00:14:44:066 ! Next3PutAsync
00:14:44:066 ! HighLevelAsync 0
00:14:44:066 04334B30 TriggerDataSent 968
00:14:44:268 >|550 weather/realtime.txttmp: No such file or directory|
Re: web hosting on local server
But i see from log stil try the realtime not working:aadal wrote:Not working here i tryed all adjustments but not.No no no! It's uploaded automatically if you tick 'enable realtime'. If it's not being uploaded there's some sort of problem.
I get from ftp log:Working great! when i added it manualy and realtime is 5 sec.Code: Select all
00:14:43:688 ! HighLevelAsync 0 00:14:43:688 TWSocket will connect to 216.193.201.61:60096 00:14:43:877 ! Data Session opened (Put) 00:14:43:877 04335240 TriggerDataSent 620 00:14:43:877 04334B30 TriggerDataSent 968 00:14:44:065 >|550 weather/realtime.txttmp: No such file or directory| 00:14:44:065 04335240 TCustomWSocket.Shutdown 1 620 00:14:44:066 ! Data Session closed 00:14:44:066 ! Next3PutAsync 00:14:44:066 ! HighLevelAsync 0 00:14:44:066 04334B30 TriggerDataSent 968 00:14:44:268 >|550 weather/realtime.txttmp: No such file or directory|
Code: Select all
00:22:30:362 ! Next3PutAsync
00:22:30:362 ! HighLevelAsync 0
00:22:30:363 ! HighLevelAsync done
00:22:30:363 ! HighLevelAsync 0
00:22:30:364 04334B30 TriggerDataSent 968
00:22:30:555 >|350 File or directory exists, ready for destination name|
00:22:30:555 ! HighLevelAsync 0
00:22:30:555 04334B30 TriggerDataSent 968
00:22:30:763 >|250 Rename successful|
00:22:30:763 ! HighLevelAsync 0
00:22:30:763 ! HighLevelAsync done
00:22:33:325 04334B30 TriggerDataSent 968
00:22:33:524 >|200 Type set to A|
00:22:33:524 ! HighLevelAsync 0
00:22:33:524 04334B30 TriggerDataSent 968
00:22:33:711 >|227 Entering Passive Mode (216,193,201,61,234,170).|
00:22:33:711 ! HighLevelAsync 0
00:22:33:711 TWSocket will connect to 216.193.201.61:60074
00:22:33:898 ! Data Session opened (Put)
00:22:33:898 04335240 TriggerDataSent 1356
00:22:33:898 04334B30 TriggerDataSent 968
00:22:34:088 >|550 weather/realtime.txttmp: No such file or directory|
00:22:34:088 04335240 TCustomWSocket.Shutdown 1 1356
00:22:34:088 ! Data Session closed
00:22:34:088 ! Next3PutAsync
00:22:34:088 ! HighLevelAsync 0
00:22:34:088 04334B30 TriggerDataSent 968
00:22:34:289 >|550 weather/realtime.txttmp: No such file or directory|
00:22:34:290 04334B30 TriggerDataSent 968
00:22:34:476 >|200 Type set to A|
00:22:34:476 ! HighLevelAsync 0
00:22:34:477 04334B30 TriggerDataSent 968
00:22:34:674 >|227 Entering Passive Mode (216,193,201,61,234,135).|
00:22:34:674 ! HighLevelAsync 0
00:22:34:675 TWSocket will connect to 216.193.201.61:60039
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: web hosting on local server
It looks like you have the directory wrong. Cumulus constructs the file name from <directory> + '/' + realtime.txttmp (because you're using rename), and then does a 'put' from the point where you log in. So 'weather/realtime.txttmp' must be the wrong path for your ftp server. Realtime.txt upload works fine for me (and lots of others). If you log in with command line ftp, what directories do you have to go through to get to your 'weather' directory?aadal wrote:00:14:44:065 >|550 weather/realtime.txttmp: No such file or directory|
Steve
Re: web hosting on local server
Running nice here now, after some reading with my hosting.It looks like you have the directory wrong. Cumulus constructs the file name from <directory> + '/' + realtime.txttmp (because you're using rename), and then does a 'put' from the point where you log in. So 'weather/realtime.txttmp' must be the wrong path for your ftp server. Realtime.txt upload works fine for me (and lots of others). If you log in with command line ftp, what directories do you have to go through to get to your 'weather' directory?
Steve
The problem was that i am running Web/FTP Subaccounts the address to web is http://www.aadal.biz/~weather/ but to the FTP it was ftp://sicily.globat.com/ thise because the subaccounts.
Code: Select all
13:38:32:295 ! HighLevelAsync 0
13:38:32:295 ! HighLevelAsync done
13:38:35:783 04334B30 TriggerDataSent 944
13:38:36:078 >|200 Type set to A|
13:38:36:219 ! HighLevelAsync 0
13:38:36:220 04334B30 TriggerDataSent 944
13:38:36:408 >|200 PORT command successful|
13:38:36:408 ! HighLevelAsync 0
13:38:36:408 04334B30 TriggerDataSent 944
13:38:36:785 ! Data Session requested
13:38:36:785 04335240 TCustomWSocket.Shutdown 1 968
13:38:36:786 ! Data Session opened
13:38:36:786 >|150 Opening ASCII mode data connection for /realtime.txttmp|
13:38:36:786 04335240 TriggerDataSent 692
13:38:36:786 DataSocketPutDataSent 219
13:38:36:786 DataSocketPutDataSent 0
13:38:36:786 04335240 TriggerDataSent 692
13:38:36:786 DataSocketPutDataSent 0
13:38:36:786 04335240 TCustomWSocket.Shutdown 1 692
13:38:36:786 04335240 TCustomWSocket.Shutdown 1 692
13:38:36:983 ! Data Session closed
13:38:36:983 ! Next3PutAsync
13:38:36:983 04335240 TCustomWSocket.Shutdown 1 692
13:38:37:186 >|226 Transfer complete|
13:38:37:186 ! Next3PutAsync
13:38:37:186 ! HighLevelAsync 0
13:38:37:186 ! HighLevelAsync done
13:38:37:186 ! HighLevelAsync 0
13:38:37:187 04334B30 TriggerDataSent 944
13:38:37:373 >|350 File or directory exists, ready for destination name|
13:38:37:373 ! HighLevelAsync 0
13:38:37:373 04334B30 TriggerDataSent 944
13:38:37:562 >|250 Rename successful|
13:38:37:562 ! HighLevelAsync 0
13:38:37:562 ! HighLevelAsync done
Re: web hosting on local server
hmmm, still no joy
08:51:44:624 00E959C0 TCustomWSocket.Shutdown 1 696
08:51:47:609 >|200 Type set to A.|
08:51:47:609 00E952B0 TriggerDataSent 648
08:51:47:609 ! HighLevelAsync 0
08:51:47:624 >|200 PORT Command successful.|
08:51:47:624 ! HighLevelAsync 0
08:51:47:624 >|550 realtime.txt: Cannot create file.|
it manages to create all the other files ok?
08:51:44:624 00E959C0 TCustomWSocket.Shutdown 1 696
08:51:47:609 >|200 Type set to A.|
08:51:47:609 00E952B0 TriggerDataSent 648
08:51:47:609 ! HighLevelAsync 0
08:51:47:624 >|200 PORT Command successful.|
08:51:47:624 ! HighLevelAsync 0
08:51:47:624 >|550 realtime.txt: Cannot create file.|
it manages to create all the other files ok?
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: web hosting on local server
That appears to be attempting to upload the realtime.txt file straight into the directory that you start off in when you log in with ftp. Is that correct?guzzuk wrote:08:51:47:624 >|550 realtime.txt: Cannot create file.|
It's hard for me to diagnose problems like this when everybody's hosting is different. I am reasonably confident that the code in Cumulus is correct, most people have no problems.
Steve