Hello,
I have installed PI-hole and after the installation I can open the Pi-hole GUI and log in with the admin user. If I click on “save” on the DNS page under Settings without making any changes, I get the following error message:
There was a problem applying your settings.
Debugging information:
PHP error (2): syntax error, unexpected '=' in /var/snap/pihole/current/config/pihole/pihole-FTL.conf on line 8 in /snap/pihole/537/web/scripts/pi-hole/php/FTL.php:23
When I look at the specified file, it looks like this:
DBFILE=/var/snap/pihole/common/pihole-FTL.db
LOGFILE=/var/snap/pihole/common/log/pihole-FTL.log
PIDFILE=/var/snap/pihole/common/ftl.pid
PORTFILE=/var/snap/pihole/common/ftl.port
SOCKETFILE=/var/snap/pihole/common/ftl.sock
GRAVITYDB=/var/snap/pihole/current/gravity.db
SETUPVARSFILE=/var/snap/pihole/current/setupVars.conf
AUDITLISTFILE=/var/snap/pihole/current/auditlog.listRATE_LIMIT=1000/60
In the AUDITFILELIST line, it looks to me like a RETURN is missing. I have changed it like this:
AUDITLISTFILE=/var/snap/pihole/current/auditlog.list
RATE_LIMIT=1000/60
If I then click on save, I get the following error:
FTL failed to start due to bad option at line 39 of /var/snap/pihole/current/config/01-pihole.conf
Here is the content of the file:
addn-hosts=/var/snap/pihole/current/config/pihole/local.list
addn-hosts=/var/snap/pihole/current/config/pihole/custom.list
localise-queries
no-resolv
cache-size=10000
#log-queries
#log-facility=/var/snap/pihole/common/log/pihole.log
local-ttl=2
log-asyncserver=208.67.222.222
server=208.67.222.222
server=208.67.220.220
server=2620:0:ccc::2
server=2620:0:ccd::2
domain-needed
expand-hosts
bogus-priv
interface=eth0
Line 39 is:
log-asyncserver=208.67.222.222
I’m not sure what’s wrong with this?
Then I see in the GUI as status that DS is no longer running … ?
Can anyone tell me what I am doing wrong here?
I have not yet configured / changed anything in the FritzBox.
Greetings,
Ralf