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

Error when installing Docker #2

Open
jtrillos opened this issue Aug 28, 2017 · 0 comments
Open

Error when installing Docker #2

jtrillos opened this issue Aug 28, 2017 · 0 comments

Comments

@jtrillos
Copy link

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

  • Starting MySQL database server mysqld
    [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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant