Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-25 Thread vince
See the wiki section (link ) for how to find your logs with journalctl. At this point we'd need to see all the logs from weewx startup through a couple report cycles 'and' your weewx.conf file. Be sure to obfuscate any usernames/passw

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-25 Thread Chris Eidem
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/R

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-25 Thread Chris Eidem
It works as expected: bash-4.4$ ssh www hostname www On Friday, May 24, 2024 at 7:41:43 AM UTC-5 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 wrote: > > on source box running weewx, run $ ssh webs

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-24 Thread vince
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

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-24 Thread Graham Eddy
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 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 Gro

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-24 Thread Graham Eddy
verify that ssh passwordless login is actually working: on source box running weewx, run $ ssh websvr hostname (where websvr is rsync target host) and you should see it print websvr’s hostname but it might prompt you interactively to update known_hosts, if they are new keys... ⊣GE⊢ > On 24 May 2

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-24 Thread Chris Eidem
I thought that was the problem also, but I believe I have it correct with: /etc/passwd: weewx:x:988:984::/var/lib/weewx:/sbin/nologin [root@weewx weewx]# sudo -u weewx /usr/bin/bash bash-4.4$ pwd /var/www/html/weewx bash-4.4$ cd bash-4.4$ pwd /var/lib/weewx bash-4.4$ ls -la total 156828 drwxrwsr-

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-24 Thread Geoff Cusick
Just did a little more digging.  The user is now weewx, with its home directory as /var/lib/weex.  You need to put the SSH keys for your rsync server in a subdirectory .ssh under that.Took me a while to find that!Kind regardsGeoff17 Westcroft Road Holsworthy, EX22 6BYPhone: +44 (0)1409 254330Mobile

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-24 Thread geoff...@gmail.com
I think I had this problem when I updated to v5. IIRC, the weewx user has changed, and I needed to put the SSH keys into the home directory for that user. HTH Geoff Cusick On Friday 24 May 2024 at 12:56:10 UTC+1 Chris Eidem wrote: > I failed to include it in my snippet. Here is the entire, n

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-24 Thread Chris Eidem
Here is the skin.conf file for good measure: [weewx@weewx Rsync]# pwd /etc/weewx/skins/Rsync [weewx@weewx Rsync]# cat skin.conf ### # Copyright (c) 2012 Will Page # # With credit to Tom Keffer

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-24 Thread Chris Eidem
I failed to include it in my snippet. Here is the entire, non-edited RSYNC section in my weewx.conf: [[RSYNC]] # rsync'ing to a webserver is treated as just another report skin = Rsync # If you wish to use rsync, you must configure passwordless ssh using # pu

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-24 Thread vince
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

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-23 Thread Chris Eidem
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 K

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-23 Thread Chris Eidem
May 23 20:55:28 rocky1.example.com weewxd[763]: INFO weewx.manager: Added record 2024-05-23 20:55:00 CDT (1716515700) to database 'weewx.sdb' May 23 20:55:28 rocky1.example.com weewxd[763]: INFO weewx.manager: Added record 2024-05-23 20:55:00 CDT (1716515700) to daily summary in 'weewx.sdb' May

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-23 Thread Tom Keffer
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, the

[weewx-user] rsync not sending to remote web site after upgrade

2024-05-23 Thread Chris Eidem
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 sud