You have the correct configuration, but remember, it only applies *when the database is created*. Thereafter, the schema is read from the database.
You can try rebuilding the daily summaries using wee_database: *sudo wee_database --drop-daily* *sudo wee_database --rebuild-daily* The rebuild will use the configuration in weewx.conf. -tk On Tue, Dec 15, 2020 at 9:58 PM fpb <fpu...@gmail.com> wrote: > @Tom, > > I'm having a similar issue but I'm trying to figure out what the correct > schema (assuming that is the issue) but I can't find a combination. > > This is what I have; > > [DataBindings] > > [[wx_binding]] > # The database must match one of the sections in [Databases]. > # This is likely to be the only option you would want to change. > database = archive_sqlite > # The name of the table within the database > table_name = archive > # The manager handles aggregation of data for historical summaries > manager = weewx.manager.DaySummaryManager > # The schema defines the structure of the database. > # It is *only* used when the database is created. > schema = schemas.wview_extended.schema > [[forecast_binding]] > database = forecast_sqlite > > and below my log errors; > > ec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: > Generate failed with exception '<class 'NameMapper.NotFound'>' > > Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** > Ignoring template /etc/weewx/skins/Seasons/NOAA/NOAA-%Y-%m.txt.tmpl > > Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** > Reason: cannot find 'raw' while searching for 'day.wind.count.raw' > > Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** > Traceback (most recent call last): > > Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** > File "/usr/share/weewx/weewx/cheetahgenerator.py", line 323, in generate > > Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** > unicode_string = compiled_template.respond() > > Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** > File "_etc_weewx_skins_Seasons_NOAA_NOAA__Y__m_txt_tmpl.py", line 430, in > respond > > Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** > NotFound: cannot find 'raw' while searching for 'day.wind.count.raw' > Any help will be appreciate. > > On Thursday, June 4, 2020 at 6:01:51 PM UTC-4 tke...@gmail.com wrote: > >> That's probably what happened. >> >> You're not the first to get tripped up by this. Obviously, I need to >> rethink how to manage the transition to the new way of specifying schemas. >> >> On Thu, Jun 4, 2020 at 11:20 AM Jacques Terrettaz <jterr...@gmail.com> >> wrote: >> >>> Forget my last message : I used a new Raspberry PI to install weewx V4, >>> and then I transferred my "old" mysql database to the new installation... >>> >>> >>> Le 4 juin 2020 à 20:01, Jacques Terrettaz <jterr...@gmail.com> a écrit : >>> >>> Tom, >>> >>> One comment about the old and new database schema : I didn't change >>> anything by myself in the [DataBinding] section of weewx.conf after the >>> upgrade to V4.0, so I suspect that the manager = weewx.manager. >>> DaySummaryManager line was automatically modified during the upgrade >>> process. >>> Is it right ? >>> >>> >>> -- >>> 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/ACB63400-3370-43DF-A186-A96D3BC23AA3%40gmail.com >>> <https://groups.google.com/d/msgid/weewx-user/ACB63400-3370-43DF-A186-A96D3BC23AA3%40gmail.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/d4d9e47e-ca30-4729-a81b-9d1cfd8dde76n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/d4d9e47e-ca30-4729-a81b-9d1cfd8dde76n%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/CAPq0zEBpdUpek-t%3DKF7LNX41BB%3DyaJsei8CQGMmuPOS5HYGT2Q%40mail.gmail.com.