···322322323323 # Run kimai:install to ensure database is created or updated.
324324 # Note that kimai:update is an alias to kimai:install.
325325- ${pkg hostName cfg}/bin/console kimai:install
325325+ ${pkg hostName cfg}/bin/console kimai:install --no-cache
326326+ # Clear cache and warmup cache separately, to avoid "Cannot declare
327327+ # class App\Entity\Timesheet" error on first init after upgrade.
328328+ ${pkg hostName cfg}/bin/console cache:clear --env=prod
329329+ ${pkg hostName cfg}/bin/console cache:warmup --env=prod
326330 '';
327331328332 serviceConfig = {