Good suggestions. I've incorporated some of them into the wiki. I can think of two possibilities why your [DataBindings] section would specify the new extended schema. Either you did a virgin install (instead of an upgrade), or you attempted to do the conversion, but didn't finish. The wee_database utility definitely did not touch the entry. It touches only the database.
Any GitHub user can edit the Wiki. You don't need special permission. On Sat, Sep 12, 2020 at 5:01 PM G Hammer <[email protected]> wrote: > I have questions with sections of the Wiki entry. > . > It says that I would need to edit the databinding in weewx.conf. > Modify wx_binding. When it creates the new, modified database, > wee_database needs to know to use the wview_extended schema instead of > the old, wview schema. You do this by changing the option schema in > section [DataBindings] in weewx.conf. > > However, my DataBindings are as shown in the Wiki already. > > Perhaps wee_database --reconfigure took care of the entries? > Could all else but the database been upgraded at some point from when I > installed until now and all I needed was the extended database? > > I tried following the directions as given and see that I am missing some > PATH. > > gh@srvr:~# cd SQLITE_ROOT > -bash: cd: SQLITE_ROOT: No such file or directory > > Wiki says: > You can either shuffle the databases around so the new database has the > same name as the old database, or edit weewx.conf to use the new database > name. To do the former: > > It never addresses the later. > > Finally, instead of allowing WeeWX to rebuild the database on start, why > not have it done by command before starting WeeWX? If you are on a slower > machine and have years of data, it could take some time. Some people (me > for example) would worry that WeeWX hasn't started and try to stop WeeWX to > review their edits and steps. Running wee_database -- rebuild-daily takes > the guesswork out of the process. > > I think I'd break the Wiki into two sections, one for the bog standard > WeeWX install and the second for those using MySQL, Likely those with MySQL > are more familiar with its operation. > Which begs a question. Who can edit the Wiki? How are edits approved. I > would like to contribute, but not if it went live with no supervision. > > Much more 'why' in the Wiki and I like that. I get easily confused by > things that already exist or that fail though. Then I start reading more > into something than I should. See me with a fresh box from Ikea sometime... > > On Saturday, September 12, 2020 at 2:43:38 PM UTC-4, Tom Keffer wrote: > >> This has become such a common question, I wrote a Wiki on how to do it >> <https://github.com/weewx/weewx/wiki/Switching-to-the-new-wview_extended-schema>. >> It's basically a long-winded version of your much more concise summary. >> >> -tk >> >>> >>> >>> -- > 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/4bacf1ec-3970-4e8c-a82b-655d4cf93e65o%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/4bacf1ec-3970-4e8c-a82b-655d4cf93e65o%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/CAPq0zEBDEYL%2B%3DjhYfFYnkhZ0myYJO3weTkTgs%2BLEjkvPhGmjoA%40mail.gmail.com.
