MDM
August 21, 2017, 12:39am
1
Please follow the below template, it will help us to help you!
Expected Behaviour:
Admin page shows a connection to API
Actual Behaviour:
Admin page shows no connection to API, and lists "FTL offline"
Debug Token:
wv8djr3qvy
This is a pretty standard Ubuntu 16.04 installation on x86. No problems with the install that I remember. Only other thing running on the box is a plex server, that I shut down to try to see if it fixed the problem.
Mcat12
August 21, 2017, 8:47pm
2
I don't see any issue in your log. What do you get if you go to http;//pi.hole/admin/api.php ?
MDM
August 22, 2017, 8:48pm
3
Just "{"FTLnotrunning":true}"
Mcat12
August 24, 2017, 3:24am
4
What is the output of this command?
pidof pihole-FTL
Also, run pihole -d
again for a new debug token (they expire after 48 hours)
MDM
August 24, 2017, 7:05pm
5
pidof pihole-FTL
returns a number, in this case 764.
Debug token is fbqa19c4t5.
Mcat12
August 25, 2017, 2:18pm
6
How about:
sudo -u www-data pidof pihole-FTL
Mcat12
August 25, 2017, 3:41pm
8
How about:
sudo -u pihole pidof /usr/bin/pihole-FTL
MDM
August 25, 2017, 3:48pm
9
After entering the password, it returns the process number (764).
Mcat12
August 25, 2017, 10:36pm
10
Check the output of these commands:
which pihole-FTL
sudo -u pihole which pihole-FTL
MDM
August 27, 2017, 2:01am
11
Both commands return the following:
/usr/bin/pihole-FTL
Mcat12
August 27, 2017, 6:43pm
12
Also check these outputs (forgot to include the www-data
commands)
sudo -u www-data which pihole-FTL
sudo -u www-data pidof pihole-FTL
MDM
August 28, 2017, 2:05pm
13
Both commands return no output.
Thanks for the help in figuring this out, by the way -- this is a weird problem.
Mcat12
September 1, 2017, 12:55pm
14
Hi, sorry for not responding quickly. Try another debug token. I think perhaps your web server might be improperly configured?
MDM
September 1, 2017, 1:19pm
15
My new debug token is kq4p06lpgv.
About the web server -- there was no web server on this server before pihole installed one, so what would it have not properly configured, if there was no problems in the install log?
Mcat12
September 1, 2017, 4:43pm
16
The debug log still looks good. I was wondering if the web server somehow setup a different user than what we expect (www-data). @DL6ER any ideas?
Mcat12
September 2, 2017, 8:42pm
17
Have you tried doing a fresh install of the OS on the device?
MDM
September 2, 2017, 8:51pm
18
Even better; I did a fresh install of pihole on a fresh install of a new Ubuntu 16.04 vm. Same result; web ui says no connection to api.
Mcat12
September 2, 2017, 8:56pm
19
Run pihole -d
for a debug token on that new VM
MDM
September 6, 2017, 2:36pm
20
Will do -- just got back from a vacation, and will give it a try now.