Unless I missed it, I see nothing rsync related in your logfile snippet. For starters, I think you need "skin = Rsync" in your [[RSYNC]] section. If you edited weewx.conf be sure to restart weewx afterward so it takes effect.
Also add "log_failure = true" and "log_success = true" to your RSYNC section at least temporarily to have it tell you what it's doing (or not). On Thursday, May 23, 2024 at 7:08:24 PM UTC-7 Chris Eidem wrote: > I'm assuming the [[RSYNC]] section behaves like ssh normally would - the > "server" line in the RSYNC section is contacting the host "www" as listed > in the .ssh/config below it. I can connect to the remote server with a 'sudo > -u weewx /usr/bin/bash -i' and then 'ssh www' > On 5/23/24 20:43, Tom Keffer wrote: > > Is the option "server = www" correct? Or, did you just use a placeholder > for your post? > > Assuming it's actually set to the true host... > > I know you did not see anything in the log, but it would still be useful > to see it. Set debug=1, restart weewxd, let it run through the first > reporting cycle, then post the log. > > -tk > > On Thu, May 23, 2024 at 6:11 PM Chris Eidem <[email protected]> wrote: > >> I'm not getting reports sent to my web site on another machine. rsync was >> working before upgrading to weewx 5, but now I can't seem to figure out why >> nothing is getting sent. I have the public and private keys along with the >> config file in the new home dir (/var/lib/weewx/.ssh) and if I do a sudo -u >> weewx /usr/bin/bash -i to get a shell, I can connect without a password and >> get a remote shell on the web server. >> >> [[RSYNC]] section: >> enable = true >> server = www >> user = weewx >> path = /var/www/htdocs/wx >> >> /var/lib/weewx/.ssh/config: >> Host www >> Hostname wx.example.com >> User weewx >> IdentityFile ~/.ssh/weewx >> StrictHostKeyChecking no >> >> How would I go about troubleshooting this? I don't see anything in the >> journal stating any connection issues and again, I can connect to the >> remote service passwordlessly (is that a word?). >> >> Thank you for any hints, >> Chris >> -- >> 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/a6d8be5f-39ae-44f6-8e89-dadb5b745d3bn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/a6d8be5f-39ae-44f6-8e89-dadb5b745d3bn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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/CAPq0zEDRfnEahC5aUd2e%3DNRTQ9x%2B3e3a_xrM6V1mcwgFjaMV9g%40mail.gmail.com > > <https://groups.google.com/d/msgid/weewx-user/CAPq0zEDRfnEahC5aUd2e%3DNRTQ9x%2B3e3a_xrM6V1mcwgFjaMV9g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > -- 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/78594107-73b5-4fe7-8f5b-b68f759684bfn%40googlegroups.com.
