fresh install, running SQL script to populate database (groups, clients, domains). Never had any problems with this. Now the log is filled with errors:
[2021-01-19 16:44:04.195 11896/T11897] Listening on port 4711 for incoming IPv4 telnet connections
[2021-01-19 16:44:04.196 11896/T11899] Listening on Unix socket
[2021-01-19 16:44:04.196 11896M] INFO: FTL is running as user pihole (UID 999)
[2021-01-19 16:44:04.196 11896/T11898] Listening on port 4711 for incoming IPv6 telnet connections
[2021-01-19 16:44:04.197 11896M] Reloading DNS cache
[2021-01-19 16:44:04.199 11896M] Blocking status is enabled
[2021-01-19 16:44:04.321 11896/T11900] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.7 msec
[2021-01-19 16:44:10.298 11896M] New upstream server: 127.10.10.2:5552 (1/1024)
[2021-01-19 16:44:11.837 11896M] New upstream server: 208.67.220.220:53 (2/1024)
[2021-01-19 16:45:59.806 11896M] Received: Real-time signal 4 (38 -> 4)
[2021-01-19 16:49:31.111 11896M] Received: Real-time signal 0 (34 -> 0)
[2021-01-19 16:49:31.195 11896/T11900] get_client_groupids("192.168.2.227", "hp7900.localdomain") - SQL error step: database is locked
[2021-01-19 16:49:31.195 11896/T11900] get_client_groupids("127.0.0.1") - SQL error step: database is locked
[2021-01-19 16:49:31.196 11896/T11900] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:49:31.196 11896/T11900] get_client_groupids("192.168.2.166") - SQL error step: database is locked
[2021-01-19 16:49:31.196 11896/T11900] Compiled 0 whitelist and 38 blacklist regex filters for 4 clients in 7.5 msec
[2021-01-19 16:49:35.823 11896M] Received: Real-time signal 0 (34 -> 0)
[2021-01-19 16:49:35.966 11896/T11900] Compiled 3 whitelist and 39 blacklist regex filters for 4 clients in 12.1 msec
[2021-01-19 16:49:39.750 11896M] Shutting down...
[2021-01-19 16:49:39.795 11896M] Finished final database update
[2021-01-19 16:49:39.796 11896M] ########## FTL terminated after 5m 35s ! ##########
[2021-01-19 16:49:44.719 21969M] ########## FTL started! ##########
[2021-01-19 16:49:44.719 21969M] FTL branch: master
[2021-01-19 16:49:44.719 21969M] FTL version: v5.5.1
[2021-01-19 16:49:44.719 21969M] FTL commit: 3ecec15
[2021-01-19 16:49:44.719 21969M] FTL date: 2021-01-19 15:56:18 +0100
[2021-01-19 16:49:44.719 21969M] FTL user: pihole
[2021-01-19 16:49:44.719 21969M] Compiled for armv7hf (compiled on CI) using arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2021-01-19 16:49:44.720 21969M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2021-01-19 16:49:44.720 21969M] SOCKET_LISTENING: only local
[2021-01-19 16:49:44.720 21969M] AAAA_QUERY_ANALYSIS: Show AAAA queries
[2021-01-19 16:49:44.720 21969M] MAXDBDAYS: max age for stored queries is 8 days
[2021-01-19 16:49:44.720 21969M] RESOLVE_IPV6: Resolve IPv6 addresses
[2021-01-19 16:49:44.721 21969M] RESOLVE_IPV4: Resolve IPv4 addresses
[2021-01-19 16:49:44.721 21969M] DBINTERVAL: saving to DB file every 120 seconds
[2021-01-19 16:49:44.721 21969M] DBFILE: Using /etc/pihole/pihole-FTL.db
[2021-01-19 16:49:44.721 21969M] MAXLOGAGE: Importing up to 24.0 hours of log data
[2021-01-19 16:49:44.721 21969M] PRIVACYLEVEL: Set to 0
[2021-01-19 16:49:44.722 21969M] IGNORE_LOCALHOST: Show queries from localhost
[2021-01-19 16:49:44.722 21969M] BLOCKINGMODE: Null IPs for blocked domains
[2021-01-19 16:49:44.722 21969M] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2021-01-19 16:49:44.722 21969M] DBIMPORT: Importing history from database
[2021-01-19 16:49:44.722 21969M] PIDFILE: Using /run/pihole-FTL.pid
[2021-01-19 16:49:44.722 21969M] PORTFILE: Using /run/pihole-FTL.port
[2021-01-19 16:49:44.723 21969M] SOCKETFILE: Using /run/pihole/FTL.sock
[2021-01-19 16:49:44.723 21969M] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2021-01-19 16:49:44.723 21969M] MACVENDORDB: Using /etc/pihole/macvendor.db
[2021-01-19 16:49:44.723 21969M] GRAVITYDB: Using /etc/pihole/gravity.db
[2021-01-19 16:49:44.723 21969M] PARSE_ARP_CACHE: Active
[2021-01-19 16:49:44.723 21969M] CNAME_DEEP_INSPECT: Active
[2021-01-19 16:49:44.724 21969M] DELAY_STARTUP: No delay requested.
[2021-01-19 16:49:44.724 21969M] BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
[2021-01-19 16:49:44.724 21969M] NICE: Set process niceness to -10 (default)
[2021-01-19 16:49:44.724 21969M] MAXNETAGE: Removing IP addresses and host names from network table after 8 days
[2021-01-19 16:49:44.724 21969M] NAMES_FROM_NETDB: Enabled, trying to get names from network database
[2021-01-19 16:49:44.725 21969M] EDNS0_ECS: Overwrite client from ECS information
[2021-01-19 16:49:44.725 21969M] REFRESH_HOSTNAMES: Only refreshing recently active clients with unknown hostnames
[2021-01-19 16:49:44.725 21969M] Finished config file parsing
[2021-01-19 16:49:44.726 21969M] Creating mutex
[2021-01-19 16:49:44.727 21969M] No database file found, creating new (empty) database
[2021-01-19 16:49:45.026 21969M] Database version is 1
[2021-01-19 16:49:45.026 21969M] Updating long-term database to version 2
[2021-01-19 16:49:45.125 21969M] Updating long-term database to version 3
[2021-01-19 16:49:45.151 21969M] Updating long-term database to version 4
[2021-01-19 16:49:45.165 21969M] Updating long-term database to version 5
[2021-01-19 16:49:45.189 21969M] Updating long-term database to version 6
[2021-01-19 16:49:45.217 21969M] Updating long-term database to version 7
[2021-01-19 16:49:45.277 21969M] Updating long-term database to version 8
[2021-01-19 16:49:45.309 21969M] Updating long-term database to version 9
[2021-01-19 16:49:45.357 21969M] Imported 0 alias-clients
[2021-01-19 16:49:45.357 21969M] Database successfully initialized
[2021-01-19 16:49:45.358 21969M] Imported 0 queries from the long-term database
[2021-01-19 16:49:45.359 21969M] -> Total DNS queries: 0
[2021-01-19 16:49:45.359 21969M] -> Cached DNS queries: 0
[2021-01-19 16:49:45.359 21969M] -> Forwarded DNS queries: 0
[2021-01-19 16:49:45.359 21969M] -> Blocked DNS queries: 0
[2021-01-19 16:49:45.359 21969M] -> Unknown DNS queries: 0
[2021-01-19 16:49:45.359 21969M] -> Unique domains: 0
[2021-01-19 16:49:45.360 21969M] -> Unique clients: 0
[2021-01-19 16:49:45.360 21969M] -> Known forward destinations: 0
[2021-01-19 16:49:45.360 21969M] Successfully accessed setupVars.conf
[2021-01-19 16:49:45.366 21971M] PID of FTL process: 21971
[2021-01-19 16:49:45.367 21971/T21972] Listening on port 4711 for incoming IPv4 telnet connections
[2021-01-19 16:49:45.368 21971/T21974] Listening on Unix socket
[2021-01-19 16:49:45.368 21971M] INFO: FTL is running as user pihole (UID 999)
[2021-01-19 16:49:45.369 21971/T21973] Listening on port 4711 for incoming IPv6 telnet connections
[2021-01-19 16:49:45.370 21971M] Reloading DNS cache
[2021-01-19 16:49:45.371 21971M] Blocking status is enabled
[2021-01-19 16:49:45.495 21971/T21975] Compiled 3 whitelist and 39 blacklist regex filters for 0 clients in 6.8 msec
[2021-01-19 16:50:28.153 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.153 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.154 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.154 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:28.154 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.154 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:28.155 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.155 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:28.156 21971M] New upstream server: fdaa:bbcc:ddee:2::5552:5552 (0/1024)
[2021-01-19 16:50:28.157 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.157 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:28.157 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.158 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:28.158 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.158 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:28.368 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.368 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:28.369 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.369 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:28.369 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.369 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:28.370 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.370 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:28.370 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.371 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:28.371 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.371 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:28.372 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.372 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:28.372 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.372 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:28.372 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.373 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:28.373 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.373 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:28.374 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.374 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:28.374 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.374 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:28.383 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.383 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:28.384 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.384 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:28.384 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.384 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:28.385 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.385 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:28.385 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.385 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:28.386 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.386 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:28.386 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.386 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:28.387 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.387 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:28.387 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:28.387 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:28.522 21971M] domain_in_list("228.2.168.192.in-addr.arpa", 0x7382b028, whitelist): Database is busy, assuming domain is NOT on list
[2021-01-19 16:50:29.272 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.272 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:29.272 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.272 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:29.272 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.273 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:29.274 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.274 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:29.274 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.275 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:29.275 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.275 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:29.281 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.281 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:29.282 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.282 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:29.282 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.282 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:29.284 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.284 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:29.284 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.285 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:29.285 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.285 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:29.783 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.783 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:29.784 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.784 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:29.784 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.784 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:29.786 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.786 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:29.786 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.786 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:29.787 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.787 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked
[2021-01-19 16:50:29.788 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.789 21971M] ERROR: Gravity database not available, assuming domain is not whitelisted
[2021-01-19 16:50:29.789 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.789 21971M] ERROR: Gravity database not available, assuming domain is not blacklisted
[2021-01-19 16:50:29.789 21971M] get_client_groupids("192.168.2.228") - SQL error step: database is locked
[2021-01-19 16:50:29.789 21971M] ERROR: Gravity database not available, assuming domain is not gravity blocked