Thanks Vince. I'm getting closer. For some reason, the connection via weewx 
gets rejected but not when I do so via the command line:


Jun 16 15:27:54 linux weewxd[2084707]: DEBUG weeutil.rsyncupload: 
rsyncupload: cmd: [['rsync', '--archive', '--stats', '-e', 'ssh', 
'/var/www/html/weewx/belchertown/', 
'kevinphy@192.254.224.66:/home2/kevinphy/kevinkeyphotography.com']]
Jun 16 15:27:54 linux weewxd[2084707]: ERROR weeutil.rsyncupload: rsync 
reported errors. Original command: ['rsync', '--archive', '--stats', '-e', 
'ssh', '/var/www/html/weewx/belchertown/', 
'kevinphy@192.254.224.66:/home2/kevinphy/kevinkeyphotography.com']
Jun 16 15:27:54 linux weewxd[2084707]: ERROR weeutil.rsyncupload: **** Host 
key verification failed.
Jun 16 15:27:54 linux weewxd[2084707]: ERROR weeutil.rsyncupload: **** 
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
Jun 16 15:27:54 linux weewxd[2084707]: ERROR weeutil.rsyncupload: **** 
rsync error: unexplained error (code 255) at io.c(231) [sender=3.2.7]
^X^C
kevin@linux:/usr/share/weewx/weeutil$

This works fine via command line:

rsync -arP /var/www/html/weewx/ 
 kevinphy@192.254.224.66:/home2/kevinphy/kevinkeyphotography.com/weewx

On Sunday, June 16, 2024 at 2:14:51 PM UTC-7 vince wrote:

> [[RSYNC]] # rsync'ing to a webserver is treated as just another report 
> skin = Belchertown HTML_ROOT = /var/www/html/weewx/rsync
>
> Should be skin = Rsync 
>
> (you posted your forecast credentials in your belchertown section of 
> debug.txt so you might want to generate a new key for that..)
>
> On Sunday, June 16, 2024 at 1:36:12 PM UTC-7 Kevin Key wrote:
>
>> Here ya go. The only lines that, IMHO, stand out:
>>
>> Jun 16 13:24:25 linux weewxd[1930780]: DEBUG weewx.reportengine: Running 
>> report 'FTP'
>> Jun 16 13:24:25 linux weewxd[1930780]: DEBUG weewx.reportengine: Found 
>> configuration file /etc/weewx/skins/Belchertown/skin.conf for report 'FTP'
>> Jun 16 13:24:25 linux weewxd[1930780]: DEBUG weewx.reportengine: Invalid 
>> report_timing setting for report 'FTP', running report anyway
>> Jun 16 13:24:25 linux weewxd[1930780]: DEBUG weewx.reportengine:       
>>  ****  Invalid field 'minutes' in 'minutes hours day_of_month months 
>> day_of_week'
>> Jun 16 13:24:25 linux weewxd[1930780]: DEBUG weewx.reportengine: Running 
>> generators for report 'FTP' in directory '/etc/weewx/skins/Belchertown'
>>
>> On Saturday, June 15, 2024 at 9:40:21 PM UTC-7 gjr80 wrote:
>>
>>> The clue will be in the log, sometimes it is what is not in the log 
>>> rather than an error message that provides the clue. I suggest you leave 
>>> debug 
>>> = 1, restart WeeWX and post a log extract showing the full WeeWX 
>>> startup and at least a couple of report cycles.
>>>
>>> Gary
>>> On Sunday 16 June 2024 at 13:07:29 UTC+10 kevi...@gmail.com wrote:
>>>
>>>> I have FTP and Rsync enabled and the servers and credentials specified, 
>>>> but no uploads and no errors in the log. Any suggestions? The local files 
>>>> are created, but there is nothing on the log to indicate any upload 
>>>> attempts. I have debug = 1.
>>>
>>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b2021434-dfaa-409f-a391-fc8ddacd915an%40googlegroups.com.

Reply via email to