Closed vertigone closed 10 months ago
Your code is not updated:
NOTICE: PHP message: PHP Fatal error: Uncaught Error: Undefined constant Symfony\Component\HttpFoundation\Request::HEADER_X_FORWARDED_ALL in /opt/kimai/public/index.php:23
points to /opt/kimai/public/index.php:23
which is not existing, see https://github.com/kimai/kimai/blob/main/public/index.php
Hello
Describe the bug I upgraded docker image kimai/kimai2:fpm-1.0.31-prod to kimai/kimai2:fpm-2.0.26-prod after restart i have the following error:
NOTICE: PHP message: PHP Fatal error: Uncaught Error: Undefined constant Symfony\Component\HttpFoundation\Request::HEADER_X_FORWARDED_ALL in /opt/kimai/public/index.php:23
To Reproduce
Upgrade docker image and use following commands:
docker run --rm -ti -v kimai_public:/public --entrypoint /bin/bash kimai/kimai2 bash-5.0$ cp -r /opt/kimai/public / bash-5.0$ exit me@myhost $ me@myhost $ docker-compose exec kimai /opt/kimai/bin/console assets:install
full log in attachment
Desktop (please complete the following information):
Docker compose file (with passwords redacted)
Additional context Full upgrade log attached
thanks
docker log.txt