webinterface FTL.log spams "Failed to open log file. Check permissions!"
Hi, I have brought back a device from the dead and have 1 more thing to resolve. Everything is working fine in the background, but in the webinterface I have an issue with Tail FTL.log. When I click it, I get a view that keeps spamming the following text:
Failed to open log file. Check permissions!
Failed to open log file. Check permissions!
Failed to open log file. Check permissions!
Failed to open log file. Check permissions!
I know where the log is located and it has pihole:pihole ownershop. I'm thinking this might be a lighttpd permission thing. Anyone have an insight? This is installed on an Odroid C1 SBC running Arch Linux, not using docker.
The directory and file path of this log have been added to the php open_basedir variable.
I could always look at the log on the device itself, but it would be nice to be able to see it straight from the webinterface again.
Thanks!
edit: I needed to add /run/log/pihole-ftl/pihole-FTL.log to the open_basedir variable as well. This solved my problem!
Posted Feb 12, 2023, 4:22 PM UTC · edited
Generate a Debug Log, upload the log and post here only the Token.
[deleted]