# FTL offline after update \[solved\]

**URL:** https://discourse.pi-hole.net/t/ftl-offline-after-update-solved/8062
**Category:** Help
**Created:** [March 18, 2018, 7:52am UTC](https://discourse.pi-hole.net/t/ftl-offline-after-update-solved/8062 "2018-03-18T07:52:10Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![steffens](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/41988e/32.png) [@steffens](https://discourse.pi-hole.net/u/steffens)
#### Post date: [March 18, 2018, 7:52am UTC](https://discourse.pi-hole.net/t/ftl-offline-after-update-solved/8062/1 "2018-03-18T07:52:10Z")

</div>

Yesterday I updated the OS (Raspian) of my Rasp PI. Everything went smoothly with "apt update" and "apt upgrade". Because I also wanted to activate ipv6 support, I reconfigured pi-hole with "pihole -r".  
Unfortunately FTL is now offline, this is shown in the web interface. Everything I've tried hasn't got FTL back online.

Here is an excerpt from pihole-FTL.log  
[2018-03-18 08:29:21.884] ########## FTL started! ##########  
[2018-03-18 08:29:21.885] FTL branch: v3.0  
[2018-03-18 08:29:21.885] FTL version: v3.0  
[2018-03-18 08:29:21.885] FTL commit: a1b2fa03f8f3e3713b57a26a4e9a062fec0573d7  
[2018-03-18 08:29:21.885] FTL date: 2018-02-14 12:45:47 -0800  
[2018-03-18 08:29:21.885] FTL user: pihole  
[2018-03-18 08:29:21.885] Notice: Found no readable FTL config file  
[2018-03-18 08:29:21.886] Using default settings  
[2018-03-18 08:29:21.886] Starting config file parsing (/etc/pihole/pihole-FTL.conf)  
[2018-03-18 08:29:21.886] SOCKET\_LISTENING: only local  
[2018-03-18 08:29:21.886] QUERY\_DISPLAY: Show queries  
[2018-03-18 08:29:21.886] AAAA\_QUERY\_ANALYSIS: Show AAAA queries  
[2018-03-18 08:29:21.886] MAXDBDAYS: max age for stored queries is 365 days  
[2018-03-18 08:29:21.886] RESOLVE\_IPV6: Resolve IPv6 addresses  
[2018-03-18 08:29:21.886] RESOLVE\_IPV4: Resolve IPv4 addresses  
[2018-03-18 08:29:21.886] DBINTERVAL: saving to DB file every minute  
[2018-03-18 08:29:21.887] DBFILE: Using /etc/pihole/pihole-FTL.db  
[2018-03-18 08:29:21.887] MAXLOGAGE: Importing up to 24.0 hours of log data  
[2018-03-18 08:29:21.887] Finished config file parsing  
[2018-03-18 08:29:21.903] Found no other running pihole-FTL process  
[2018-03-18 08:29:21.905] PID of FTL process: 4451  
[2018-03-18 08:29:22.350] Gravity list entries: 121707  
[2018-03-18 08:29:22.350] No blacklist present  
[2018-03-18 08:29:22.350] Notice: Increasing wildcards struct size from 0 to 1 (120.00 B)  
[2018-03-18 08:29:22.350] Notice: Increasing wildcards struct size from 1 to 2 (136.00 B)  
[2018-03-18 08:29:22.350] Notice: Increasing wildcards struct size from 2 to 3 (151.00 B)  
[2018-03-18 08:29:22.351] Wildcard blocking list entries: 3  
[2018-03-18 08:29:22.352] Database initialized  
[2018-03-18 08:29:22.354] Notice: Increasing queries struct size from 0 to 10000 (440.17 KB)  
[2018-03-18 08:29:22.354] Notice: Increasing domains struct size from 0 to 1000 (460.17 KB)  
[2018-03-18 08:29:22.354] Notice: Increasing clients struct size from 0 to 10 (460.33 KB)  
[2018-03-18 08:29:22.361] New client: 192.168.178.1 (0/10)  
[2018-03-18 08:29:22.361] Notice: Increasing forwarded struct size from 0 to 4 (460.44 KB)  
[2018-03-18 08:29:22.406] New forward server: 85.214.20.141 h1768020.stratoserver.net (0/4)  
[2018-03-18 08:29:22.407] Notice: Increasing overTime struct size from 0 to 100 (464.48 KB)  
[2018-03-18 08:29:22.437] New forward server: 213.73.91.35 dnscache.berlin.ccc.de (1/4)  
[2018-03-18 08:29:22.438] New client: localhost localhost (1/10)  
[2018-03-18 08:29:22.573] Notice: Increasing overTime struct size from 100 to 200 (487.24 KB)  
[2018-03-18 08:29:22.612] DB warn: TYPE should be either 1 or 2 but not 0  
[2018-03-18 08:29:22.612] DB warn: TYPE should be either 1 or 2 but not 0  
[2018-03-18 08:29:22.612] DB warn: TYPE should be either 1 or 2 but not 0  
[2018-03-18 08:29:22.612] DB warn: TYPE should be either 1 or 2 but not 0  
[2018-03-18 08:29:22.614] Imported 4034 queries from the long-term database  
[2018-03-18 08:29:22.614] Starting initial log file parsing  
[2018-03-18 08:29:22.614] Reading from /var/log/pihole.log (rw-r--r--)  
[2018-03-18 08:29:22.708] Finished initial log file parsing  
[2018-03-18 08:29:22.708] -\> Total DNS queries: 4034  
[2018-03-18 08:29:22.708] -\> Cached DNS queries: 467  
[2018-03-18 08:29:22.709] -\> Forwarded DNS queries: 2685  
[2018-03-18 08:29:22.709] -\> Exactly blocked DNS queries: 882  
[2018-03-18 08:29:22.709] -\> Wildcard blocked DNS queries: 0  
[2018-03-18 08:29:22.709] -\> Unknown DNS queries: 0  
[2018-03-18 08:29:22.709] -\> Unique domains: 873  
[2018-03-18 08:29:22.709] -\> Unique clients: 2  
[2018-03-18 08:29:22.709] -\> Known forward destinations: 2  
[2018-03-18 08:29:22.709] Successfully accessed setupVars.conf  
[2018-03-18 08:29:22.710] Listening on port 4711 for incoming IPv4 telnet connections  
[2018-03-18 08:29:22.710] Listening on port 4711 for incoming IPv6 telnet connections  
[2018-03-18 08:29:22.711] Error on binding on Unix socket /var/run/pihole/FTL.sock: No such file or directory (2)

There is also no process with PID 4451, just a process with such a name:  
pi@voyager:/var/log $ ps -aef | grep 4451  
pi 4765 4149 0 08:43 pts/0 00:00:00 grep --color=auto 4451

So, what to do to get FTL back running?

## Debug Token:

83xhvmaa85

---

<div class="post-metadata">

### Author: ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)
#### Post date: [March 18, 2018, 8:39am UTC](https://discourse.pi-hole.net/t/ftl-offline-after-update-solved/8062/2 "2018-03-18T08:39:41Z")

</div>

> [@steffens](#):
>
> So, what to do to get FTL back running?

Does `sudo service pihole-FTL restart` help?

If not:

- Does the directory `/var/run/pihole/` exist? (If not: Create it)
- Is this directory owned by user `pihole`? (If not: Change it)
- Then try again to start FTL.

---

<div class="post-metadata">

### Author: ![steffens](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/41988e/32.png) [@steffens](https://discourse.pi-hole.net/u/steffens)
#### Post date: [March 18, 2018, 12:08pm UTC](https://discourse.pi-hole.net/t/ftl-offline-after-update-solved/8062/3 "2018-03-18T12:08:35Z")

</div>

You did it!!!  
/var/run/pihole has been deleted. Restoring this folder, changing the owner and restarting FTL have solved the problem.

Thank you, DL6ER.

---

<div class="post-metadata">

### Author: ![steffens](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/41988e/32.png) [@steffens](https://discourse.pi-hole.net/u/steffens)
#### Post date: [March 18, 2018, 12:45pm UTC](https://discourse.pi-hole.net/t/ftl-offline-after-update-solved/8062/4 "2018-03-18T12:45:31Z")

</div>

Reconfiguration is the scapegoat. After I have executed "pihole -r" again and selected "Reconfiguration", the order /var/run/pihole has disappeared again.

---

<div class="post-metadata">

### Author: ![jacob.salmela](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jacob.salmela/32/8_2.png) [@jacob.salmela](https://discourse.pi-hole.net/u/jacob.salmela)
#### Post date: [March 23, 2018, 12:12am UTC](https://discourse.pi-hole.net/t/ftl-offline-after-update-solved/8062/5 "2018-03-23T00:12:20Z")

</div>

3 posts were split to a new topic: [FTL issues as well and it’s disconnecting or not allowing me to look at my query log](https://discourse.pi-hole.net/t/ftl-issues-as-well-and-it-s-disconnecting-or-not-allowing-me-to-look-at-my-query-log/8186)

---

<div class="post-metadata">

### Author: ![Mcat12](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mcat12/32/20_2.png) [@Mcat12](https://discourse.pi-hole.net/u/Mcat12)
#### Post date: [March 25, 2018, 12:24am UTC](https://discourse.pi-hole.net/t/ftl-offline-after-update-solved/8062/6 "2018-03-25T00:24:39Z")

</div>

Does the file `/etc/init.d/pihole-FTL` match this file exactly? [https://github.com/pi-hole/pi-hole/blob/master/advanced/pihole-FTL.service](https://github.com/pi-hole/pi-hole/blob/master/advanced/pihole-FTL.service)

If not, then this PR might fix this:

> <https://github.com/pi-hole/pi-hole/pull/1981>
>
> \*\*By submitting this pull request, I confirm the following:\*\* 
> \*please fill any… appropriate checkboxes, e.g: \[X\]\*
> 
> \- \[x\] I have read and understood the \[contributors guide\](https://github.com/pi-hole/pi-hole/blob/master/CONTRIBUTING.md), as well as this entire template.
> \- \[x\] I have made only one major change in my proposed changes.
> \- \[x\] I have commented my proposed changes within the code.
> \- \[x\] I have tested my proposed changes, and have included unit tests where possible.
> \- \[x\] I am willing to help maintain this change if there are issues with it later.
> \- \[x\] I give this submission freely and claim no ownership.
> \- \[x\] It is compatible with the \[EUPL 1.2 license\](https://opensource.org/licenses/EUPL-1.1)
> \- \[x\] I have squashed any insignificant commits. (\[\`git rebase\`\](http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html))
> 
> Please make sure you \[Sign Off\](https://github.com/pi-hole/pi-hole/wiki/How-to-signoff-your-commits.) all commits. Pi-hole enforces the \[DCO\](https://github.com/pi-hole/pi-hole/wiki/Contributing-to-the-project).
> 
> \---
> \*\*What does this PR aim to accomplish?:\*\*
> 
> Ensure that \`pihole -r\` fixes problems with a maybe not updated service file.
> 
> 
> \*\*How does this PR accomplish the above?:\*\*
> 
> Always replace \`pihole-FTL.service\`

---

<div class="post-metadata">

### Author: ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)
#### Post date: [April 15, 2018, 12:24am UTC](https://discourse.pi-hole.net/t/ftl-offline-after-update-solved/8062/7 "2018-04-15T00:24:41Z")

</div>

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