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.com <gary.ham...@gmail.com> wrote: > 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 the new systemd service, move the > old install to weewx.old, run the new. > > May be a tiny bit more effort but then should be easier for me to > maintain/update in the future. > > > > On Wednesday, February 21, 2024 at 11:07:46 AM UTC-5 Tom Keffer wrote: > >> 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 >> <https://github.com/weewx/weewx/wiki/v5-upgrade>. >> >> On Wed, Feb 21, 2024 at 7:44 AM gary....@gmail.com <gary....@gmail.com> >> wrote: >> >>> 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 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....@gmail.com <gary....@gmail.com> >>> wrote: >>> >>> I've had a test install of v5 since early alphas. Now, it is time to >>> upgrade my production install. >>> I have a relatively simple install, Vantage Pro IP driver, weewx-mqtt. A >>> couple of additional internet uploaders (Windy and WeatherCloud). I run two >>> skins, Belchertown and weewx-wdc >>> >>> All is and has been quite stable. So, I hesitate to poke at it. But, v5 >>> is the new standard, so I need to get this done. >>> >>> I don't see many who have trod this path. How to go about this? >>> >>> -- >>> 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+...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/b2d73a89-3432-4ad4-8971-34ea51167f24n%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/b2d73a89-3432-4ad4-8971-34ea51167f24n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> -- >>> 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+...@googlegroups.com. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/68e9b77e-5d25-492f-bfa5-448ac39b8cedn%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/68e9b77e-5d25-492f-bfa5-448ac39b8cedn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/fbb6b339-9284-4e54-a97b-85d99d787a61n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/fbb6b339-9284-4e54-a97b-85d99d787a61n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAPDVs_e9_vy97Ca9gHSFqprOZsUbNQaXokidn%3DHE8DwA%40mail.gmail.com.