upgrade path

74 views
Skip to first unread message

chrisw...@gmail.com

unread,
Feb 20, 2023, 4:28:41 PM2/20/23
to weewx-user
Currently, my organization is running weewx v3.8.2 on a redhat 7 server and python 2.7. Some new compliance requirements are forcing us to upgrade the OS underneath this. 

Id like to use RedHat 9, though it appears this isnt supported yet. 

My question is, is there an upgrade path that will take me to a recent weewx version and on python3? Id like to complete this upgrade before forklifting the whole thing over to redhat 8 or 9 if I can. Can I just install the latest weewx version for rhel 7 on the "old" system or is there a trick to also switching that to python3 at the same time?

Thanks,
Chris

Tom Keffer

unread,
Feb 20, 2023, 5:23:58 PM2/20/23
to weewx...@googlegroups.com
For the most part, you just install the new version, then use Python 3.

But, be sure to see the Upgrade Guide and follow the upgrade notes for all versions since V3.8. Nothing major, but you might be touched by some of the minor issues.

--
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/596d78eb-8712-4f3c-a26e-cdd4784c7da0n%40googlegroups.com.

Warren Gill

unread,
Feb 20, 2023, 5:35:21 PM2/20/23
to weewx...@googlegroups.com
That's a lot of things to upgrade!
I practiced on a virtual machine first, so I could gain some confidence in the process, migrate my customizations, and be sure not to lose any data.
There were some gotcha's on the skins side (they are documented in the upgrade guide) but the data come through without a hitch.
So I basically installed the newest weewx version on the new hardware, migrated the weewx.conf changes and custom skins, then restored the database, and it's all good.
You *might* get a problem between RHEL 7 and 9 because the hardware naming could change depending on your data source.

--

chrisw...@gmail.com

unread,
Feb 21, 2023, 1:02:03 PM2/21/23
to weewx-user
Thanks y'all. I may come back screaming if something doesnt go right, but I suspect it will go ok. 

Small world Warren ;)

Cheers,
Chris

chrisw...@gmail.com

unread,
Feb 24, 2023, 4:18:40 PM2/24/23
to weewx-user
It went well, I ended up using Redhat 8 because the scripty way to install puts everything in /home and the rpm puts everything in /etc and time constraints forced me to not want to rewrite all of our config mgmt modules to put everything into a new directory structure.

Appreciate the answers, they were good for the confidence.

Reply all
Reply to author
Forward
0 new messages