Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Updating edx-platform error
root@EVBYMINSD4C73:/# sudo /edx/bin/update edx-platform master
/edx/app/edx_ansible/venvs/edx_ansible/bin/python: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by /edx/app/edx_ansible/venvs/edx_ansible/bin/python)
/edx/app/edx_ansible/venvs/edx_ansible/bin/python: /usr/local/lib/libssl.so.1.0.0: no version information available (required by /edx/app/edx_ansible/venvs/edx_ansible/bin/python)
[WARNING]: It is unneccessary to use '{{' in loops, leave variables in loop
expressions bare.
PLAY [Deploy edxapp] **********************************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
TASK: [nltk | create the nltk data directory and subdirectories] **************
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'})
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'})
TASK: [nltk | download nltk data] *********************************************
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'})
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'})
TASK: [nltk | unarchive nltk data] ********************************************
skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'})
skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'})
TASK: [edxapp | setup the edxapp env] *****************************************
changed: [localhost]
TASK: [edxapp | create ssh script for git (not authenticated)] ****************
changed: [localhost]
TASK: [edxapp | create ssh script for git (authenticated)] ********************
skipping: [localhost]
TASK: [edxapp | install read-only ssh key] ************************************
skipping: [localhost]
TASK: [edxapp | checkout edx-platform repo into {{edxapp_code_dir}}] **********
changed: [localhost]
TASK: [edxapp | git clean after checking out edx-platform] ********************
changed: [localhost]
TASK: [edxapp | checkout theme] ***********************************************
skipping: [localhost]
TASK: [edxapp | create checksum for requirements, package.json and Gemfile] ***
failed: [localhost] => {"changed": true, "cmd": "/usr/bin/md5sum /edx/app/edxapp/edx-platform/requirements/edx/pre.txt /edx/app/edxapp/edx-platform/requirements/edx/post.txt /edx/app/edxapp/edx-platform/requirements/edx/base.txt /edx/app/edxapp/edx-platform/requirements/edx/custom.txt /edx/app/edxapp/edx-platform/requirements/edx/paver.txt /edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt 2>/dev/null > /var/tmp/edxapp.req.new ", "delta": "0:00:00.022956", "end": "2014-11-13 18:00:56.212011", "item": "", "rc": 1, "start": "2014-11-13 18:00:56.189055"}
...ignoring
TASK: [edxapp | stat path=/var/tmp/edxapp.req.new] ****************************
ok: [localhost]
TASK: [edxapp | stat path=/var/tmp/edxapp.req.installed] **********************
ok: [localhost]
TASK: [edxapp | Updating requirement files for git mirror] ********************
changed: [localhost]
TASK: [edxapp | gem install bundler] ******************************************
changed: [localhost]
TASK: [edxapp | bundle install] ***********************************************
changed: [localhost]
TASK: [edxapp | Set the npm registry] *****************************************
changed: [localhost]
TASK: [edxapp | Set the npm registry permissions] *****************************
ok: [localhost]
TASK: [edxapp | Install edx-platform npm dependencies] ************************
changed: [localhost]
TASK: [edxapp | install python pre-requirements] ******************************
ok: [localhost]
TASK: [edxapp | install python base-requirements] *****************************
changed: [localhost]
TASK: [edxapp | install python post-requirements] *****************************
ok: [localhost]
TASK: [edxapp | install python paver-requirements] ****************************
changed: [localhost]
TASK: [edxapp | stat path="{{custom_requirements_file}}"] *********************
ok: [localhost]
TASK: [edxapp | install python custom-requirements] ***************************
skipping: [localhost]
TASK: [edxapp | install python post-post requirements] ************************
changed: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/github.txt)
changed: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/local.txt)
TASK: [edxapp | install python private requirements] **************************
skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt)
TASK: [edxapp | install CAS attribute module] *********************************
skipping: [localhost]
TASK: [edxapp | install sandbox requirements into regular venv] ***************
skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt)
skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt)
TASK: [edxapp | code sandbox | put sandbox apparmor profile in complain mode] ***
changed: [localhost]
TASK: [edxapp | code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
ok: [localhost]
TASK: [edxapp | code sandbox | Install sandbox requirements into sandbox venv] ***
ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt)
ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt)
TASK: [edxapp | code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
changed: [localhost]
TASK: [edxapp | compiling all py files in the edx-platform repo] **************
changed: [localhost]
TASK: [edxapp | give other read permissions to the virtualenv] ****************
changed: [localhost]
TASK: [edxapp | create checksum for installed requirements] *******************
changed: [localhost]
TASK: [edxapp | openid workaround] ********************************************
skipping: [localhost]
TASK: [edxapp | get s3 one time url] ******************************************
skipping: [localhost]
TASK: [edxapp | download from one time url] ***********************************
skipping: [localhost]
TASK: [edxapp | unzip the data to the data dir] *******************************
skipping: [localhost]
TASK: [edxapp | make the course data web user writable] ***********************
changed: [localhost]
TASK: [edxapp | create application config] ***********************************
changed: [localhost] => (item=lms)
changed: [localhost] => (item=cms)
TASK: [edxapp | create auth file] ********************************************
changed: [localhost] => (item=lms)
changed: [localhost] => (item=cms)
TASK: [edxapp | writing supervisor script] ***********************************
ok: [localhost] => (item=lms)
ok: [localhost] => (item=cms)
TASK: [edxapp | writing edxapp supervisor script] *****************************
ok: [localhost]
TASK: [edxapp | writing celery worker supervisor script] **********************
ok: [localhost]
TASK: [edxapp | enable supervisor script] ************************************
ok: [localhost] => (item=lms)
ok: [localhost] => (item=cms)
TASK: [edxapp | enable edxapp supervisor script] ******************************
ok: [localhost]
TASK: [edxapp | enable celery worker supervisor script] ***********************
skipping: [localhost]
TASK: [edxapp | syncdb and migrate] *******************************************
skipping: [localhost] => (item=lms)
skipping: [localhost] => (item=cms)
TASK: [edxapp | gather static assets with paver] *****************************
failed: [localhost] => (item=lms) => {"changed": true, "cmd": "SERVICE_VARIANT=lms paver update_assets lms --settings=aws ", "delta": "0:00:04.470380", "end": "2014-11-13 18:05:48.931215", "item": "lms", "rc": 1, "start": "2014-11-13 18:05:44.460835"}
stderr: /edx/app/edxapp/venvs/edxapp/bin/python: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by /edx/app/edxapp/venvs/edxapp/bin/python)
/edx/app/edxapp/venvs/edxapp/bin/python: /usr/local/lib/libssl.so.1.0.0: no version information available (required by /edx/app/edxapp/venvs/edxapp/bin/python)
python: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by python)
python: /usr/local/lib/libssl.so.1.0.0: no version information available (required by python)
Traceback (most recent call last):
File "manage.py", line 112, in <module>
startup.run()
File "/edx/app/edxapp/edx-platform/lms/startup.py", line 25, in run
autostartup()
File "/edx/app/edxapp/edx-platform/common/lib/django_startup.py", line 16, in autostartup
mod = import_module(app + '.startup')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/edx/app/edxapp/edx-platform/common/djangoapps/static_replace/__init__.py", line 8, in <module>
from xmodule.modulestore.django import modulestore
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/django.py", line 24, in <module>
import xblock.reference.plugins
File "/edx/app/edxapp/venvs/edxapp/src/xblock/xblock/reference/plugins.py", line 10, in <module>
from djpyfs import djpyfs
File "/edx/app/edxapp/venvs/edxapp/src/djpyfs/djpyfs/djpyfs.py", line 31, in <module>
if djfs_settings['type'] == 'osfs':
TypeError: 'NoneType' object has no attribute '__getitem__'
stdout: ---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
python manage.py lms --settings=aws preprocess_assets
Captured Task Output:
---------------------
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
python manage.py lms --settings=aws preprocess_assets
Build failed running pavelib.assets.update_assets: Subprocess return code: 1
changed: [localhost] => (item=cms)
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/edxapp.retry
localhost : ok=41 changed=21 unreachable=0 failed=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.