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 <cei...@gmail.com> 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 <http://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 weewx-user+unsubscr...@googlegroups.com.
    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 weewx-user+unsubscr...@googlegroups.com. 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f92bac51-0edb-4350-b029-4216c9cf7091%40gmail.com.

Reply via email to