Hi,
below error are showing up in error log file found
/var/log/lighttpd/error.log
2020-06-07 00:00:04: (server.c.1759) logfiles cycled UID = 0 PID = 12866
2020-06-07 15:33:12: (server.c.2059) server stopped by UID = 0 PID = 1
2020-06-07 15:33:41: (server.c.1464) server started (lighttpd/1.4.53)
2020-06-07 16:03:26: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 72
2020-06-07 16:09:07: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
2020-06-07 16:09:07: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
2020-06-07 19:15:35: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 72
2020-06-07 19:23:37: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
2020-06-07 20:56:35: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: SQLite3Stmt::execute(): Unable to execute statement: UNIQUE constraint failed: domainlist.domain in /var/www/html/admin/scripts/pi-hole/php/groups.php on line 507
Pi-hole version is v5.0 (Latest: v5.0)
AdminLTE version is v5.0 (Latest: v5.0)
FTL version is v5.0 (Latest: v5.0)
Any help someone can provide here?
Thanks,
BR,
Mike
That means that you tried to add a domain to black/whitelist that is already on a black- or whitelist.
ok, and what about
2020-06-07 16:03:26: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 72
2020-06-07 16:09:07: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
2020-06-07 16:09:07: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
2020-06-07 19:15:35: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 72
2020-06-07 19:23:37: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
Seems to be a problem with the enable/disable timer.
Did you experience any issues with that?
whats about the timer? Which topic u mean? Havent used any kind of timer as far as I know
maybe related to here
https://github.com/pi-hole/AdminLTE/issues/1227
Expected behaviour:
When disabling pihole using the web interface a timing file is generated (custom_disable_timer) in the www-root directory. This file will be removed later when the service is reenabled.
Actual behaviour:
When PHP display_errors configuration variable is set to ON a warning can be raised when the file does not exists, which is the case of permanently service disabling.
This warning blocks the web interface spinning animation associated to the action (disabling the service).
Steps to reproduce:
Enable PHP display_errors configuration environment and play with disabling/enabling the service using the web interface.
Debug token provided by uploading pihole -d log:
https://tricorder.pi-hole.net/uuy4bp614g (uuy4bp614g)
Troubleshooting undertaken, and/or other relevant information:
Disabling the PHP display_errors setting solves the issue.
2020-06-07 22:41:01: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 72
2020-06-07 22:41:11: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
will appear if permanently disable /re-enable pihole .....
Yeah, seems like that bug. There is already a PR to fix that
https://github.com/pi-hole/AdminLTE/pull/1251