There's another option: download v4.5 in a convenient directory somewhere, then just run the v4.5 version of wee_database using your old weewx.conf file.
On Mon, Jan 24, 2022 at 4:11 PM Patrick Mendiuk <[email protected]> wrote: > Thanks Gary that is what I needed. I copied that directory to another > machine and the html doc files worked fine with the browser. @vince I have > periodically created backups but I haven't needed to use them up to now. I > will go through the process of restoring the existing database on a > separate fresh install with more notes this time :) > > BR > Patrick > > On Monday, January 24, 2022 at 2:56:26 PM UTC-8 gjr80 wrote: > >> Upgrading should be painless but the jump from 3.x to 4.x could have >> consequences, can't say till you do it :) If you are keen to stay on 3.9.1 >> you can still add extra fields to your database, the procedure is detailed >> in the 3.9.1 Customization Guide, a copy of which you have on your 3.9.1 >> WeeWX install. Have a look in /usr/share/doc/weewx or /home/weewx/docs >> (depending on how you installed WeeWX) on your 3.9.1 WeeWX machine and you >> will find the 3.9.1 docs. customizing.htm is the document you want, in >> particular the *Adding a new type to the database* section. The document >> may be hard to read as it is a HTML file, you may be able to open directly >> as a file in your browser or if you have a web server running on your WeeWX >> machine you may be able to copy or link the file to your web server's >> document path so you can browse the document through your web server. >> >> Gary >> On Tuesday, 25 January 2022 at 05:55:38 UTC+10 [email protected] wrote: >> >>> I'm just worried about breaking things with upgrading. >>> >>> On Monday, January 24, 2022 at 11:36:14 AM UTC-8 vince wrote: >>> >>>> That version is almost 3 years old. I'd suggest you simply upgrade to >>>> the current version. >>>> >>>> The current weewx also has the wview_extended schema (link >>>> <https://raw.githubusercontent.com/weewx/weewx/master/bin/schemas/wview_extended.py>) >>>> which has 'many' more fields defined. >>>> It's possible the ones you want to add are already defined in it. >>>> >>>> >>>> -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/56fd12cd-d5cd-45cd-a021-512ab59e1379n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/56fd12cd-d5cd-45cd-a021-512ab59e1379n%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAX7Hi%2BwaZNaLDibPwxSYRN4Y31qh0bZF-6NJuQp3fTAA%40mail.gmail.com.
