Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose returns an error 500 #1039

Closed
alexislefebvre opened this issue Jan 20, 2018 · 0 comments · Fixed by #1057
Closed

docker-compose returns an error 500 #1039

alexislefebvre opened this issue Jan 20, 2018 · 0 comments · Fixed by #1057
Assignees
Labels

Comments

@alexislefebvre
Copy link
Member

alexislefebvre commented Jan 20, 2018

Description

I followed the docker-compose documentation: https://github.com/Victoire/victoire/blob/2.3/.docker/README.md

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"

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:

Related to

Bundle -- -- --
Analytics Page
Blog Query
BusinessEntity Seo
BusinessPage Sitemap
Core Template
Criteria Twig
Filter User
Form ViewReference
I18n Widget
Media WidgetMap
UI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant