Two things to try: 1. Make sure it is operating on the database you think it is operating on. >From the way you invoked the command wee_database, I assume you used the setup.py method of install, which means, unless you did something unusual, the database should be in /home/weewx/archive/weewx.sdb. Is that your expectations?
2. Check how many records you actually have in the database, by using the tool sqlite3: echo "select count(dateTime) from archive" | sqlite3 /home/weewx/archive/weewx.sdb​ -tk On Sun, Jan 28, 2018 at 4:56 PM, Tryphon Cosinus <tryphoncosi...@gmail.com> wrote: > Hello, > > I am following the steps described in the guide section "Add a new type to > the archive database". > > After the execution of this command from the archive folder, I get a new > file weewx.sdb_new : > > ../bin/wee_database ../weewx.conf --reconfigure > > However, in the new database I see only 30 records but I should have 204 > 000 records (since 2016). > > This is me log file : > > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Created > and initialized table 'archive' in database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-04-02 11:40:00 EDT (1459611600) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-04-02 11:50:00 EDT (1459612200) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-04-02 12:15:00 EDT (1459613700) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-04-05 14:40:00 EDT (1459881600) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-04-05 14:45:00 EDT (1459881900) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-04-05 14:50:00 EDT (1459882200) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-04-05 14:55:00 EDT (1459882500) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-04-05 15:00:00 EDT (1459882800) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-04-05 15:05:00 EDT (1459883100) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-04-05 15:20:00 EDT (1459884000) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-04-05 15:25:00 EDT (1459884300) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-04-17 14:30:00 EDT (1460917800) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-04-17 14:35:00 EDT (1460918100) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-05-26 14:30:00 EDT (1464287400) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-06-16 13:30:00 EDT (1466098200) to database 'weewx.sdb_new' > Jan 28 18:37:14 SERVER user.notice wee_database[11884]: manager: Added > record 2016-08-05 14:25:00 EDT (1470421500) to database 'weewx.sdb_new' > Jan 28 18:37:16 SERVER user.notice wee_database[11884]: manager: Added > record 2017-08-27 13:10:00 EDT (1503853800) to database 'weewx.sdb_new' > Jan 28 18:37:16 SERVER user.notice wee_database[11884]: manager: Added > record 2017-10-19 12:10:00 EDT (1508429400) to database 'weewx.sdb_new' > Jan 28 18:37:16 SERVER user.notice wee_database[11884]: manager: Added > record 2017-10-19 12:15:00 EDT (1508429700) to database 'weewx.sdb_new' > Jan 28 18:37:16 SERVER user.notice wee_database[11884]: manager: Added > record 2017-10-19 12:20:00 EDT (1508430000) to database 'weewx.sdb_new' > Jan 28 18:37:16 SERVER user.notice wee_database[11884]: manager: Added > record 2017-10-19 12:25:00 EDT (1508430300) to database 'weewx.sdb_new' > Jan 28 18:37:16 SERVER user.notice wee_database[11884]: manager: Added > record 2017-10-19 12:30:00 EDT (1508430600) to database 'weewx.sdb_new' > Jan 28 18:37:16 SERVER user.notice wee_database[11884]: manager: Added > record 2017-10-19 12:35:00 EDT (1508430900) to database 'weewx.sdb_new' > Jan 28 18:37:16 SERVER user.notice wee_database[11884]: manager: Added > record 2017-10-19 12:40:00 EDT (1508431200) to database 'weewx.sdb_new' > Jan 28 18:37:16 SERVER user.notice wee_database[11884]: manager: Added > record 2017-10-19 12:45:00 EDT (1508431500) to database 'weewx.sdb_new' > > I do not know what is wrong here. Any clue? > > Thank you. > > Weewx 3.7.1 > > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.