Database is bricked

I have installed Pihole, including Unbound, in a docker container.
I can ping and access the web interface.

Shortly after I set the pi-hole as DNS on the network, it stopped working.
I can't seem to find the reason for this problem.

(Debug log removed by developer)

*** [ DIAGNOSING ]: Pi-hole FTL Query Database
-rw-rw-r-- 1 pihole pihole 44K Nov 22 21:37 /etc/pihole/pihole-FTL.db

For some reason your database file wasn't correctly created. Its size is only 44 Kb, but an empty database should be 80 Kb.

To fix it, you need to:

  • stop the container;
  • if you are using a volume to store it, delete the database file (pihole-FTL.db) or simply delete the volume and
  • restart the container.

A new database will be created.

Note:

For privacy, do not post your full debug log.
When you generate a debug log, you should upload it, copy the Token and post only the Token.

The reason for uploading the file was that the pihole wasn't able to generate a token.

https://tricorder.pi-hole.net/8KL9MDFG/

But the question is just… why is the database not built correctly?

Have the same problem when installing on a raspberry pi. But there I easily can make a new database. Its not so easily done with a docker container.