[Tue Sep 24 11:24:50.125509 2019] [php7:error] [pid 16595] [client 172.16.0.147:59930] PHP Fatal error: Uncaught RuntimeException: Unable to write to the log file. in /var/www/html/kanboard-v1.2.10/app/Core/Log/File.php:45\nStack trace:\n#0 /var/www/html/kanboard-v1.2.10/app/Core/Log/Logger.php(76): Kanboard\Core\Log\File->log(‘debug’, ‘APP: nb_queries…’, Array)\n#1 /var/www/html/kanboard-v1.2.10/vendor/psr/log/Psr/Log/AbstractLogger.php(126): Kanboard\Core\Log\Logger->log(‘debug’, ‘APP: nb_queries…’, Array)\n#2 /var/www/html/kanboard-v1.2.10/app/Subscriber/BootstrapSubscriber.php(35): Psr\Log\AbstractLogger->debug(‘APP: nb_queries…’, Array)\n#3 [internal function]: Kanboard\Subscriber\BootstrapSubscriber->__destruct()\n#4 {main}\n thrown in /var/www/html/kanboard-v1.2.10/app/Core/Log/File.php on line 45
Turns out, after we changed the Config Entry “define(‘LOG_FILE’, ‘data’.DIRECTORY_SEPARATOR.‘debug.log’);” to “define(‘LOG_FILE’, ‘/var/www/html/kanboard/data/debug.log’);” it started to work again.