@xjerab08 I’m not sure if reinstalling pakon or running create_db.py will truly recreate the database if there are already existing database files. Since you were ok wiping out any existing pakon data anyway, try this:
Stop the pakon processes:
/etc/init.d/pakon-handler stop
/etc/init.d/pakon-monitor stop
Remove all extant pakon DB files, then recreate the DB (assuming you have the database files at the default places. /var/lib/pakon.db
is the active db file in RAM, while /srv/pakon
contains the DB backed up in persistent storage (one compressed DB file with the last 24 hours of data, updated once every 8 hours called pakon.db.xz
, and another archive DB with all data older than 24 hours, called pakon-archive.db
)
rm /var/lib/pakon.db
rm /srv/pakon/*
/usr/libexec/pakon-light/create_db.py
Then restart pakon:
/etc/init.d/pakon-monitor start
/etc/init.d/pakon-handler start
From my experiments pakon should be starting out with a completely clean slate this way.