FTL Offline, Lost Connection To API

I tried to update from 3.3 using pihole updatePihole.
Now the WebGUI shows FTL Offline and Lost Connection To API. I read some other threads, but nothing solved my problem.
I operated as root and tried service pihole-FTL restart for example.

token: 0jjbiw1dju

It looks like FTL was unable to bind to 127.0.0.1:4711. What is the output of sudo service pihole-FTL status -l

root@vader:~# service pihole-FTL status -l● pihole-FTL.service - LSB: pihole-FTL daemon
   Loaded: loaded (/etc/init.d/pihole-FTL; generated; vendor preset: enabled)
   Active: active (exited) since Mon 2018-08-20 21:46:27 CEST; 15h ago
     Docs: man:systemd-sysv-generator(8)
      CPU: 0
   CGroup: /system.slice/pihole-FTL.service

Aug 20 21:46:15 vader systemd[1]: Starting LSB: pihole-FTL daemon...
Aug 20 21:46:15 vader pihole-FTL[361]: Not running
Aug 20 21:46:26 vader su[812]: Successful su for pihole by root
Aug 20 21:46:26 vader su[812]: + ??? root:pihole
Aug 20 21:46:26 vader su[812]: pam_unix(su:session): session opened for user pihole by (uid=0)
Aug 20 21:46:27 vader pihole-FTL[361]: dnsmasq: cannot open or create lease file /var/lib/misc/dnsmasq.leases: Permission denied
Aug 20 21:46:27 vader systemd[1]: Started LSB: pihole-FTL daemon.

FTL... Not running? Dnsmasq.leases... Permission denied?
How to fix this? Is this the Problem?

sudo touch /var/lib/misc/dnsmasq.leases
chown pihole:pihole /var/lib/misc/dnsmasq.leases

the first command may not be needed but i have it here just in case

Should create the file and allow pihole-FTL to see and use it.

I see a docker process is this being run in docker as well or is that something else on your system. The reason i ask is if we need to bring in the docker expert we just need to know

Thank u. This fixed the problem.

The Docker-process was just for testing.

Is there any list with files and permissions that are used by pihole?

There is no ready made list unfortunately if you felt like going through the code in the installer each file is named there but no straight list at the moment

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.