You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When launching the docker-compose (added in #717), the server returns an error 500 when I go to http://localhost:8000/
Here is the error:
2018/01/20 20:41:19 [error] 6#6: *5 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Return value of Doctrine\Common\Annotations\AnnotationRegistry::registerLoader() must be an instance of Doctrine\Common\Annotations\void, none returned in /var/www/victoire/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php:117
And I also had this error after I deleted vendor/:
2018/01/21 17:01:14 [error] 7#7: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught RuntimeException: File /var/www/victoire/Tests/App/app/../../../vendor/autoload.php not found. Did you install the dependencies ? in /var/www/victoire/Tests/App/app/autoload.php:6
Stack trace:
#0 /var/www/victoire/Tests/App/app/AppKernel.php(6): require_once() #1 /var/www/victoire/Tests/App/web/app_docker.php(6): require_once('/var/www/victoi...') #2 {main}
thrown in /var/www/victoire/Tests/App/app/autoload.php on line 6" while reading response header from upstream, client: 172.17.0.1, server: , request: "GET /app_ci.php/_profiler/empty/search/results?limit=10 HTTP/1.1", upstream: "fastcgi://172.17.0.7:9000", host: "localhost:8000"
Description
I followed the
docker-compose
documentation: https://github.com/Victoire/victoire/blob/2.3/.docker/README.mdWhen launching the
docker-compose
(added in #717), the server returns an error 500 when I go to http://localhost:8000/Here is the error:
And I also had this error after I deleted
vendor/
:It looks like the build script
.docker/php-fpm/build.sh
is never launched.Resolution Ideas
Fix launch of
.docker/php-fpm/build.sh
.Update version of packages:
composer/composer
is deprecated: https://hub.docker.com/r/composer/composer/Related to
The text was updated successfully, but these errors were encountered: