Re: [weewx-user] Rsync issue

2020-06-15 Thread Ossian
Awesome, thanks so much for being so patient and providing crystal clear instrustions. I believe I was 99% there, but had not reset the permissions on roots ssh folder. In the meantime I have found that following the instructions for systemd to https://github.com/weewx/weewx/wiki/systemd with a

Re: [weewx-user] Rsync issue

2020-06-14 Thread mwall
On Sunday, June 14, 2020 at 12:18:28 PM UTC-4, Ossian wrote: > > I am having a similar issue. I keep seeing mention of the need or > possibility to provide correct keys etc for root to use, but have not found > anything concrete to go on. > there are many ways to do this, for example, one

Re: [weewx-user] Rsync issue

2020-06-14 Thread Ossian
Hi All, I am having a similar issue. I keep seeing mention of the need or possibility to provide correct keys etc for root to use, but have not found anything concrete to go on. default installation of weewx: weewx running as root (ps aux) shows this root 17898 0.3 1.0 123032

Re: [weewx-user] Rsync issue

2020-05-29 Thread Benjamin Trey Blue
Thank you, Tom - I decided to clean-up all the SSH configs on the webhost's server and my RPi and then worked back through the process - it's working now! On Thursday, May 28, 2020 at 6:47:30 PM UTC-4, Tom Keffer wrote: > > That's basically what I do. The process weewxd gets run as user

Re: [weewx-user] Rsync issue

2020-05-28 Thread vince
On Thursday, May 28, 2020 at 3:16:04 PM UTC-7, Benjamin Trey Blue wrote: > > ...but I'm too Linux-dumb to have figured it out yet and I'm not really > sure how to go about even troubleshooting it further. > > Should I maybe consider setting-up weewx to run as a non-root user and > then

Re: [weewx-user] Rsync issue

2020-05-28 Thread Tom Keffer
That's basically what I do. The process weewxd gets run as user 'weewx', with the .ssh subdirectory in its home directory. See the wiki article *Run as a non-root user *. But, you can do it as root. Just make sure the proper credentials

Re: [weewx-user] Rsync issue

2020-05-28 Thread Benjamin Trey Blue
Hey Tom, I haven't made any changes to the user account that weewx uses by default - I had assumed from my reading that it defaults to root. The only two non-system accounts on the RPi are root and pi. Sudo wee_reports works from the terminal though, so there has to be some discrepancy with

Re: [weewx-user] Rsync issue

2020-05-28 Thread Benjamin Trey Blue
Thanks for the effort, anyway, John! On Thursday, May 28, 2020 at 2:33:11 PM UTC-4, John Kline wrote: > > That’s too bad. I believe you are getting this error because it is trying > too many SSH keys. IdentitiesOnly should have fixed that. > > On May 28, 2020, at 10:01 AM, Benjamin Trey Blue

Re: [weewx-user] Rsync issue

2020-05-28 Thread Tom Keffer
Are you running wee_reports as the same user as weewxd? Perhaps the latter does not have access to the keys? On Thu, May 28, 2020 at 10:01 AM Benjamin Trey Blue wrote: > Ahhh, got it - thank you. Added it there and I can see it being passed, > but the result is the same: > > > May 28 12:51:17

Re: [weewx-user] Rsync issue

2020-05-28 Thread John Kline
That’s too bad. I believe you are getting this error because it is trying too many SSH keys. IdentitiesOnly should have fixed that. >> On May 28, 2020, at 10:01 AM, Benjamin Trey Blue >> wrote: >  > Ahhh, got it - thank you. Added it there and I can see it being passed, but > the result is

Re: [weewx-user] Rsync issue

2020-05-28 Thread Benjamin Trey Blue
Ahhh, got it - thank you. Added it there and I can see it being passed, but the result is the same: May 28 12:51:17 raspberrypi weewx[10689] ERROR weeutil.rsyncupload: > [['rsync', '--archive', '--stats', '-e ssh -o IdentitiesOnly=yes', > '/var/www/html/',

Re: [weewx-user] Rsync issue

2020-05-28 Thread John Kline
Oops, I meant the [[RSYNC]] section. [[RSYNC]] ssh_options = -o IdentitiesOnly=yes >> [[SSH]] >> ssh_options = -o IdentitiesOnly=yes > On May 28, 2020, at 8:56 AM, Benjamin Trey Blue wrote: > >  > Thanks for the reply - I do not see a section for [[SSH]] in my weewx.conf - > do I

Re: [weewx-user] Rsync issue

2020-05-28 Thread Benjamin Trey Blue
Thanks for the reply - I do not see a section for [[SSH]] in my weewx.conf - do I nest that under the same [StdReport] section where [[RSYNC]] is found? I pasted it just below the end of [[RSYNC]] but can't see where the option was passed along: May 28 11:45:58 raspberrypi weewx[8853] ERROR

Re: [weewx-user] Rsync issue

2020-05-28 Thread John Kline
Sorry, didn’t mean to send that yet: Should read: Does it work if you add the following to the SSH configuration in weewx.conf? [[SSH]] ssh_options = -o IdentitiesOnly=yes > On May 28, 2020, at 8:34 AM, John Kline wrote: > >  > Does it work if you add: > > [[SSH]] > ssh_options = -o

[weewx-user] Rsync issue

2020-05-28 Thread Benjamin Trey Blue
Hey all, I installed (DEB package install) and configured weewx on RPi last week and after enjoying it on my LAN, I am now trying to set-up rsync to send it to a website. I called myself following the rsync guide at http://www.weewx.com/docs/usersguide.htm#config_RSYNC and setting up