Error connecting to database

Please follow the below template, it will help us to help you!

Please ensure that you are running the latest version of the beta code.

Problem with Beta 5.0:
Same problem as here:

I can't fix it with the solutions in the above threads.

Debug Token:
https://tricorder.pi-hole.net/3hz7unohrw

Your debug log shows a repeated error regarding the database:

-----head of pihole-FTL.log------
   [2020-02-01 21:17:23.011 686] domain_in_list(configuration.ls.apple.com): Gravity database not available
   [2020-02-01 21:17:23.011 686] domain_in_list(configuration.ls.apple.com): Gravity database not available
   [2020-02-01 21:17:23.011 686] domain_in_list(configuration.ls.apple.com): Gravity database not available

What is the output of the following command from the Pi terminal:

ls -lha /etc/pihole/*.db

-rw-r--r-- 1 pihole root 2.3M Feb 1 14:39 /etc/pihole/macvendor.db
-rw-r--r-- 1 pihole pihole 261M Feb 1 21:46 /etc/pihole/pihole-FTL.db

Taking another look at your debug log, you aren't fully on 5.0 beta. Your core version is on 4.3.x master. Run pihole checkout core release/v5.0 to get that portion of Pi-Hole on the 5.0 beta.

*** [ DIAGNOSING ]: Core version
[i] Core: v4.3.2 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v4.3.2-0-ge41c4b5

*** [ DIAGNOSING ]: Web version
[i] Web: v4.3.2 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: release/v5.0 (https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#checkout)
[i] Commit: v4.3.2-360-g88da85f

*** [ DIAGNOSING ]: FTL version
[✓] FTL: vDev-a90f14b (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/

The latest V5.0 should appear as follows:

*** [ DIAGNOSING ]: Core version
[i] Core: v4.3.2 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: release/v5.0 (https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#checkout)
[i] Commit: v4.3.2-391-ge0b3405

*** [ DIAGNOSING ]: Web version
[i] Web: v4.3.2 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: release/v5.0 (https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#checkout)
[i] Commit: v4.3.2-360-g88da85f5

*** [ DIAGNOSING ]: FTL version
[✓] FTL: vDev-a90f14b (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
2 Likes

This solved it! Thanks for getting back so fast!
I don't know why it didn't work the first time...