Created
September 12, 2014 19:01
-
-
Save singingwolfboy/b8d6e68ed337a21b7688 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: VirtualBox VM is already running. | |
==> default: Checking for host entries | |
db ~/fullstack mastodon | |
% vagrant ssh | |
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
New release '14.04.1 LTS' available. | |
Run 'do-release-upgrade' to upgrade to it. | |
******************************************************************* | |
* _ __ __ * | |
* _ _| |\ \/ / This system is for the use of authorized * | |
* / -_) _` | > < users only. Usage of this system may be * | |
* \___\__,_|/_/\_\ monitored and recorded by system personnel. * | |
* * | |
* Anyone using this system expressly consents to such monitoring * | |
* and is advised that if such monitoring reveals possible * | |
* evidence of criminal activity, system personnel may provide the * | |
* evidence from such monitoring to law enforcement officials. * | |
* * | |
******************************************************************* | |
Last login: Thu Sep 11 18:17:50 2014 from 10.0.2.2 | |
vagrant@precise64:~$ /edx/bin/update | |
ERROR: You must specify a repo and commit | |
Usage: update <repo> <version> | |
-v add verbosity to edx_ansible run | |
-h this | |
<repo> - must be one of edx-platform, xqueue, cs_comments_service, xserver, ease, edx-ora, configuration, read-only-certificate-code edx-analytics-data-api | |
<version> - can be a commit or tag | |
vagrant@precise64:~$ /edx/bin/update edx-platform openedx/rc/aspen-2014-09-10 | |
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.020487", "end": "2014-09-12 18:57:12.481519", "item": "", "rc": 1, "start": "2014-09-12 18:57:12.461032"} | |
...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] ***************************************** | |
failed: [localhost] => {"changed": true, "cmd": "npm config set registry 'http://registry.npmjs.org' ", "delta": "0:00:00.873342", "end": "2014-09-12 18:57:16.989347", "item": "", "rc": 50, "start": "2014-09-12 18:57:16.116005"} | |
stderr: npm ERR! Error: EPERM, chown '/edx/app/edxapp/.npmrc' | |
npm ERR! { [Error: EPERM, chown '/edx/app/edxapp/.npmrc'] errno: 50, code: 'EPERM', path: '/edx/app/edxapp/.npmrc' } | |
npm ERR! | |
npm ERR! Please try running this command again as root/Administrator. | |
npm ERR! System Linux 3.2.0-23-generic | |
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "config" "set" "registry" "http://registry.npmjs.org" | |
npm ERR! cwd /edx/app/edx_ansible/edx_ansible/playbooks/edx-east | |
npm ERR! node -v v0.10.31 | |
npm ERR! npm -v 1.4.23 | |
npm ERR! path /edx/app/edxapp/.npmrc | |
npm ERR! code EPERM | |
npm ERR! errno 50 | |
npm ERR! stack Error: EPERM, chown '/edx/app/edxapp/.npmrc' | |
npm ERR! Error: EACCES, open 'npm-debug.log' | |
npm ERR! { [Error: EACCES, open 'npm-debug.log'] errno: 3, code: 'EACCES', path: 'npm-debug.log' } | |
npm ERR! | |
npm ERR! Please try running this command again as root/Administrator. | |
npm ERR! System Linux 3.2.0-23-generic | |
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "config" "set" "registry" "http://registry.npmjs.org" | |
npm ERR! cwd /edx/app/edx_ansible/edx_ansible/playbooks/edx-east | |
npm ERR! node -v v0.10.31 | |
npm ERR! npm -v 1.4.23 | |
npm ERR! path npm-debug.log | |
npm ERR! code EACCES | |
npm ERR! errno 3 | |
npm ERR! stack Error: EACCES, open 'npm-debug.log' | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /edx/app/edx_ansible/edx_ansible/playbooks/edx-east/npm-debug.log | |
npm ERR! not ok code 0 | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/home/vagrant/edxapp.retry | |
localhost : ok=14 changed=8 unreachable=0 failed=1 | |
vagrant@precise64:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment