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 I tried to install the docker, in the step 54 failed (see below). I tried to debug the docker and it seems that there is a problem with the command '/bin/sh -c service mysql start' returned a non-zero code: 1. How can I solve this?
Step 54/57 : RUN nohup /elasticsearch/bin/elasticsearch & service mysql start && python3 /LinDAWorkbench/linda/manage.py makemigrations && mysql -u root -e "CREATE DATABASE linda CHARACTER SET utf8 COLLATE utf8_general_ci;" && python3 /LinDAWorkbench/linda/manage.py migrate && echo "from django.contrib.auth.models import User; User.objects.create_superuser('admin', '[email protected]', 'pass')" | python3 /LinDAWorkbench/linda/manage.py shell && python3 /LinDAWorkbench/linda/manage.py loaddata /LinDAWorkbench/linda/linda_app/installer/data/vocabularies.json
---> Running in a5944f20678d
When I tried to install the docker, in the step 54 failed (see below). I tried to debug the docker and it seems that there is a problem with the command '/bin/sh -c service mysql start' returned a non-zero code: 1. How can I solve this?
Step 54/57 : RUN nohup /elasticsearch/bin/elasticsearch & service mysql start && python3 /LinDAWorkbench/linda/manage.py makemigrations && mysql -u root -e "CREATE DATABASE linda CHARACTER SET utf8 COLLATE utf8_general_ci;" && python3 /LinDAWorkbench/linda/manage.py migrate && echo "from django.contrib.auth.models import User; User.objects.create_superuser('admin', '[email protected]', 'pass')" | python3 /LinDAWorkbench/linda/manage.py shell && python3 /LinDAWorkbench/linda/manage.py loaddata /LinDAWorkbench/linda/linda_app/installer/data/vocabularies.json
---> Running in a5944f20678d
[2017-08-28 10:33:49,104][INFO ][node ] [Samuel Smithers] version[1.5.0], pid[7], build[5448160/2015-03-23T14:30:58Z]
[2017-08-28 10:33:49,104][INFO ][node ] [Samuel Smithers] initializing ...
[2017-08-28 10:33:49,107][INFO ][plugins ] [Samuel Smithers] loaded [], sites []
[2017-08-28 10:33:50,951][INFO ][node ] [Samuel Smithers] initialized
[2017-08-28 10:33:50,951][INFO ][node ] [Samuel Smithers] starting ...
[2017-08-28 10:33:51,064][INFO ][transport ] [Samuel Smithers] bound_address {inet[/0.0.0.0:9300]}, publish_address {inet[/172.17.0.3:9300]}
[2017-08-28 10:33:51,074][INFO ][discovery ] [Samuel Smithers] elasticsearch/6b16dyYYSoaiIlTJo7f-zw
[2017-08-28 10:33:54,121][INFO ][cluster.service ] [Samuel Smithers] detected_master [Growing Man][PLSauKm1QxyTJ2tFEEmnIg][025d9c67e8ed][inet[/172.17.0.2:9300]], added {[Growing Man][PLSauKm1QxyTJ2tFEEmnIg][025d9c67e8ed][inet[/172.17.0.2:9300]],}, reason: zen-disco-receive(from master [[Growing Man][PLSauKm1QxyTJ2tFEEmnIg][025d9c67e8ed][inet[/172.17.0.2:9300]]])
[2017-08-28 10:33:54,221][INFO ][http ] [Samuel Smithers] bound_address {inet[/0.0.0.0:9200]}, publish_address {inet[/172.17.0.3:9200]}
[2017-08-28 10:33:54,221][INFO ][node ] [Samuel Smithers] started
...fail!
The command '/bin/sh -c nohup /elasticsearch/bin/elasticsearch & service mysql start && python3 /LinDAWorkbench/linda/manage.py makemigrations && mysql -u root -e "CREATE DATABASE linda CHARACTER SET utf8 COLLATE utf8_general_ci;" && python3 /LinDAWorkbench/linda/manage.py migrate && echo "from django.contrib.auth.models import User; User.objects.create_superuser('admin', '[email protected]', 'pass')" | python3 /LinDAWorkbench/linda/manage.py shell && python3 /LinDAWorkbench/linda/manage.py loaddata /LinDAWorkbench/linda/linda_app/installer/data/vocabularies.json' returned a non-zero code: 1
The text was updated successfully, but these errors were encountered: