we would like to update to the current kanboard version, but unfortunately we can’t get any further because the “Moon” plugin throws an error. The following error is displayed:
Warning: filemtime(): stat failed for C:\Program Files\xampp\htdocs\kanboard/assets/css/app.min.css in C:\Program Files\xampp\htdocs\kanboard\app\Helper\AssetHelper.php on line 41
Is there a solution for this? Or an idea how we can fix this?
We have kanboard in version 1.2.30 and Moon in version 1.4.6 and finally wanted to update. So if we change “app.min.css” to e.g. dark.min.css could the update perhaps work?
We have now solved it as follows with your advice:
– updated all plugins
– update from 1.2.30 to 1.2.36
– error after update incl. troubleshooting => Moon plugin was probably the trigger
– created an empty file with the name “auto.min.css”
– small adjustments made using customiser (logo etc.)
– seems to work like this
This is not what I told you to do. Where did you create this file?
I strongly doubt that this is a real solution. If one of your users selects Auto under his theme settings, he will definitely be out of luck.
The missing file was app.min.css, which is missing in newer Kanboard versions. But auto.min.css is present and required!
Thank you very much for the helpful tips. Unfortunately, we now have more errors, such as
Warning: md5_file(C:\Program Files\xampp\htdocs\kanboard\data\files/tasks\805\fd9e71ba4901e1138fdb69cb879674ecdb7d77aa): Failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\kanboard\plugins\Task2pdf\vendor\dompdf\dompdf\lib\Cpdf.php on line 2944
Warning: fopen(C:\Program Files\xampp\htdocs\kanboard\data\files/tasks\805\fd9e71ba4901e1138fdb69cb879674ecdb7d77aa): Failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\kanboard\plugins\Task2pdf\vendor\dompdf\dompdf\lib\Cpdf.php on line 2945
Fatal error: Uncaught TypeError: fread(): Argument #1 ($stream) must be of type resource, bool given in C:\Program Files\xampp\htdocs\kanboard\plugins\Task2pdf\vendor\dompdf\dompdf\lib\Cpdf.php:2949 Stack trace: #0 C:\Program Files\xampp\htdocs\kanboard\plugins\Task2pdf\vendor\dompdf\dompdf\lib\Cpdf.php(2949): fread(false, 8192) #1 C:\Program Files\xampp\htdocs\kanboard\plugins\Task2pdf\vendor\dompdf\dompdf\lib\Cpdf.php(3212): Dompdf\Cpdf->o_embedded_file(202, ‘out’) #2 C:\Program Files\xampp\htdocs\kanboard\plugins\Task2pdf\vendor\dompdf\dompdf\src\Adapter\CPDF.php(912): Dompdf\Cpdf->output(false) #3 C:\Program Files\xampp\htdocs\kanboard\plugins\Task2pdf\vendor\dompdf\dompdf\src\Dompdf.php(869): Dompdf\Adapter\CPDF->stream(‘2_XWiki Wissens…’, Array) #4 C:\Program Files\xampp\htdocs\kanboard\plugins\Task2pdf\Controller\PrintTaskController.php(264): Dompdf\Dompdf->stream(‘2_XWiki Wissens…’) #5 C:\Program Files\xampp\htdocs\kanboard\plugins\Task2pdf\Controller\PrintTaskController.php(102): Kanboard\Plugin\Task2pdf\Controller\PrintTaskController->printProject(Array, Array) #6 C:\Program Files\xampp\htdocs\kanboard\app\Core\Controller\Runner.php(77): Kanboard\Plugin\Task2pdf\Controller\PrintTaskController->printProjectAll() #7 C:\Program Files\xampp\htdocs\kanboard\app\Core\Controller\Runner.php(31): Kanboard\Core\Controller\Runner->executeController() #8 C:\Program Files\xampp\htdocs\kanboard\index.php(9): Kanboard\Core\Controller\Runner->execute() #9 {main} thrown in C:\Program Files\xampp\htdocs\kanboard\plugins\Task2pdf\vendor\dompdf\dompdf\lib\Cpdf.php on line 2949