I can rsync files with that user, so it's there and it works. I changed the server name in the weewx.conf file and restarted weewx.
One mention of rsync at all in the logs (jounalctl -b -e, is there another place to look?): DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report 'RSYNC' rsync is enabled (output from weectl report list): Using configuration file /etc/weewx/weewx.confNo Report Skin Enabled Units Language SeasonsReport neowx-material Y US N/A SmartphoneReport Smartphone Y US N/A MobileReport Mobile Y US N/A StandardReport neowx-material Y US N/A forecast forecast Y US N/A FTP Ftp N US N/A RSYNC Rsync Y US N/A On Friday, May 24, 2024 at 11:42:56 AM UTC-5 vince wrote: > You should see 'something' related to rsync in your logs unless you > massively messed up your RSYNC section or its location in weewx.conf > > For example - I took a clean system and enabled RSYNC then added the > log_failure and log_success lines to make it explicitly log > failure/success.. > > [StdReport] > ...many lines omitted for brevity... > [[RSYNC]] > skin = Rsync > enable = true > server = replace_me ### <=== it'll fail on hostname resolution > user = replace_me > path = replace_me > log_failure = true > log_success = true > > It logs the expected failures showing weewx at least ran the uploader. > > 2024-05-24T09:27:32.412737-07:00 deb12pkgtwo weewxd[3052]: INFO > weewx.engine: Starting main packet loop. > 2024-05-24T09:30:14.923691-07:00 deb12pkgtwo weewxd[3052]: INFO > weewx.manager: Added record 2024-05-24 09:30:00 PDT (1716568200) to > database 'weewx.sdb' > 2024-05-24T09:30:14.932831-07:00 deb12pkgtwo weewxd[3052]: INFO > weewx.manager: Added record 2024-05-24 09:30:00 PDT (1716568200) to daily > summary in 'weewx.sdb' > 2024-05-24T09:30:15.216464-07:00 deb12pkgtwo weewxd[3052]: INFO > weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.24 > seconds > 2024-05-24T09:30:15.507333-07:00 deb12pkgtwo weewxd[3052]: INFO > weewx.imagegenerator: Generated 56 images for report SeasonsReport in 0.27 > seconds > 2024-05-24T09:30:15.508311-07:00 deb12pkgtwo weewxd[3052]: INFO > weewx.reportengine: Copied 5 files to /var/www/html/weewx > 2024-05-24T09:30:16.021060-07:00 deb12pkgtwo weewxd[3052]: ERROR > weeutil.rsyncupload: rsync reported errors. Original command: ['rsync', > '--archive', '--stats', '-e', 'ssh', '/var/www/html/weewx/', > 'replace_me@replace_me:replace_me'] > 2024-05-24T09:30:16.021132-07:00 deb12pkgtwo weewxd[3052]: ERROR > weeutil.rsyncupload: **** ssh: Could not resolve hostname replace_me: Name > or service not known > 2024-05-24T09:30:16.021153-07:00 deb12pkgtwo weewxd[3052]: ERROR > weeutil.rsyncupload: **** rsync: connection unexpectedly closed (0 bytes > received so far) [sender] > 2024-05-24T09:30:16.021170-07:00 deb12pkgtwo weewxd[3052]: ERROR > weeutil.rsyncupload: **** rsync error: unexplained error (code 255) at > io.c(231) [sender=3.2.7] > > > Another example from one of my weewx instances that rsyncs a skin that has > literally one file in it: > May 24 09:35:28 pi4 weewxd-ecowitt[27898]: INFO weewx.manager: Added > record 2024-05-24 09:35:00 PDT (1716568500) to database 'ecowitt.sdb' > May 24 09:35:28 pi4 weewxd-ecowitt[27898]: INFO weewx.manager: Added > record 2024-05-24 09:35:00 PDT (1716568500) to daily summary in > 'ecowitt.sdb' > May 24 09:35:29 pi4 weewxd-ecowitt[27898]: INFO weewx.cheetahgenerator: > Generated 1 files for report ecowitt in 0.03 seconds > May 24 09:35:29 pi4 weewxd-ecowitt[27898]: INFO weewx.reportengine: Copied > 0 files to /home/pi/weewx-data/public_html/ecowitt > May 24 09:35:29 pi4 weewxd-ecowitt[27898]: INFO weeutil.rsyncupload: > rsync'd 1 files (3,962 bytes) in 0.69 seconds > > On Friday, May 24, 2024 at 5:41:43 AM UTC-7 Graham Eddy wrote: > >> run the command as user weewx on the weewx box, i hasten to clarify >> *⊣GE⊢* >> >> On 24 May 2024, at 10:39 PM, Graham Eddy <g...@geddy.au> wrote: >> >> on source box running weewx, run $ ssh websvr hostname (where websvr is >> rsync target host) >> >> >> -- 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/75c0cd8e-6a70-40e5-8b68-c4df69022415n%40googlegroups.com.