-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run Pi Hole after upgrade to version 6: Database Corruption during migration #1705
Comments
This indicates some kind of hardware (HDD/SDD) failure. You can try to move the old database to a backup location and restart the container |
Hi, I faced the same problem on two different devices so I don't think it can be a hardware issue. But I tried to remove the pihole-FTL.db file and that got both my pihole up |
Hi, Used portainer to start a console session and renamed /etc/pihole/pihole-FTL.db to pihole-FTL.db.backup, then restarted the container. Also note that some of the Env variables have changed and will need to be updated in your compose file. |
I did the same as you, restarted the container and it came back online without any issues. THANK YOU for letting me know my Env variables were out of date. Updated them per the linked article and everything is good. |
I was also facing issues with the upgrade (replaced the required env variables and otherwise just pulled the new image) and I can confirm that after renaming my Here's an excerpt of the logs with the relevant erroring section:
I understand the issue is that it seems to be running out of space on
|
You have a different issue than the OP. As you said, your container seems to have to little space (~67 MB) to parse all your queries into memory. Can you increase the amount of RAM your container has access to? |
Yes. I hadn't had the time to look at this properly until this morning and I was coming with an update: In case you end up on this thread, it's possible to increase the size of the Example: To increase the partition size to 128MB one can set on the services:
pihole:
(...)
shm_size: 134217728 |
This is a: Run Issue
Details
After latest upgrade, Pi Hole fails to start after an apparent failure to migrate the FTL database.
Related Issues
How to reproduce the issue
These common fixes didn't work for my issue
docker run
example(s) in the readme (removing any customizations I added)If the above debugging / fixes revealed any new information note it here.
Add any other debugging steps you've taken or theories on root cause that may help.
The text was updated successfully, but these errors were encountered: