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

Website newbie question

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Website newbie question

Post by steve »

beteljuice wrote:Local filename:

.Cumulus/data/ ... ?

So how is it getting processed at all ?
I think it just looks like that because we're only seeing the end of the file name. It hink the '.' is actually the last bit of a '\'. It might be easier if Stig pastes the files section from cumulus.ini here - without the corruption that seems to have been introduced into the ftp log.
Steve
User avatar
Stig
Posts: 48
Joined: Thu 14 Jan 2010 6:24 pm
Weather Station: WMR928NX
Operating System: Windows 7
Location: Hareskov near Copenhagen
Contact:

Re: Website newbie question

Post by Stig »

you are right Steve the dot is a bit of the slash, here are the full length of the two lines

C:\Cumulus\data\awekas_wl.htm.htm

http://www.hareskovvejr.dk\awekas_wl.htm


I am also also sending the file Cumulus configuration, with my different paswords deleted, I hope it will show something, thanks :)
You do not have the required permissions to view the files attached to this post.
User avatar
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: Website newbie question

Post by beteljuice »

Hmmm ........

Web (server) files are using MS style path delimiters \ instead of 'Unix' / .

Be better to correct that just in case thats causing any problems.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Website newbie question

Post by steve »

beteljuice wrote:Hmmm ........

Web (server) files are using MS style path delimiters \ instead of 'Unix' / .

Be better to correct that just in case thats causing any problems.
Well spotted - I'm certain that's the problem. That's probably why the backslash appears twice in the error message, it's being escaped.
Steve
User avatar
Stig
Posts: 48
Joined: Thu 14 Jan 2010 6:24 pm
Weather Station: WMR928NX
Operating System: Windows 7
Location: Hareskov near Copenhagen
Contact:

Re: Website newbie question

Post by Stig »

I am sorry :( , I have now changed all delimiters as you can see from the ini file, but still nothing appears on web server

when I call http://www.hareskovvejr.dk/awekas_wl.htm it only shows this
AWEKAS_Template_start
<#temp>
<#hum>
<#press>
<#rfall>
<#wspeed>
<#bearing>
<#hour>:<#minute>
<#day>/<#month>/<#year>
<#presstrend>
-
-
-
-
-
-
-
<#wgust>


<#rrate>
---
°c
%
m/s
hPa
mm
W/m²
mm/hr
index
Template_V1.5

and my awekas profile shows offline :?
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Website newbie question

Post by steve »

Delete realtimeftplog.txt, turn on ftp logging, wait until a realtime ftp attempt has occurred, then attach the entire realtimeftplog.txt file here.
Steve
User avatar
Stig
Posts: 48
Joined: Thu 14 Jan 2010 6:24 pm
Weather Station: WMR928NX
Operating System: Windows 7
Location: Hareskov near Copenhagen
Contact:

Re: Website newbie question

Post by Stig »

the realtimeftplog.txt is now added, I can see some lines with failure, but don`t know what it means :oops:

13:23:55:038 ! HighLevelAsync 0
13:23:55:038 TWSocket will connect to 193.202.110.154:63725
13:23:55:043 ! Data Session opened (Put)
13:23:55:044 01D82A90 TriggerDataSent 828
13:23:55:045 01D82380 TriggerDataSent 1132
13:23:55:048 >|553-Can't open that file: No such file or directory|

13:23:55:048 >|553 Rename/move failure: No such file or directory|
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Website newbie question

Post by steve »

Having corrected the remote file names for the ftp server, for some reason you also changed the local file names and have now made them invalid for Windows.

C:/Cumulus/data/awekas_wl.htm.htm

On Windows, you have to use a backslash.
Steve
User avatar
Stig
Posts: 48
Joined: Thu 14 Jan 2010 6:24 pm
Weather Station: WMR928NX
Operating System: Windows 7
Location: Hareskov near Copenhagen
Contact:

Re: Website newbie question

Post by Stig »

ok corrected now, I did not know that it should be \ for windows :oops:

but as you can see from the file added I get the same result with no upload :(


14:34:31:421 ! HighLevelAsync 0
14:34:31:422 TWSocket will connect to 193.202.110.154:63518
14:34:31:428 ! Data Session opened (Put)
14:34:31:429 01DF2A90 TriggerDataSent 1252
14:34:31:429 01DF2380 TriggerDataSent 1136
14:34:31:433 >|553-Can't open that file: No such file or directory|
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Website newbie question

Post by steve »

Stig wrote:14:34:31:433 >|553-Can't open that file: No such file or directory|
This is coming back from your ftp server, so the path/file you are specifying must be incorrect.

Why have you got "www.hareskovvejr.dk\awekas_wl.htm" for the path anyway? For your normal realtime.txt upload, you have specified

Directory=

and that seems to be working. So why have you put www.hareskovvejr.dk on the front of your awekas file, when it looks like all you need is awekas_wl.htm? You've managed to get the correct directory path (i.e. nothing) for the standard uploads, why haven't you used the same path for your extra uploads?
Steve
User avatar
Stig
Posts: 48
Joined: Thu 14 Jan 2010 6:24 pm
Weather Station: WMR928NX
Operating System: Windows 7
Location: Hareskov near Copenhagen
Contact:

Re: Website newbie question

Post by Stig »

I have changed the path to the following

C:\Cumulus\data\awekas_wl
http://www.hareskovvejr.dk/awekas_wl

and am not getting the connection error, but still no upload to the web server :(
You do not have the required permissions to view the files attached to this post.
User avatar
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: Website newbie question

Post by beteljuice »

To recap:

local filename: C:\Cumulus\data\awekas_wl.htm

remote filename: awekas_wl.htm process [checked] ftp [checked]

Don't forget you can 'force' the process / ftp by Cumulus console => File => Web update ;) , which you need to make sure has happened before you browse to your hopefully updated page.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Website newbie question

Post by steve »

Stig wrote:I have changed the path to the following

C:\Cumulus\data\awekas_wl
http://www.hareskovvejr.dk/awekas_wl

and am not getting the connection error, but still no upload to the web server :(
You're not getting the error now because Cumulus isn't trying to ftp the file because it can't find it, you've taken the .htm off the end for some reason? And you definitely don't want any http:// nonsense on the front of an ftp path, this is FTP not HTTP. Did you read my previous message? I may have been editing it while you were reading it.

The settings beteljuice has suggested look right to me, given what I said in my previous message. I don't understand why you're finding this so difficult and why you keep changing things which are only introducing new problems and complicating things!

I think I am going to have to have a rule from now one where anyone who wants help with getting their files in the right place on their ftp server is just going to have to send me their login details, it's just too much hard work doing it like this.
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: Website newbie question

Post by gemini06720 »

I think I am going to have to have a rule from now one where anyone who wants help with getting their files in the right place on their ftp server is just going to have to send me their login details, it's just too much hard work doing it like this.
...Or Steve, you might insist, from now on, before you loose you (precious) time at answering questions, that the user reads the documentation that is posted on the Wiki... :evil:

I am not complaining about your presence in the forums ... but you seem to spend too much time answering already answered questions ... whereas you should spend more of your time on your personal family life and on the design of Cumulus... ;)
Austin
Posts: 22
Joined: Sun 08 Aug 2010 6:42 pm
Weather Station: WS-1080
Operating System: Windows Vista
Location: North Bend, WA, USA
Contact:

Re: Website newbie question

Post by Austin »

Bookmarked your site, nice to see a local member on here.
Image
N 47° 27' 20"|W 121° 44' 23"|945 ft ASL
www.weather.austingratzer.com
Post Reply