Upgrading from 3.8.0 prior to going to xubuntu 20.04

45 views
Skip to first unread message

Iain Simpson

unread,
Jun 19, 2020, 8:42:09 AM6/19/20
to weewx-user
In preparation to a move to latest xubuntu (20.04.1) from 18.04 I am looking to upgrade to the latest version of weewx.

I am still running 3.8.0 and have made some additions (to interface with Conky).
Reading the upgrade documentation I was going to go via the 'setup.py' route.
Checking my current setup I am running from
/usr/share/weewx
/etc/weewx
/var/lib/weekx (sqlite)

The upgrade documentation says to change setup.cfg to 'previous installation' this presumably will be '/usr/share/weewx'

I am wondering whether this is the wisest route or whether to
a. use the '.deb' file and rebuild my customisation.
b. stick with Python 2

It's some years since I did the original weewx installation and a lot has been forgotten.

Can anyone advise please.

Tom Keffer

unread,
Jun 20, 2020, 2:33:26 PM6/20/20
to weewx-user
This would not be a wise move. If you started with a deb install, you should stick with it. Changing to a setup.py install just by changing setup.cfg will not work (there are other differences). 

Alternatively, you could switch installation methods, but this would require copying some files to their new place. Basically the reverse of the wiki article How to convert from setup.py install to debian install.

--
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/367f3f6a-4fc0-49bd-ba6a-9b7a5e8e30b8o%40googlegroups.com.

vince

unread,
Jun 20, 2020, 2:50:10 PM6/20/20
to weewx-user
On Friday, June 19, 2020 at 5:42:09 AM UTC-7, Iain Simpson wrote:
I am wondering whether this is the wisest route or whether to
a. use the '.deb' file and rebuild my customisation.


What customization are you referring to ?
Skins ?
Code ?
Or just your weewx.conf edits ?

Iain Simpson

unread,
Jun 20, 2020, 5:18:43 PM6/20/20
to weewx-user

I'm having to double (or triple)  check but I think it's just the 'conky skin and the .conf file that might need to be reconstituted.
As long as I can keep the database running.

It looks that the best way to update is via the .deb file
and do my homework first.

Thanks for comments.
Reply all
Reply to author
Forward
0 new messages