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
{{ message }}
This repository was archived by the owner on Apr 17, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 17, 2024. It is now read-only.
Docker for Windows Version 18.06.1-ce-win73 (19507)
When making clean install after successfully run docker-compose build I try docker-compose up and always get:
λ docker-compose up
Starting contenta_docker_php_1 ... done
Starting contenta_docker_database_1 ... done
Starting contenta_docker_nginx_1 ... done
Attaching to contenta_docker_php_1, contenta_docker_database_1, contenta_docker_nginx_1
php_1 | standard_init_linux.go:190: exec user process caused "no such file or directory"
database_1 | standard_init_linux.go:190: exec user process caused "no such file or directory"
nginx_1 | nginx: [emerg] host not found in upstream "php" in /etc/nginx/sites/drupal.conf:62
contenta_docker_database_1 exited with code 1
contenta_docker_php_1 exited with code 1
contenta_docker_nginx_1 exited with code 1
I've found that somebody already introduced fixes for this before, but somehow they are not working for me.
I have the same problem (Docker version: 18.06.1-ce-win73 (19507)):
$ docker-compose up
Creating network "contenta_docker_contenta" with the default driver
Creating volume "contenta_docker_data" with default driver
Creating contenta_docker_database_1 ... done
Creating contenta_docker_php_1 ... done
Creating contenta_docker_nginx_1 ... done
Attaching to contenta_docker_database_1, contenta_docker_php_1, contenta_docker_nginx_1
database_1 | standard_init_linux.go:190: exec user process caused "no such file or directory"
php_1 | standard_init_linux.go:190: exec user process caused "no such file or directory"
nginx_1 | nginx: [emerg] host not found in upstream "php" in /etc/nginx/sites/drupal.conf:62
contenta_docker_database_1 exited with code 1
contenta_docker_php_1 exited with code 1
contenta_docker_nginx_1 exited with code 1
Maybe prune is a bit drastic, but removing the volumes and containers to ensure everything is rebuilt? or --force-recreate in the docker-compose would work as well?
Activity
AntoninSlejska commentedon Sep 25, 2018
I have the same problem (Docker version: 18.06.1-ce-win73 (19507)):
AntoninSlejska commentedon Oct 8, 2018
My colleague Jörg have tried to delete everything:
Then he started from null, but set the Git configuration autoclrf to 'input':
It worked by him. I have tried it as well, and the Contenta CMS works by me now.
pcambra commentedon Oct 8, 2018
Maybe prune is a bit drastic, but removing the volumes and containers to ensure everything is rebuilt? or
--force-recreatein the docker-compose would work as well?AntoninSlejska commentedon Oct 8, 2018
@pcambra I suppose it should be sufficient. The crucial measure, which has to be taken, is: 'git clone ... --config core.autocrlf=input'.
pcambra commentedon Sep 18, 2019
I got why this is failing, this is part of what I mentioned on #21 about making the install more robust.
What was happening is that the php container was failing due composer not being able to run install on a non-empty folder and thus nginx cannot start.
This commit should make it a bit better b45bcd2
It'd be great if someone would confirm this is fixed or we need to keep digging.