There was some error in starting services_global-nginx-proxy_1 container

When creating a site the error occurs: Error: There was some error in starting services_global-nginx-proxy_1 container. Please check logs.

follows the error log:

[03-03-2019 23:49:37] ee.INFO: ::::::::::::::::::::::::ee invoked::::::::::::::::::::::::

COMMAND: docker ps > /dev/null
RETURN CODE: 0


COMMAND: command -v docker-compose > /dev/null
RETURN CODE: 0

Using default global config: /opt/easyengine/config/config.yml
No project config found
argv: /usr/local/bin/ee site create mysite.com.br --type=php --ssl=le
Running command: site
COMMAND: which docker
RETURN CODE: 0

COMMAND: docker inspect -f ‘{{.State.Running}}’ services_global-nginx-proxy_1
STDOUT: false
RETURN CODE: 0


COMMAND: docker network inspect ee-global-backend-network
STDOUT: [ { “Name”: “ee-global-backend-network”, “Id”: “0c3186f4ae3f4e5f9d47416a73719cb4361136253ec0aa18bb445b65d48b44fc”, “Created”: “2018-11-29T21:30:02.357309234Z”, “Scope”: “local”, “Driver”: “bridge”, “EnableIPv6”: false, “IPAM”: { “Driver”: “default”, “Options”: {}, “Config”: [ { “Subnet”: “172.18.0.0/16”, “Gateway”: “172.18.0.1” } ] }, “Internal”: false, “Attachable”: false, “Ingress”: false, “ConfigFrom”: { “Network”: “” }, “ConfigOnly”: false, “Containers”: {}, “Options”: {}, “Labels”: { “org.label-schema.vendor”: “EasyEngine” } } ]
RETURN CODE: 0


COMMAND: docker network inspect ee-global-frontend-network
STDOUT: [ { “Name”: “ee-global-frontend-network”, “Id”: “a7143232caf8f7d45d32591e1c859fd70544cf2fcdf17c2b13269147f12dd403”, “Created”: “2018-11-29T21:30:02.66337447Z”, “Scope”: “local”, “Driver”: “bridge”, “EnableIPv6”: false, “IPAM”: { “Driver”: “default”, “Options”: {}, “Config”: [ { “Subnet”: “172.19.0.0/16”, “Gateway”: “172.19.0.1” } ] }, “Internal”: false, “Attachable”: false, “Ingress”: false, “ConfigFrom”: { “Network”: “” }, “ConfigOnly”: false, “Containers”: {}, “Options”: {}, “Labels”: { “org.label-schema.vendor”: “EasyEngine” } } ]
RETURN CODE: 0


COMMAND: docker-compose up -d global-nginx-proxy
STDERR: Starting services_global-nginx-proxy_1 
 e[1Ae[2K Starting services_global-nginx-proxy_1 
 e[31merrore[0m e[1B ERROR: for services_global-nginx-proxy_1 Cannot start service global-nginx-proxy: OCI runtime create failed: container_linux.go:348: starting container process caused “process_linux.go:297: copying bootstrap data to pipe caused “write init-p: broken pipe””: unknown ERROR: for global-nginx-proxy Cannot start service global-nginx-proxy: OCI runtime create failed: container_linux.go:348: starting container process caused “process_linux.go:297: copying bootstrap data to pipe caused “write init-p: broken pipe””: unknown Encountered errors while bringing up the project.
RETURN CODE: 1

ee.ERROR: There was some error in starting services_global-nginx-proxy_1 container. Please check logs.

Does anyone know how to solve

Now, Mr. Rajdeep_Sharma just come to close this topic!
This community has become a bin with only questions and no help.
I keep tracking questions to find someone closing the topic!

1 Like

This issue is not caused by EasyEngine. It seems like an issue with Docker. Please check this GitHub issue. https://github.com/docker/for-linux/issues/591

You might need to upgrade the Linux Kernel and/or the Docker package.

1 Like

Thank you very much!

I have same problem and i fixed by reinstall docker compose with command
sudo curl -L “https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose

More in link: https://docs.docker.com/compose/install/
It’s worked.

1 Like

Thanks! This saved me a lot of time. During regular install, the docker install regularly fails (at least, for the last couple of days, caused by slow transfer speeds). EE continues installing without warning and you obviously can’t install sites as a result.

Small correction on the command:
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

(different quotes
)

(Note: sorry for the wrong domain-names. The forum does not allow more than 2 links)

The topic might be a year old, but had the same issue and couldn’t solve the problem. After 2 days of testing, reading logs, searching for solutions. Then came across MAC support steps. This gave me another idea to test, and here are the steps.

ee site up
ee service restart nginx-proxy
No containers to restart
Success: Service global-nginx-proxy restarted.
ee site create www,example,com --wp --cache
Error: There was some error in starting services_global-nginx-proxy_1 container. Please check logs.
ee service enable db
Success: Service global-db enabled.
ee site create www,example,com --wp --cache
Error: There was some error in starting services_global-nginx-proxy_1 container. Please check logs.
cd /opt/easyengine/services
docker-compose down
Network ee-global-frontend-network is external, skipping
Network ee-global-backend-network is external, skipping
docker-compose up -d
ERROR: Volume global-nginx-proxy_htpasswd declared as external, but could not be found.
docker volume create --name=global-nginx-proxy_htpasswd
global-nginx-proxy_htpasswd
docker volume create --name=global-nginx-proxy_vhostd
global-nginx-proxy_vhostd
docker volume create --name=global-nginx-proxy_html
global-nginx-proxy_html
docker volume create --name=global-nginx-proxy_nginx_proxy_logs
global-nginx-proxy_nginx_proxy_logs
docker volume create --name=global-db_db_data
global-db_db_data
docker volume create --name=global-db_db_conf
global-db_db_conf
docker volume create --name=global-db_db_logs
global-db_db_logs
docker volume create --name=global-redis_redis_data
global-redis_redis_data
docker volume create --name=global-redis_redis_conf
global-redis_redis_conf
docker volume create --name=global-redis_redis_logs
global-redis_redis_logs
docker volume create --name=global-newrelic-daemon_newrelic_sock
global-newrelic-daemon_newrelic_sock
docker-compose up -d
Pulling global-newrelic-daemon (easyengine/newrelic-daemon:v4.0.0)

v4.0.0: Pulling from easyengine/newrelic-daemon
cd784148e348: Pull complete
e2cf9a92c0c0: Pull complete
Digest: sha256:XXXXXXXa511807af13716833eaaaad
Status: Downloaded newer image for easyengine/newrelic-daemon:v4.0.0
Creating services_global-newrelic-daemon_1 
 done
Creating services_global-redis_1 
 done
Creating services_global-nginx-proxy_1 
 done
Creating services_global-db_1 
 done

(NOTE: took the short version without the letsencrypt:
FULL line is: ee site create www,example,com --wp --cache --le-mail=youremail@comeshere,com --letsencrypt)

ee site create www,example,com --wp --cache
Configuring project.
Creating WordPress site www,example,com
Copying configuration files.
Starting site’s services.
Downloading and configuring WordPress.
Moved /var/www/htdocs/wp-config.php to /var/www/wp-config.php successfully
Host entry already exists.
Checking and verifying site-up status. This may take some time.

Installing WordPress site.
Success: **http://www,example,com** has been created successfully!
Site entry created.
Creating cron entry
Success: Cron created successfully

±-------------------±---------------------------------------+
| Site | http://www,example,com |
±-------------------±---------------------------------------+
| Site Root | /opt/easyengine/sites/www,example,com |
±-------------------±---------------------------------------+
| Site Title | www,example,com |
±-------------------±---------------------------------------+
| WordPress Username | wizardly-mendel |
±-------------------±---------------------------------------+
| WordPress Password | JkoCjXXXXp2N |
±-------------------±---------------------------------------+
| DB Host | global-db |
±-------------------±---------------------------------------+
| DB Name | www_example_com |
±-------------------±---------------------------------------+
| DB User | www.example_com-hcgFRf |
±-------------------±---------------------------------------+
| DB Password | Zv6vXXXXtml0 |
±-------------------±---------------------------------------+
| E-Mail | admin@www,example,com |
±-------------------±---------------------------------------+
| SSL | Not Enabled |
±-------------------±---------------------------------------+
| Cache | Enabled |
±-------------------±---------------------------------------+