On Friday, 5 October 2018 20:20:14 UTC+10, David Hindley wrote:
>
> Thanks, Gary.
>
> I think my problems with pysftp are something to do with using Wheezy on a 
> RPi and ver 2.7 of Python. That seems to have an old version of pip, so I 
> managed to update that to pip ver 18.0, but then pip shows several nasty 
> looking errors when I try to install pysftp.  The syslog is below, but I 
> suspect I am going to have to upgrade my Pi to raspbian stretch  - any tips 
> on making that process quick, allowing for a weewx install would be 
> appreciated.
>
>
Am no great expert but the SSL warnings are exactly that, warnings. You do 
have the libffi error:

Package libffi was not found in the pkg-config search path.
>

You could try to installing libffi-dev as I suggested, though maybe a bit 
mute if upgrading to Stretch.

Regarding upgrading to Stretch. Its fairly straightforward, backing up your 
WeeWX config and data should make re-installing WeeWX fairly painless. The 
basic steps are:

   1. stop WeeWX
   2. backup you WeeWX data, assuming you are using SQLite you just need to 
   backup any .sdb files in /var/lib/weewx
   3. backup up you WeeWX confg and skins, ie everything in /etc/weewx
   4. backup your bin/user directory, /usr/share/weewx/user in your case
   5. download your preferred raspbian stretch image, burn it to a SD card 
   and boot your RPi from the new image
   6. setup RPi as required
   7. install WeeWX and get a minimal install running with the simulator
   8. stop WeeWX and copy your old database over the new one, restart WeeWX
   9. start adding in any extensions/customisations etc, refer back to your 
   backup /etc/weewx/weewx.conf and skin.conf files for any config 
   details/customisations

Some folks might prefer to take a shorter approach, ie just copy all the 
WeeWX directories from the old to the new, that may work but it can also 
tangle you in knots if it goes awry.

Gary

-- 
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