Comments (7)
This happens for me as well. I used that same tutorial to set up my cluster. If you are using a persistent volume as well, use a ssh connection to get to your drive and run these two commands.
ls -l
----> this will show the owner and user of each file they all should be www-data if not run this cmd
sudo chown -R www-data:www-data pihole
from the /mnt/ssd directory described in the tutorial. This will allow you to add more whitelists/blacklists/adlists from the web portal.
Is used this to get it running for me. thanx!
Running a shell inside the pihole docker container.
With ls -l /etc/pihole there were different permissions. Some root, some pihole.
Used:
cd /etc
sudo chown -R www-data:www-data pihole
All done inside the container. No reboots required. Worked immediately.
Hope this helps others.
from pihole-kubernetes.
@MoJo2600 I'm getting this error in the logs on a fresh Docker installation, although everything seems to be working. That is, I just tested adding a domain to the whitelist without issues as alluded to in #39 and blocking/gravity db generation seems to work just as well.
Incidentally, I just checked the logs of my existing Pi-Hole that's been running for months, also Docker, and it's showing the same error.
I am not using the DHCP server feature on either Pi-Hole, so perhaps that's why the error is getting thrown while everything else seems to work correctly?
from pihole-kubernetes.
This happens for me as well. I used that same tutorial to set up my cluster. If you are using a persistent volume as well, use a ssh connection to get to your drive and run these two commands.
ls -l
----> this will show the owner and user of each file they all should be www-data if not run this cmd
sudo chown -R www-data:www-data pihole
from the /mnt/ssd directory described in the tutorial. This will allow you to add more whitelists/blacklists/adlists from the web portal.
from pihole-kubernetes.
Seems like I still get the error:
chown: cannot access '': No such file or directory
chmod: cannot access '': No such file or directory
What I did was, as you suggested, unless I missed something.
ssh
onto my pi.cd
to the pi-hole folder within/mnt/ssd
- run
sudo chown -R www-data:www-data pihole
from the outside. - Output
ls -al ~/mnt/ssd/pihole
total 123800
drwxrwxr-x 4 999 spi 4096 Oct 1 00:01 .
drwxr-xr-x 8 pi pi 4096 Sep 16 03:23 ..
-rw-r--r-- 1 www-data www-data 118 Aug 15 22:50 adlists.list
drwxrwxr-x 3 pi spi 4096 Sep 30 23:54 backup
-rw-r--r-- 1 999 spi 1681 Aug 16 06:02 dhcp.leases
-rw-r--r-- 1 www-data www-data 596 Sep 30 23:58 dns-servers.conf
-rw-r--r-- 1 www-data www-data 18 Sep 30 23:58 GitHubVersions
-rw-rw-r-- 1 999 spi 5029888 Sep 30 23:58 gravity.db
-rw-r--r-- 1 www-data www-data 1131655 Sep 30 23:58 list.0.raw.githubusercontent.com.domains
-rw-r--r-- 1 www-data www-data 594616 Aug 15 22:09 list.1.mirror1.malwaredomains.com.domains
-rw-r--r-- 1 www-data www-data 20 Oct 1 00:00 localbranches
-rw-r--r-- 1 www-data www-data 41 Sep 30 23:58 local.list
-rw-r--r-- 1 www-data www-data 41 Oct 1 00:00 localversions
drwxr-xr-x 2 www-data www-data 4096 Aug 15 22:09 migration_backup
-rw-r--r-- 1 999 spi 0 Aug 15 22:09 pihole-FTL.conf
-rw-r--r-- 1 root root 119951360 Oct 1 00:01 pihole-FTL.db
-rwxr-xr-x 1 www-data www-data 0 Aug 15 22:09 regex.list
-rw-r--r-- 1 www-data www-data 717 Sep 30 23:58 setupVars.conf
-rw-r--r-- 1 www-data www-data 717 Sep 30 23:58 setupVars.conf.update.bak
Thanks @11jwolfe2
from pihole-kubernetes.
Does it possibly be the same issue that has been resolved in this issue: #39 Just guessing, as I do not know your exact setup.
from pihole-kubernetes.
#107 I think this is the same error
from pihole-kubernetes.
Ok, I'll have to check if I can reproduce this error
from pihole-kubernetes.
Related Issues (20)
- Can't reliably get DNS resolution with multi-node deployment HOT 4
- Duplicate variables
- Why use crazymax cloudflared repo when cloudflare maintains their own? HOT 2
- metallb not assigning the ip to serviceDns HOT 5
- Feature request: add option to disable admin password HOT 3
- K8S with MetalLB - unable to access dns server HOT 13
- php-cgi crashes if Huge Page Enabled on Linux System ( fix) Web Interface /admin not accesable/working HOT 1
- Custom CNAMEs (defined via GUI, not Chart's values) aren't saved after pod restarts. HOT 8
- pihole-FTL: no process found on hostNetwork HOT 9
- Updating the config without restart/redeployment of the pod HOT 2
- [Question] What is the role of chart ingress? HOT 2
- nodePort works for serviceDns but doesn't work for serviceWeb HOT 1
- Add option to disable or configure separately DNS protocols HOT 2
- Feature Request/Discussion: Allow mapping of /etc/pihole/custom.list as a configmap
- Bug Report: failed to mount configmap. HOT 1
- Feature Request/Discussion: Allow pihole probes to be configured to use tcp check on dns port or better idea HOT 1
- Problem with Perstistent Volume HOT 2
- chart in this repo, is different to chart in the helm repo? App version different. HOT 6
- Wrong Notes.txt HOT 2
- Password set with existingSecret not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pihole-kubernetes.