Re: [weewx-user] How to upgrade from setup.py v4 install to pip v5 install

2024-03-08 Thread gary....@gmail.com
I took advantage of the opportunity to start with a new OS install and did a pip install. After installing extensions and copying the database to the new location, I edited in the changes from my old weewx.conf file. Surprisingly, I had old driver detritus like interceptor entries that no longe

Re: [weewx-user] How to upgrade from setup.py v4 install to pip v5 install

2024-03-06 Thread Mark Jenks
I think that is the direction I am going to go in also. I've been using setup.py since the beginning since there was no rpm yet. I'm going to do the pip install, move all my files around to the new format and restart it there. Running mariadb, so all my data is in one place already. Been h

Re: [weewx-user] How to upgrade from setup.py v4 install to pip v5 install

2024-02-22 Thread vince
gary - your (re)install upgrade will be quicker if you pre-seed your NOAA files (Belchertown has its own copy too if you use that). Feel free to PM me if you want to hear my somewhat different way of getting from v4 setup to v5 pip (and multi). On Thursday, February 22, 2024 at 6:28:15 AM UTC-

Re: [weewx-user] How to upgrade from setup.py v4 install to pip v5 install

2024-02-22 Thread Tom Keffer
There's nothing special about /home/weewx. You could do *cp -rp /home/weewx ~/weewx-data* *cd ~/weewx-data* *mv bin bin.old* *mkdir bin* *cp -r ./bin.old/user bin * You'll have to adjust your systemd service file to reflect the new location. -tk On Thu, Feb 22, 2024 at 6:28 AM gary@gmail.c

Re: [weewx-user] How to upgrade from setup.py v4 install to pip v5 install

2024-02-22 Thread gary....@gmail.com
Thanks for the options. I don't want to have a "hybrid" so won't be following the migration guide method. Makes more sense to me to install new, install extensions and skins, edit in my config from the existing (old) weewx.conf, copy the database over, remove the old systemd service file, add t

Re: [weewx-user] How to upgrade from setup.py v4 install to pip v5 install

2024-02-21 Thread Tom Keffer
Oh, I thought we were talking about upgrading from an alpha version of v5. Not much difference. Just set up a V5 virtual environment, then point it at /home/weewx. Follow the directions in the migration guide . On Wed, Feb 21, 2024 at 7:44 AM gary..

Re: [weewx-user] How to upgrade from setup.py v4 install to pip v5 install

2024-02-21 Thread 'michael.k...@gmx.at' via weewx-user
I'd do it this way: - leave your existing installation running - install v5 the pip way, exactly like described here, including provisioning a new station: https://weewx.com/docs/5.0/quickstarts/pip/ - provision the station with default values - start and verify it - copy your old weewx.conf ove

Re: [weewx-user] How to upgrade from setup.py v4 install to pip v5 install

2024-02-21 Thread 'michael.k...@gmx.at' via weewx-user
I did this like dozens of times already, it is that easy. v5 the pip way is just awesome. Tom Keffer schrieb am Mittwoch, 21. Februar 2024 um 16:39:47 UTC+1: > The pip installs are super easy to back up. Just copy ~/weewx-venv and > ~/weewx-data and you have everything you need. > > Then activat

Re: [weewx-user] How to upgrade from setup.py v4 install to pip v5 install

2024-02-21 Thread gary....@gmail.com
I understand coming from v5 that would be a way. I need to upgrade my v4 setup.py to v5 though. On Wednesday, February 21, 2024 at 10:39:47 AM UTC-5 Tom Keffer wrote: The pip installs are super easy to back up. Just copy ~/weewx-venv and ~/weewx-data and you have everything you need. Then acti

Re: [weewx-user] How to upgrade from setup.py v4 install to pip v5 install

2024-02-21 Thread Tom Keffer
The pip installs are super easy to back up. Just copy ~/weewx-venv and ~/weewx-data and you have everything you need. Then activate the virtual environment, then "pip install weewx --upgrade". It should be that easy. If something fails, just roll things back. On Wed, Feb 21, 2024 at 7:15 AM gary.