You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, thank you for your tireless efforts in maintaining Pi-hole and for all of your work on the new release!
I'm running into an issue after updating to 2025.03.0 which did not occur previously on 2024.07.0.
When attempting to update Gravity, the following errors are received:
chown: changing ownership of '/etc/pihole/gravity.db_temp': Operation not permitted
chmod: changing permissions of '/etc/pihole/gravity.db_temp': Operation not permitted
chmod: changing permissions of '/etc/pihole': Operation not permitted
Have attempted the following:
Taking backup using Teleporter
Deleting the contents of '/etc/pihole' on the NAS
Recreating the container
Restoring the configuration via Teleporter
Full output:
[✓] DNS resolution is available
[i] Neutrino emissions detected...
[✓] Preparing new gravity database
[✓] Creating new gravity databases
[✓] Pulling blocklist source list into range
[i] Using libz compression
[i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
[✓] Status: No changes detected
[✓] Parsed 129349 exact domains and 0 ABP-style domains (blocking, ignored 0 non-domain entries)
[i] Target: https://adguardteam.github.io/HostlistsRegistry/assets/filter_2.txt
[✓] Status: No changes detected
[✓] Parsed 6540 exact domains and 0 ABP-style domains (blocking, ignored 0 non-domain entries)
[i] Target: https://adguardteam.github.io/HostlistsRegistry/assets/filter_38.txt
[✓] Status: No changes detected
[✓] Parsed 0 exact domains and 0 ABP-style domains (blocking, ignored 0 non-domain entries)
chown: changing ownership of '/etc/pihole/gravity.db_temp': Operation not permitted
chmod: changing permissions of '/etc/pihole/gravity.db_temp': Operation not permitted
chmod: changing permissions of '/etc/pihole': Operation not permitted
[✓] Building tree
[i] Number of gravity domains: 135889 (129360 unique domains)
[i] Number of exact denied domains: 0
[i] Number of regex denied filters: 0
[i] Number of exact allowed domains: 3
[i] Number of regex allowed filters: 0
[✓] Optimizing database
[✓] Swapping databases
[✓] The old database remains available
[✓] Cleaning up stray matter
[✓] Done.
Viewing the container logs in Portainer, I can see the following warning message during startup:
These permissions issues are biting me as well. I think it has to do with the recent addition of logrotate which runs as root and needs to deal with a bunch of root-owned files. It makes all of my backup jobs fail since I don't run them as root. I've had to exclude pihole dirs from my backup jobs but would prefer not to.
In general, it bothers me when docker containers create a bunch of root owned files as it creates permissions issues on the host side if internal directories are mapped to local directories.
My guess is, this is because of the CIFS filesystem. We have seen it in other places, that network filesystem can cause issues. Could you try to mount the folders to an other base filesystem and see if this fixes the issue?
This is a: Run Issue
Details
Firstly, thank you for your tireless efforts in maintaining Pi-hole and for all of your work on the new release!
I'm running into an issue after updating to 2025.03.0 which did not occur previously on 2024.07.0.
When attempting to update Gravity, the following errors are received:
Have attempted the following:
Full output:
Viewing the container logs in Portainer, I can see the following warning message during startup:
The '/etc/pihole' volume is mapped to a CIFS share on a Synology NAS:
Here is the '/etc/fstab' entry for the share on the host (Debian 12 VM):
Related Issues
How to reproduce the issue
These common fixes didn't work for my issue
The text was updated successfully, but these errors were encountered: