diff options
| author | Ratchanan Srirattanamet <peathot@hotmail.com> | 2025-01-07 20:18:03 +0000 |
|---|---|---|
| committer | Ratchanan Srirattanamet <peathot@hotmail.com> | 2025-01-07 20:55:46 +0000 |
| commit | be185a3fae48b8201ca1ab790678358dbde23217 (patch) | |
| tree | 76cba2a4f4be4e9050b025db751d5ded5700f899 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | ed8af6b426c0a90b0bf1ea96973153a491d3f181 (diff) | |
nixos/kimai: fix an error on first init after an upgrade
Prevent 'kimai:install' console command from both clearing and warming
cache in one go. Instead, run 'cache:clear' and 'cache:warmup'
separately. This seems fix the following error which appears on the
first init after an upgrade:
Fatal error: Cannot declare class App\Entity\Timesheet, because the name
is already in use in /nix/store/<...>/share/php/kimai/src/Entity/
Timesheet.php on line 50
23:42:49 CRITICAL [php] Fatal Compile Error: Cannot declare class
App\Entity\Timesheet, because the name is already in use ["exception"
=> Symfony\Component\ErrorHandler\Error\FatalError { …}] ["channel" =>
"php"]
In Timesheet.php line 50:
Compile Error: Cannot declare class App\Entity\Timesheet, because the
name is already in use
kimai:install [--no-cache]
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
