Hi,
I have delete DEV version of Pihole few days back. Make clear new instalation and now I want to setup cloudflared.
When I want to change DNS to 127.0.0.1#5053
I get error message via added screenshot
Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:
pihole -d
or if you run your Pi-hole as a Docker container:
docker exec -it <pihole-container-name-or-id> pihole -d
where you substitute <pihole-container-name-or-id>
as required.
This is expected if you are running Pi-hole in a container and used an environment variable to set this option.
From: GitHub - pi-hole/docker-pi-hole: Pi-hole in a docker container
Warning
Settings that are set via environment variables effectively become read-only, meaning that you will not be able to change them in the web interface or CLI. This is to ensure a "single source of truth" on the config.
If you later unset an environment variable, then FTL will revert to the default value for that setting.
If you want to be able to change this setting in a container, you need to remove the environment variable from your compose file and start a new container.
here is token
https://tricorder.pi-hole.net/47YGsgzk/
FYI: I'm not running pihole in containter. It's running on Linux Mint statiion....
Your debug log shows Pi-hole to be running on Ubuntu:
*** [ DIAGNOSING ]: Operating system
[✓] Distro: Ubuntu
[✓] Version: 24.04
As you claim to run Linux Mint, that would suggest that you'd run some kind of virtualisation software, if not Docker?
And where did you get that error message?
On a browser, or would you use some third party app on your smartphone?
The screenshot is from desktop browser in LAN.
Does your virtualisation environment perhaps limit file system access to read-only?
Hmmm... I missed this detail in the error message:
Apparently you used the wrong password to login to the web interface.
The "App Password" is meant for external applications and for security reasons it is restricted by default (it can't apply these changes).
You need to set and use the web interface password (internally called webserver.api.password
).
You have 2 options to set/change this password:
- CLI: use
pihole setpassword
- Web Interface: go to Settings > All settings page, Web interface and API tab, find
webserver.api.password
and change it (this won't work using the current password).
Take a look at a similar issue:
https://github.com/pi-hole/pi-hole/issues/6016
Thanks
It helps me
reset via CLI
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.