Hi Glenn,

As soon as I send the question, I've got the answer looking in the 
weewx.conf file. Sorry for that.

What do you mean by "password-less access", mean no password?
I did not see any configuration for the password in the rsync config file 
in weewx,conf.

I've tried rsync but get this error ... : rsyncupload: [['rsync', 
'--archive', '--stats', '-e ssh', '/var/www/weewx/', 
'meteo@192.168.8.22:/web/meteo']] reported errors: Permission denied, 
please try again.. Permission denied, please try again.. Permission denied 
(publickey,password).. rsync: connection unexpectedly closed (0 bytes...

Too late now, I will try later.

Thanks again for your patience and help!

Yves


Le mercredi 31 janvier 2018 18:16:02 UTC-5, Glenn McKechnie a écrit :
>
>
>
> On 1 February 2018 at 09:43, Yves Martin <ve2...@gmail.com <javascript:>> 
> wrote:
>
>> Hi Glenn,
>>
>> Actually, I'm using FTP, but this could be a good idea to use rsync. Is 
>> there a way to change this setting easily?
>>
>
> You can stick to the FTP, especially if it's working! You can change it in 
> weewx.conf , I assumed that's where the FTP was being called from? There 
> are 2 sections in the config [FTP] and [RSYNC], just pick one.
>
> The reason why I asked was because you can hijack weewx's [RSYNC] to 
> transfer files other than the web server ones, but after thinking about it 
> and looking at my setup I decided it was time to evolve so I've added the 
> rsync directly to the wxobs skin. It's more focused and tidier this way, 
> and doesn't rely on the weewx.conf [RSYNC] setting - It's totally 
> independent of that. 
>
> You just need to have rsync installed on the pi and the NAS, and configure 
> password-less access. It doesn't have to be the root account either, just 
> one that has the required (rwx) permissions on both computers.
>  
>
> Cheers
>  Glenn
>
> rorpi - read only raspberry pi & various weewx addons
> https://github.com/glennmckechnie
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to