Ive built a new build on raspi 5 with weewx 5.02 and it all works ok apart 
from rsync to my local server . 
Ive set up ssh-keygen from the home directory and to the root withh sudo -i

rsync works in a .sh file via crontab

Ive tried the following 

phil@raspberrypi:~ $ rsync -a /etc/weewx/webpages/testcenter/ 
[email protected]:/volume1/web/SheringhamWeatherCenter/
phil@raspberrypi:~ $ sudo -i
root@raspberrypi:~# rsync -a /etc/weewx/webpages/testcenter/ 
[email protected]:/volume1/web/SheringhamWeatherCenter/
root@raspberrypi:~#
and both work ok

Now with the following in the rsync section of weewx.conf
    [[RSYNC]]
        skin = Rsync
        enable = true
HTML_ROOT = /etc/weewx/webpages/testcenter/
        server = 192.68.1.157
        user = LushEr21
        path = /volume1/web/SheringhamWeatherCenter/

i get the following lines of erroes in the log  

2024-07-10T15:32:32.056993+01:00 raspberrypi weewxd[4788]: ERROR 
weeutil.rsyncupload: rsync reported errors. Original command: ['rsync', 
'--archive', '--stats', '-e', 'ssh', '/etc/weewx/webpages/testcenter/', 
'[email protected]:/volume1/web/SheringhamWeatherCenter']
2024-07-10T15:32:32.057086+01:00 raspberrypi weewxd[4788]: ERROR 
weeutil.rsyncupload: **** ssh: connect to host 192.68.1.157 port 223: 
Connection timed out
2024-07-10T15:32:32.057115+01:00 raspberrypi weewxd[4788]: ERROR 
weeutil.rsyncupload: **** rsync: connection unexpectedly closed (0 bytes 
received so far) [sender]
2024-07-10T15:32:32.057141+01:00 raspberrypi weewxd[4788]: ERROR 
weeutil.rsyncupload: **** rsync error: unexplained error (code 255) at 
io.c(231) [sender=3.2.7]

The ssh port  223  is correct.

Sending to my host from the home and the root is OK just wondered what else 
I need to set up for weewx to work ok.

Thanks any help
P





 

-- 
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/1e00dc38-38c2-4f94-8707-64a5930fac90n%40googlegroups.com.

Reply via email to