Please follow the below template, it will help us to help you!
Expected Behavior:
Installed the latest stable version of Pi-hole docker on a Qnap-TS233 running Container Station. Installed successfully and can get to web page. But cannot determine password.
Actual Behavior:
All the videos I have found show going into Terminal and running pihole -a -p. My version of Container Station does not have the same setting. Instead, it has Execute. I get a /# and I put in the same syntax pihole - a -p and all I get is a dos type listing of usage Pi-hole’s options. But none of those options are listing password syntax.
I am stumped on how to determine the default password.
This suggests they all were dealing with Pi-hole 5 or lower, not the current Pi-hole 6.
Use:
pihole setpassword 'your-new-password-here'
That information is also included in that listing:
$ pihole -a -p
Usage: pihole [options]
Example: 'pihole allow -h'
Add '-h' after specific commands for more information on usage
Domain Options:
(…)
Debugging Options:
(…)
Options:
setpassword [pwd] Set the password for the web interface
Without optional argument, password is read interactively.
When specifying a password directly, enclose it in single quotes.
-g, updateGravity Update the list of ad-serving domains
-h, --help, help Show this help dialog
(…)
Thank you very much. I should have expanded that listing as it defaulted to a small box with word wrapping (on my system) and I was looking intently for the password -a - p.