Perhaps this will help.

Version 4.0 is the LATEST version of DaySummaryManager.  See the very latest copy of weewx/manager.py or look at the snippet from that file below.
Note the lat line in the snippet: version = "4.0"

class DaySummaryManager(Manager):
    """Manage a daily statistical summary.
            
    The daily summary consists of a separate table for each type. The columns of each table are
    things like min, max, the timestamps for min and max, sum and sumtime. The values sum and
    sumtime are kept to make it easy to calculate averages for different time periods.
            
    For example, for type 'outTemp' (outside temperature), there is a table of name
    'archive_day_outTemp' with the following column names: 
                          
        dateTime, min, mintime, max, maxtime, sum, count, wsum, sumtime
            
    wsum is the "Weighted sum," that is, the sum weighted by the archive interval. sumtime is the
    sum of the archive intervals.
            
    In addition to all the tables for each type, there is one additional table called
    'archive_day__metadata', which currently holds the version number and the time of the last
    update.
    """ 
            
    version = "4.0"

On Dec 5, 2025, at 2:59 PM, vince <[email protected]> wrote:

As multiple people replied, the version 4.0 of the tables is DIFFERENT from the weewx version. Simply stop worrying about it.

On Friday, December 5, 2025 at 2:32:34 PM UTC-8 Zed wrote:
Thank you vince.

i rebuild the daily-tables using
weectl database drop-daily --binding=wx_binding -y
weectl database rebuild-daily --binding=wx_binding -y

weectl database check --binding=wx_binding

still reports version 4.0. But anyway!

WeeWx is running well again!

vince schrieb am Freitag, 5. Dezember 2025 um 17:39:31 UTC+1:
The "Daily summary tables are at version 4.0" has nothing to do with the weewx version.  Just ignore it.

To reconfigure your database you need to do the following (tested with sqlite3):

# stop weewx
sudo systemctl stop weewx

# edit weewx.conf to set "schema = weewx.schemas.wview_extended.schema"

# reconfigure the db to use the specified schema
weectl database reconfigure

# copy the new database into place

# create and populate the summary tables
weectl database rebuild-daily

# start weewx
sudo systemctl start weewx

You should have 115 tables when complete.

I don't know the mariadb command to do this, but for sqlite3
echo ".tables" | sqlite3 weewx.sdb | wc -w





On Friday, December 5, 2025 at 2:32:38 AM UTC-8 Zed wrote:
As mentioned before  "weectl database reconfigure ..." created just a single table "archive" which i moved from weewx_new to weewx.
All other tables are left as before.
John Smith schrieb am Freitag, 5. Dezember 2025 um 11:20:03 UTC+1:
On Fri, 5 Dec 2025 at 21:07, Zed <[email protected]> wrote:
Daily summary tables are at version 4.0.

I don't think this is the same as the weeWX version.

Did the daily summary tables get created after all that? 

--
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 visit https://groups.google.com/d/msgid/weewx-user/f657678c-d476-4574-b9e0-693ffd273ee3n%40googlegroups.com.

--
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 visit https://groups.google.com/d/msgid/weewx-user/7CDD05C0-D054-43B6-ABB2-5A7653FE3BCE%40johnkline.com.

Reply via email to