Debug Token: bbji1t5mo6
"Directory /etc/pihole/pihole-FTL.conf: no such file or directory"
TFL seems runing becouse he found it on ID XXX and the permission to kill it is denied.
I want to fix my problem with the auto flush logs by do a adit of the f´config file but its missing.
RamSet
April 27, 2018, 9:28pm
2
This is a known issue and it was resolved and implemented in the next release:
opened 12:15AM - 21 Apr 18 UTC
closed 03:38AM - 31 May 18 UTC
Fixed in next release
triage: Issue
**In raising this issue, I confirm the following:** `{please fill the checkboxes… , e.g: [X]}`
- [X] I have read and understood the [contributors guide](https://github.com/pi-hole/pi-hole/blob/master/CONTRIBUTING.md).
- [X] The issue I am reporting can be *replicated*.
- [X] The issue I am reporting isn't a duplicate (see [FAQs](https://github.com/pi-hole/pi-hole/wiki/FAQs), [closed issues](https://github.com/pi-hole/pi-hole/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), and [open issues](https://github.com/pi-hole/pi-hole/issues)).
**How familiar are you with the the source code relevant to this issue?:**
1
---
**Expected behaviour:**
for cron job to complete successfully and silently, or at least without error
**Actual behaviour:**
each run of this cron job:
00 00 * * * root PATH="$PATH:/usr/local/bin/" pihole flush once quiet
produces error message:
sed: can't read /etc/pihole/pihole-FTL.conf: No such file or directory
**Steps to reproduce:**
run said cron job without conf file present
**Debug token provided by [uploading `pihole -d` log](https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#debug):**
nqd3o5l882
**Troubleshooting undertaken, and/or other relevant information:**
I could simply create the missing file but am unsure of its content or syntax. why is this file missing? I'm running on fedora 27, and recently uninstalled and reinstalled. i have never noticed this error before. Is it a problem? Thanks.
Meanwhile you can fix the error by issuing
sudo touch /etc/pihole-FTL.conf
on the device running Pi-hole.
1 Like
The command from you did nothing, no output no TFL config file but when its known, i can wait until the upate ist rdy. pihole -up was it?
RamSet
April 27, 2018, 9:47pm
4
Der befehl hat die fehlende feile erstellt. Es hat keine sichtbare ausgabe, aber die file ist jetzt vorhanden und der fehler wird nicht mehr angezeigt.
Versuche es jetzt:
pihole flush once quiet
sed: can't read /etc/pihole/pihole-FTL.conf: No such file or directory
RamSet
April 27, 2018, 10:50pm
8
ls -l /etc/ | grep pihole-FTL
Zeigt das etwas?
-rw-r--r-- l root root 0 Apr 27 23:40 pihole-FTL.conf
Kann ich auch aus PuTTy kopieren?
RamSet
April 27, 2018, 11:12pm
11
Du hast die feile im die richtigen ordnerpfad.
Versuche, ein pihole -r auszuführen und zu reparieren.
Du musst es nicht von putty kopieren, mit dem darüber befehl haben wir nach der existenz der feile gesucht.
Nach der Reparatur
"sed: can’t read /etc/pihole/pihole-FTL.conf: No such file or directory"
RamSet
April 27, 2018, 11:29pm
13
Ich habe das gleiche problem:
Ich untersuche es
Okay, zwar nicht gut, aber "gut" dass ich damit nicht alleine bin. Vielen Dank für die Nächtliche Hilfe. So was kann man schon mal Loben.
RamSet
April 27, 2018, 11:32pm
15
Ich habe es gefunden.
Ich habe dir den falschen weg gegeben
Hier ist der richtige befehl:
sudo touch /etc/pihole/pihole-FTL.conf
Ich bedanke mich vielmals. Pihole-FTL,conf ist jetzt vorhanden.
1 Like
Eventuell ne Möglichkeit die Logs automatisch löschen zu lassen? Ich hab nen hohen Upstream und komme auf mehrere GB an logs pro Tag was das web Interface nicht Grad schnell macht .
RamSet
April 27, 2018, 11:52pm
18
Die Logs werden jeden abend um mitternacht geräumt.
Logrotate-Parameter werden hier eingestellt:
/etc/pihole/logrotate
du kannst mit diesem Befehl bearbeiten:
sudo nano /etc/pihole/logrotate
Was genau muss ich denn Hier editieren? Logs löscht er bei mir nicht automatisch da die Anzahl der Queries immer im Millionen Bereich war außer ich hab im Webinterface das löschen selber veranlasst.
RamSet
April 28, 2018, 12:03am
20
erste zeile ist die datei
dritte zeile ist die häufigkeit der Log-Rotation
fünfte zeile ist die anzahl der beibehaltenen protokolle