Update on reboot - PiHole6

When I restart Pihole6, Pihole performs Gravity updates. Can I turn this off?

The restart takes 3-5 minutes with the update (RPI4 with 4GB RAM).

thanks

Are you running this instance of Pi-hole in Docker? Or on bare metal?

In Docker

When you rebuild a container, Pi-hole rebuilds gravity since this is essentially a fresh install of Pi-hole.

How often are you rebuilding the container (or restarting the host)?

Per the Readme.........

https://github.com/pi-hole/docker-pi-hole/tree/development-v6#advanced-variables

2 Likes

Skipping the gravity updates is one way to approach this but 3-5 minutes to start the container seems way too long. Are you using a large number of lists?

I have 7.5 million

Can I mount the database outside the Docker container?

I don't restart the RPI often, but sometimes and then 5 minutes is too long. The PiHole make all 3days Updates.

At this stage, you're probably better off with a regex entry to block everything and then an allowlist to unblock everything you actually want. :sweat_smile:

It's about 5 million pure Pron URLs
See here:

That's not going to change anything. You'd just have a database mounted in that gets modified the same way as you do now.

7.5 million is quite a lot, can you provide the exact lists you are using and I can try on my pi 4 here to see what is causing the slow startup?

As it is now, skipping gravity on boot via the readme instructions will prevent the startup delay you are seeing.

https://github.com/RPiList/specials/tree/master/Blocklisten

List from Github:
Porn1-5
Spam
Gambling
notserious
Mailware
crypto

It would help for me to have the exact URLs you have entered for Pi-hole to pull. Can you run
pihole -d
and upload the debug log, that will let me see the exact data that Pi-hole is using.