Nlbwmon doesn't list old databases

Hi there,
recently after to upgrade OpenWrt from 22.03.4 to .5, I reinstalled nlbwmon weeks later (forgot to reinstall..),
Now, it doesn't list old database from menu, only current data.

I tried to gunzipped the .db files from backup to /usr/share/nlbwmon/db, no luck:


# uci show nlbwmon
nlbwmon.@nlbwmon[0].local_network='' 'lan'

db dir:

# ls -lh /mnt/ultra/tools/nlbwmon
-rw-r-----    1 root     root       19.7K Oct  2  2022 20220901.db.gz
-rw-r-----    1 root     root       22.6K Nov  1  2022 20221001.db.gz
-rw-r-----    1 root     root       15.9K Dec  1  2022 20221101.db.gz
-rw-r-----    1 root     root       22.1K Jan  1 00:00 20221201.db.gz
-rw-r-----    1 root     root       15.2K Feb  1 00:00 20230101.db.gz
-rw-r-----    1 root     root       17.2K Mar  1 00:00 20230201.db.gz
-rw-r-----    1 root     root       16.9K Apr  1 00:00 20230301.db.gz
-rw-r-----    1 root     root       13.5K Apr 19 04:48 20230401.db.gz
-rw-r-----    1 root     root        8.6K Jun 23 23:11 20230601.db.gz

database unpacked:

# tried to gunzip some backups there, no luck
# ls -lh /usr/share/nlbwmon/db/
-rw-r-----    1 root     root       57.3K Jun 23 22:39 20230101.db
-rw-r-----    1 root     root       64.9K Jun 23 22:39 20230201.db
-rw-r-----    1 root     root       59.7K Jun 23 22:39 20230301.db
-rw-r-----    1 root     root       51.5K Jun 23 22:39 20230401.db
-rw-r-----    1 root     root       21.1K Jun 23 22:39 20230601.db

# nlbw -c list 

memory stuff:

# sysctl -a 2>&1 | egrep 'rmem_max|wmem_max' 
net.core.rmem_max = 10485760
net.core.wmem_max = 10485760

Before, all databases were listed. Why it is ignoring the old db?

I assume that you created a new config with the re-install?

Provided your old .db files still exist in /mnt/ultra/tools/nlbwmon they should automatically propagated into the gui on restart. Try /etc/init.d/nlbwmon restart

Edit: expired period databases won’t be reflective in the gui interface even if you select them. This functionality has not been implemented in the nlbwmon package. They can be enquired via the nlbw runtime though.

Yes, a new clean setup, with the external backup / data.