Because my logbook doesnt show up after a long time waiting I decided to do a manual purge. I called the service recorder.purge with the following data:
{
"keep_days":"1",
"repack":"true"
}
After a restart I cant connect to homeassistant anymore. So I tried to delete the db file but this did not work, I can not connect to HA. Homeassistant doesnt seem to work because the new db file stays 60kb. However the HA process is active (running) when I check the status.
I’m not exactly sure but sometimes when I crash are start up again, I see a second home-assistant_v2.* file (can’t remember the suffix right now) that I believe is some kind of partial database recovery effort. If you see one, try nuking that file also.
During the purge process there is indeed a second db file but that is already gone. For sure I deleted al the files which are not a yaml file and restarted HA. Unfortunately no success.
Maybe there are some leftovers in the hidden folders but I don’t think I can delete them.