You are correct Pat, but things go awry sometimes.

So if I understand the current state of play correctly /report/index.html 
is being generated correctly each report cycle on your WeeWX machine but 
the updated /report/index.html is not being uploaded to your web server? A 
few suggestions to track down/fix the problem.

First up and easiest, WeeWX keeps track of what was previously uploaded in 
the file #FTP.last (I believe it will be in your HTML_ROOT on your WeeWX 
machine). Sometimes there can be an issue with the file and it can 
interfere with correct FTP operation. Locate #FTP.last and delete it. This 
will force WeeWX to upload all files on the next report cycle. See if that 
causes /report/index.html to be correctly uploaded/updated on your web 
server.

If that fails we need to dig a bit deeper. Best to set debug=1 in weewx.conf 
and restart WeeWX/do a config reload. Let WeeWX run for a couple of report 
cycles then post a log extract from when WeeWX was restarted through until 
the report cycles complete. Also post a copy of your [StdReport] stanza 
from weewx.conf, either do this via wee_debug 
<http://weewx.com/docs/utilities.htm#wee_debug_utility> or manually 
copy/paste. Either way check what you post for user names/passwords; 
wee_debug will do a good job obfuscating them but it is not perfect.

Gary

On Friday, 7 June 2019 05:06:36 UTC+10, Pat wrote:
>
> I admit I'm not familiar with the FTP skin, so I'm not sure how the new 
> Belchertown skin would affect this. 
>
> My understanding is that anything inside your HTML_ROOT will get captured 
> by the FTP Skin and get uploaded 
> <https://github.com/weewx/weewx/blob/2063dfa3aba65e747c1f47a222d43163b72d584a/bin/weewx/reportengine.py#L316>.
>  
> So I guess I'd check that your Pi's HTML_ROOT is updating accurately during 
> each run? Maybe your Pi's syslog will show there's an error with generating 
> the skin?
>
> Anyone feel free to correct me
>
> On Thursday, June 6, 2019 at 2:14:07 PM UTC-4, Andy Hudson-Smith wrote:
>>
>> Looking at my ftp logs - the main Belchertown index.html has been 
>> updating fine but /report/index.html is not getting an update.
>>
>> So wondering if its the latest skin update perhaps? The file is there on 
>> the pi but not on the main server...
>>
>> Andy
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/99cb5ee9-c930-4b3a-8b62-289810fdd0fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to