On Friday, December 9, 2016 at 5:26:53 AM UTC-8, Auchtermuchty Weather 
wrote:
>
> Clean install of the OS, Weewx or both?
>
> I'm going to try copying the entire /home/weewx tree to the new RPi and 
> then use setup.py to upgrade there, and see how it goes.
>
>>
The thing in a 2.x => 3.x weewx upgrade that takes a 'lot' of time, and 
even fails sometime on a pi specifically, is the database conversion.   If 
you had a fast system that you could do a quick Vagrant VM or Docker 
container of weewx on, you could do your database conversion offline and 
just copy the /home/weewx/archive tree into place onto the new pi. 
 Similarly your old public_html tree is still good, so you could just copy 
that tree into place too on the pi.  That's the fastest and most reliable 
way I've found.

I have stuff on github for how to quickly spin up a vagrant box running 
weewx 'or' a docker container running weewx if you have interest.  Email me 
for the links.

If your new pi+ disk has 3.6.2 on it and working in simulator mode already, 
you'll also have to eventually change the driver from Simulator to whatever 
your system uses, and also change the interface to match whether you're 
serial or usb.  Pretty normal weewx stuff there.   Just make sure you stop 
weewx so your don't get simulator data corrupting your converted historical 
data.

If you've edited any of the skins, you'd have to copy them into place too.

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

Reply via email to