rsync does not work after upgrade to v5

65 views
Skip to first unread message

teq...@gmail.com

unread,
Mar 1, 2024, 4:36:32 AM3/1/24
to weewx-user
Hello,
first I messed up with the normal upgrade from 4 to 5 via apt upgrade. After that I created a complete new installation but keep my weewx.conf file.

So,  weewx 5 works now and generated all information. Unfortunately the rsync "skin" does not do anything. If I execute the rsync command manually it works fine.

After that I enabled the debug mode and saw that the command seems to be executed, but without any output.

2024-03-01T10:30:35.062186+01:00 weewx weewxd[392]: DEBUG weewx.reportengine: Running report 'RSYNC'
2024-03-01T10:30:35.062694+01:00 weewx weewxd[392]: DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report 'RSYNC'
2024-03-01T10:30:35.065311+01:00 weewx weewxd[392]: DEBUG weewx.reportengine: Running generators for report 'RSYNC' in directory '/etc/weewx/skins/Rsync'
2024-03-01T10:30:35.065483+01:00 weewx weewxd[392]: DEBUG weeutil.rsyncupload: rsyncupload: cmd: [['rsync', '--archive', '--stats', '-e', 'ssh', '/var/www/html/weewx/', 'us...@vps01.example.com:/home/user/webseiten/website/html']]

Because of the working weewx.conf in version 4 I don't see any issues. I read many comments about host key verification, but I don't have this issue here. So maybe someone could help.

Thanks.

Mario Wesolek

unread,
Mar 1, 2024, 4:59:16 AM3/1/24
to weewx-user
problem here: since weewx 5 the deamon runs no more as root. The new user "weewx" hat his homedir under "/var/lib/weewx/" so i create the ssh config there. this is a workaround, but it works...  

Mario Wesolek

unread,
Mar 1, 2024, 4:59:49 AM3/1/24
to weewx-user
remember the permissions of files on the remote machine!
Reply all
Reply to author
Forward
0 new messages