Skip to content

Instantly share code, notes, and snippets.

@efischer19
Created January 10, 2018 16:28
Show Gist options
  • Save efischer19/c070575a48ee72fd361bd8e4e08c5231 to your computer and use it in GitHub Desktop.
Save efischer19/c070575a48ee72fd361bd8e4e08c5231 to your computer and use it in GitHub Desktop.
devstack log
DOCKER_COMPOSE_FILES="-f docker-compose.yml -f docker-compose-host.yml" ./provision.sh
+ RED='\033[0;31m'
+ GREEN='\033[0;32m'
+ YELLOW='\033[0;33m'
+ NC='\033[0m'
+ docker-compose up -d mysql mongo
Creating volume "devstack_edxapp_lms_assets" with default driver
Creating volume "devstack_mysql_data" with default driver
Creating volume "devstack_edxapp_studio_assets" with default driver
Creating volume "devstack_discovery_assets" with default driver
Creating volume "devstack_mongo_data" with default driver
Creating volume "devstack_elasticsearch_data" with default driver
Pulling mongo (mongo:3.2.16)...
3.2.16: Pulling from library/mongo
065132d9f705: Pull complete
0804fbd93397: Pull complete
2017979d193f: Pull complete
1d21d92a4177: Pull complete
b63237591b18: Pull complete
c034b34661ee: Pull complete
f9199b5efbcc: Pull complete
42c2318c947c: Pull complete
3155ef795942: Pull complete
5d7ad9295b91: Pull complete
a5c06af7df46: Pull complete
Digest: sha256:6a0061a32c34bc8004ed69c9d9331a0695bda9430e24bea7fb4b331864394d7f
Status: Downloaded newer image for mongo:3.2.16
Pulling mysql (mysql:5.6)...
5.6: Pulling from library/mysql
f49cf87b52c1: Pull complete
78032de49d65: Pull complete
837546b20bc4: Pull complete
9b8316af6cc6: Pull complete
28dd7bab809d: Pull complete
8b95be8b8d36: Pull complete
67ee8c6f60b5: Pull complete
74616d0d8b72: Pull complete
6246d987d47e: Pull complete
66cd90934fab: Pull complete
Digest: sha256:078c9e0486639831d44c18ec8bc545e20ca74419822387c3eab2ea54a8e71515
Status: Downloaded newer image for mysql:5.6
Creating edx.devstack.mongo ...
Creating edx.devstack.mysql ...
Creating edx.devstack.mongo
Creating edx.devstack.mysql ... done
+ echo 'Waiting for MySQL'
Waiting for MySQL
+ docker exec -i edx.devstack.mysql mysql -uroot -se 'SELECT EXISTS(SELECT 1 FROM mysql.user WHERE user = '\''root'\'')'
+ printf .
.+ sleep 1
+ docker exec -i edx.devstack.mysql mysql -uroot -se 'SELECT EXISTS(SELECT 1 FROM mysql.user WHERE user = '\''root'\'')'
+ printf .
.+ sleep 1
+ docker exec -i edx.devstack.mysql mysql -uroot -se 'SELECT EXISTS(SELECT 1 FROM mysql.user WHERE user = '\''root'\'')'
+ printf .
.+ sleep 1
+ docker exec -i edx.devstack.mysql mysql -uroot -se 'SELECT EXISTS(SELECT 1 FROM mysql.user WHERE user = '\''root'\'')'
+ printf .
.+ sleep 1
+ docker exec -i edx.devstack.mysql mysql -uroot -se 'SELECT EXISTS(SELECT 1 FROM mysql.user WHERE user = '\''root'\'')'
+ printf .
.+ sleep 1
+ docker exec -i edx.devstack.mysql mysql -uroot -se 'SELECT EXISTS(SELECT 1 FROM mysql.user WHERE user = '\''root'\'')'
+ sleep 20
+ echo -e 'MySQL ready'
MySQL ready
+ echo -e '\033[0;32mCreating databases and users...\033[0m'
Creating databases and users...
+ docker exec -i edx.devstack.mysql mysql -uroot mysql
+ docker exec -i edx.devstack.mongo mongo
MongoDB shell version: 3.2.16
connecting to: test
connection to 127.0.0.1
[
{
"user" : "admin",
"pwd" : "password",
"roles" : [
"root"
],
"database" : "admin"
},
{
"user" : "cs_comments_service",
"pwd" : "password",
"roles" : [
"readWrite"
],
"database" : "cs_comments_service"
},
{
"user" : "edxapp",
"pwd" : "password",
"roles" : [
"readWrite"
],
"database" : "edxapp"
}
]
Successfully added user: { "user" : "admin", "roles" : [ "root" ] }
Successfully added user: { "user" : "cs_comments_service", "roles" : [ "readWrite" ] }
Successfully added user: { "user" : "edxapp", "roles" : [ "readWrite" ] }
bye
+ ./provision-lms.sh
++ apps=(lms studio)
++ ./load-db.sh edxapp
Loading the edxapp database...
Finished loading the edxapp database!
++ ./load-db.sh edxapp_csmh
Loading the edxapp_csmh database...
Finished loading the edxapp_csmh database!
++ for app in '"${apps[@]}"'
++ docker-compose -f docker-compose.yml -f docker-compose-host.yml up -d lms
Pulling memcached (memcached:1.4.24)...
1.4.24: Pulling from library/memcached
237d5fcd25cf: Pull complete
a3ed95caeb02: Pull complete
f3eaad33e4d2: Pull complete
49f69ecbc693: Pull complete
9e62aa1ed4f0: Pull complete
31342a34ef9f: Pull complete
Digest: sha256:a23496a073d3fef620815f8a9224afb6162b7c7213e4faaf05a051c74f157605
Status: Downloaded newer image for memcached:1.4.24
Pulling lms (edxops/edxapp:latest)...
latest: Pulling from edxops/edxapp
e0a742c2abfd: Pull complete
486cb8339a27: Pull complete
dc6f0d824617: Pull complete
4f7a5649a30e: Pull complete
672363445ad2: Pull complete
5a47c66c8a15: Pull complete
835fbb517ab5: Pull complete
1e0c8fcef297: Pull complete
b282d1aed52a: Pull complete
6c9166a2104c: Pull complete
a75bef654325: Pull complete
1520587acdc7: Pull complete
7ea41fae1dcd: Pull complete
ec8cab38d104: Pull complete
Digest: sha256:3ad2dbbf75a985422a4d8cc34a9defc075b9932f32e912d48c1ee476c0226ef2
Status: Downloaded newer image for edxops/edxapp:latest
edx.devstack.mongo is up-to-date
edx.devstack.mysql is up-to-date
Creating edx.devstack.memcached ...
Creating edx.devstack.memcached ... done
Creating edx.devstack.lms ...
Creating edx.devstack.lms ... done
++ for app in '"${apps[@]}"'
++ docker-compose -f docker-compose.yml -f docker-compose-host.yml up -d studio
edx.devstack.memcached is up-to-date
edx.devstack.mongo is up-to-date
edx.devstack.mysql is up-to-date
Creating edx.devstack.studio ...
Creating edx.devstack.studio ... done
++ docker-compose exec lms bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform && NO_PYTHON_UNINSTALL=1 paver install_prereqs'
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_node_prereqs
test `npm config get registry` = "https://registry.npmjs.org/" || (echo setting registry; npm config set registry https://registry.npmjs.org/)
npm install
npm WARN deprecated [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN [email protected] requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of eslint@^2.9.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of selenium-webdriver@^2.44.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! path /edx/app/edxapp/edx-platform/node_modules/requirejs/bin/r.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/edx/app/edxapp/edx-platform/node_modules/requirejs/bin/r.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-01-10T16_26_46_126Z-debug.log
Captured Task Output:
---------------------
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_node_prereqs
test `npm config get registry` = "https://registry.npmjs.org/" || (echo setting registry; npm config set registry https://registry.npmjs.org/)
npm install
Build failed running pavelib.prereqs.install_prereqs: Subprocess return code: 254
make: *** [dev.provision.run] Error 1
ericfischer@dhcp-18-189-16-95:~/work/devstack$ make lms-shell
docker exec -it edx.devstack.lms env TERM=xterm-256color /edx/app/edxapp/devstack.sh open
root@e854a39c5ece:/edx/app/edxapp/edx-platform# npm -v
5.5.1
root@e854a39c5ece:/edx/app/edxapp/edx-platform# node -v
v8.9.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment