Password change is not working. Plus youtube on mobile isn't working

I ssh into my pi and ran the command sudo pihole -a -p newpassword. I attempted it this way sudo pihole -a -p newpasswordexample and this way sudo pihole -a -p newpassword example. I also left it blank so it wouldn't have a password and no matter what I do I can't login on the admin page.

Youtube just won't load anything on my iphone. It does load on the pc. I figured I'd need to whitelist something to be able to use it on my phone but I don't think I can do that without logging into the admin panel.

Any help would be greatly appreciated.

Can you run pihole -d and get us the token so we can take a look?

pi@raspberrypi:~ $ pihole -d
::: Beginning Pi-hole debug at Mon 23 Jan 22:48:36 UTC 2017!
:::
::: This process collects information from your Pi-hole, and optionally uploads
::: it to a unique and random directory on tricorder.pi-hole.net.
:::
::: NOTE: All log files auto-delete after 24 hours and ONLY the Pi-hole developers
::: can access your data via the given token. We have taken these extra steps to
::: secure your data and will work to further reduce any personal information gathered.
:::
::: Please read and note any issues, and follow any directions advised during this process.
:::
::: Detecting Installed Package Versions:
::: Pi-hole: v2.11.2
::: WebUI: v2.3.1
::: lighttpd/1.4.35
::: PHP 5.6.29-0+deb8u1 (cli) (built: Dec 17 2016 06:04:43)
:::
::: Detecting existence of /etc/pihole/setupVars.conf:
::: File exists and was successfully sourced
:::
::: Detecting installed OS Distribution
:::
::: Checking processor variety
:::
::: IP Address Information
::: IPv6 addresses located
::: IPv4 addresses located
::: Pinging default IPv4 gateway: Gateway responded.
::: Pinging Internet via IPv4: Query responded.
:::
::: Daemon Process Information
::: Checking http port for lighttpd listener.
::: Correctly configured.
::: Correctly configured.
:::
::: Daemon Process Information
::: Checking domain port for dnsmasq listener.
::: Correctly configured.
::: Correctly configured.
:::
::: Processes Check
::: Logging status of lighttpd and dnsmasq...
:::
::: Resolver Functions Check
::: Checking for necessary lighttpd files.
:::
::: Detecting existence of /etc/lighttpd/lighttpd.conf:
::: File exists
:::
::: Detecting existence of /var/log/lighttpd/error.log:
::: File exists
:::
:::
::: Detecting existence of /etc/dnsmasq.conf:
::: File exists
:::
::: Detecting existence of /etc/dnsmasq.d/01-pihole.conf:
::: File exists
:::
::: Detecting existence of /etc/pihole/whitelist.txt:
::: File exists
:::
::: Detecting existence of /etc/pihole/blacklist.txt:
::: /etc/pihole/blacklist.txt not found!
:::
::: Detecting existence of /etc/pihole/adlists.list:
::: /etc/pihole/adlists.list not found!
:::
::: Analyzing gravity.list
:::
::: --= User Action Required =--
::: Try loading a site that you are having trouble with now from a client web browser..
::: (Press CTRL+C to finish logging.)
:::
::: pihole.log
::: Logging will automatically teminate in 60 seconds
^C: 55 seconds left.
::: Finishing debug write from interrupt... Quitting!
::: Finshed debugging!
::: The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
::: Would you like to upload the log? [y/N]

I just realized you wanted the token. How do i get that to you?

Does /etc/pihole/setupVars.conf have any entry for WEBPASSWORD?

You can post it here or send it in a private message. Only 5 people have access to that server and we need the token in order to find your logfile.

Ok for /etc/pihole/setupVars.conf I get this /etc/pihole/setupVars.conf
-bash: /etc/pihole/setupVars.conf: Permission denied
pi@raspberrypi:~ $

Also this is my first use of a pi so treat me like a basic idiot. How would i get you the pihole -d token?

Try cat /etc/pihole/setupVars.conf to list the file contents. And the token is generated when you type y to allow the pihole -d process to upload it to the server. It's a random 10 character long string that is specific to that one log upload.

pi@raspberrypi:~ $ cat /etc/pihole/setupVars.conf
PIHOLE_INTERFACE=eth0
IPV4_ADDRESS=192.168.1.24
IPV6_ADDRESS=
PIHOLE_DNS_1=8.8.8.8
PIHOLE_DNS_2=8.8.4.4
QUERY_LOGGING=true
WEBPASSWORD=4b20c060f40545f80ab87081c3c91842b8c30a2ea7c9b2f4ee9094b70c96fd61

Also I can't access google from my other PC

7xr5rzpj4f
is the token

Okay, there's a password set for the Admin page. Try pihole -a -p just like that and then cat /etc/pihole/setupVars.conf and that line should end up WEBPASSWORD= without a string.

Looking over the log, it appears that everything is functional on the Pi-hole, but it looks like all the DNS queries are coming in from 192.168.1.1, is that the router? And how have you configured the clients to use the DNS on the Pi-hole?

Thank you that worked! I was able to login on the admin page.

Can you help with the youtube and google not working on iphone and pc

That is the router and other than setting the DNS in router to the pi I haven't done any other config

Lets take a look at the Pi-hole and see if the router is forwarding everything to it. From the terminal where you typed the other pihole commands, try pihole -t. This will start a log 'tail' that will show in real time what the Pi-hole is seeing. When you do that command go to a client and try to browse a few sites, you should see those come up in the log. If you don't then the clilents are not using the Pi-hole for their DNS.

You may need to clean out the cache on the clients, for example on Windows use the command ipconfig /flushdns.

how do i stop the log to check too much traffic

Hit CTRL-C on the keyboard.

I googled pihole from my phone and this is the tail

NAME>
Jan 23 23:24:00 dnsmasq[525]: cached eusonprem.ipv6.microsoft.com.akadns.net is 65.55.158.118
Jan 23 23:24:00 dnsmasq[525]: query[A] www.google.com from 192.168.1.1
Jan 23 23:24:00 dnsmasq[525]: cached www.google.com is 74.125.196.103
Jan 23 23:24:00 dnsmasq[525]: cached www.google.com is 74.125.196.147
Jan 23 23:24:00 dnsmasq[525]: cached www.google.com is 74.125.196.105
Jan 23 23:24:00 dnsmasq[525]: cached www.google.com is 74.125.196.99
Jan 23 23:24:00 dnsmasq[525]: cached www.google.com is 74.125.196.104
Jan 23 23:24:00 dnsmasq[525]: cached www.google.com is 74.125.196.106
Jan 23 23:24:02 dnsmasq[525]: query[A] api-glb-atl.smoot.apple.com from 192.168.1.1
Jan 23 23:24:02 dnsmasq[525]: cached api-glb-atl.smoot.apple.com is 17.249.137.246
Jan 23 23:24:03 dnsmasq[525]: query[A] www.google.com from 192.168.1.1
Jan 23 23:24:03 dnsmasq[525]: cached www.google.com is 74.125.196.106
Jan 23 23:24:03 dnsmasq[525]: cached www.google.com is 74.125.196.103
Jan 23 23:24:03 dnsmasq[525]: cached www.google.com is 74.125.196.147
Jan 23 23:24:03 dnsmasq[525]: cached www.google.com is 74.125.196.105
Jan 23 23:24:03 dnsmasq[525]: cached www.google.com is 74.125.196.99
Jan 23 23:24:03 dnsmasq[525]: cached www.google.com is 74.125.196.104
Jan 23 23:24:04 dnsmasq[525]: query[A] e.crashlytics.com from 192.168.1.1
Jan 23 23:24:04 dnsmasq[525]: cached e.crashlytics.com is
Jan 23 23:24:04 dnsmasq[525]: cached events-endpoint-d-1130254936.us-east-1.elb.amazonaws.com is 184.73.195.3
Jan 23 23:24:04 dnsmasq[525]: cached events-endpoint-d-1130254936.us-east-1.elb.amazonaws.com is 107.22.242.112
Jan 23 23:24:04 dnsmasq[525]: cached events-endpoint-d-1130254936.us-east-1.elb.amazonaws.com is 54.243.46.38
Jan 23 23:24:04 dnsmasq[525]: cached events-endpoint-d-1130254936.us-east-1.elb.amazonaws.com is 23.21.68.38
Jan 23 23:24:04 dnsmasq[525]: cached events-endpoint-d-1130254936.us-east-1.elb.amazonaws.com is 54.243.159.86
Jan 23 23:24:04 dnsmasq[525]: cached events-endpoint-d-1130254936.us-east-1.elb.amazonaws.com is 54.243.137.167
Jan 23 23:24:04 dnsmasq[525]: cached events-endpoint-d-1130254936.us-east-1.elb.amazonaws.com is 54.225.100.67
Jan 23 23:24:04 dnsmasq[525]: cached events-endpoint-d-1130254936.us-east-1.elb.amazonaws.com is 54.243.163.168

That does look like the Pi-hole looked up Google when you tried, what happened on the phone? Did you see the Google web page?

Nope nothing. When I attempted it on my other pc I got a no connection error.

Screen shot of the search from my phone

I hope you see this. It is a netgear nighthawk 7800, and when I changed the dns to default everything worked. I can't make any more new post since I'm new so I will pick this up tomorrow.