New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cron job "pihole flush once quiet" produces missing conf file error #2139
Comments
@bcambl You recently did a fresh install on Fed 27, did you have to adjust anything when you installed? |
On April 20, 2018 8:24:18 PM EDT, Dan Schaper ***@***.***> wrote:
@bcambl You recently did a fresh install on Fed 27, did you have to
adjust anything when you installed?
No, not that I recall. It just worked.
--
Thanks,
Fabian S.
OpenPGP: 3C3FA072ACCB7AC5DB0F723455502B0EEB9070FC
|
No adjustments made. That said, the file in question is missing on both my devices: OPZ w/ Armbian:
RPI3 w/ Fedora 27 Server:
|
iirc FTL.conf is not created unless the user creates an populates it @DL6ER ? can probably confimr better than i can |
This has already been fixed in the development branch with the following commit: d8f85a8 |
Simple workaround until next release: touch /etc/pihole/pihole-FTL.conf |
On April 27, 2018 7:40:26 AM EDT, "Zach :(){ :|: & };:" ***@***.***> wrote:
Simple workaround until next release:
```sh
***@***.***─[~]
└──╼ # touch /etc/pihole/pihole-FTL.conf
```
Done. Thanks.
--
Fabian A. Santiago
OpenPGP:
0x643082042dc83e6d94b86c405e3daa18a1c22d8f (current key)
0x3c3fa072accb7ac5db0f723455502b0eeb9070fc (to be retired / revoked)
|
In raising this issue, I confirm the following:
{please fill the checkboxes, e.g: [X]}
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: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.
The text was updated successfully, but these errors were encountered: