Open edX

Documentation du RÉCIT MST

https://open.edx.org/

http://campus.recit.org

http://studio.recit.org/

Table des matière

Faire

Liens

Gérer Open edX

Créer admin http://blogs.infinitesquares.net/customizing-open-edx-settings/

Fichiers lms.env.json et cms.env.json (dans /edx/app/edxapp/ )

Mettre en français

Message accueil

Langues du site

Ajustement default-theme

Supprimer un cours

Voir les services qui fonctionnent

Update de l’application (faire un snapshot avant)

Installation analytic pipeline

Archives - vieux Open edX

Thème Ionisx https://codingexpress.ca/2015/04/02/ionisx-edx-theme-installation-and-modifications/

Erreur 500

Supprimer utilisateur

Theme stanford

Sécurité

Archives de recherche

Installation sur CSBE - version cypress

Update de cypher to last

Notes installation 25 octobre Eucalyptus.2

Commandes

Questions sur le forum


Faire

  1. campus2 ->campus
  2. Backup complet, copie serveur?
  3. Les backup, sont pris quand?
  4. Faire tutoriel pour exporter les cours (afin de pouvoir revenir au début, sans perdre les cours).
  5. Utilisateur visiteur, pour naviguer sans s’inscrire. Voir les possibilités.
  6. Mail nationaux pour s’inscrire dans campus2, je dois mettre staff.
  7. Voir wiki

Liens

Documentation officielle : http://docs.edx.org/

Wiki officiel https://openedx.atlassian.net/wiki/display/OpenOPS/Open+edX+Operations+Home 

Documentation officielle Eucalyptus http://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/

Créer des cours : http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/open-release-eucalyptus.master// 

Wiki officiel https://github.com/edx/configuration/wiki

Groupe de discussion : https://groups.google.com/forum/#!forum/openedx-ops 

La documentation (anglais) pour la gestion des cours : Building and Running an Open edX

Vous pouvez suivre ce cours pour des trucs : https://www.edx.org/course/overview-creating-edx-course-edx-edx101#.VHKBz76d9BV 

https://www.edx.org/course/creating-course-edx-studio-edx-studiox-0 

Tutoriels https://www.youtube.com/playlist?list=PLlGeo9H6zgLf-QG6xaRWSRkeOB6CqSYkn 

http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/

Installer sur 12.04 https://github.com/edx/configuration/wiki/edX-Ubuntu-12.04-64-bit-Installation

Gérer Open edX

LMS = partie élève + prof

CMS = partie prof pour création des cours

Logs : /edx/var/log

Créer admin http://blogs.infinitesquares.net/customizing-open-edx-settings/ 

Après une installation, on doit créer un admin en ligne de commande.

sudo -u www-data /edx/bin/python.edxapp /edx/app/edxapp/edx-platform/manage.py lms --settings aws create_user -s -p edx -e pierrel@recitmst.qc.ca 

sudo -u www-data /edx/bin/python.edxapp /edx/app/edxapp/edx-platform/manage.py lms --settings aws changepassword pierrel


sudo -u www-data /edx/bin/python.edxapp /edx/app/edxapp/edx-platform/manage.py lms --settings aws shell

Une ligne à la fois dans le shell
>> from django.contrib.auth.models import User  
> >me = User.objects.get(username="pierrel")  
>> me.is_superuser = True  
>> me.is_staff = True  
>> me.save()

ctrl-d pour quitter

On se rend http://campus.recit.org/admin/ et complète le tout pour accéder à la zone admin.

Fichiers lms.env.json et cms.env.json (dans /edx/app/edxapp/ )

 "SITE_NAME": "campus.recit.org",
  "LANGUAGE_CODE": "fr",
   "LMS_BASE": "campus.recit.org",

    "CMS_BASE": "campus.recit.org:18010", (important pour les liens vers le studio depuis le LMS)

    "ANALYTICS_DASHBOARD_URL": "http://campus2.recit.org:18110/courses",

        Redémarrer à chaque changement des fichiers de config.

Mettre en français

https://github.com/edx/edx-platform/wiki/Internationalization-and-localization 

Pour utiliser la traduction déjà présente dans open edx full statck :

        fr à mettre au lieu de en

Message accueil

/edx/app/edxapp/edx-platform/lms/templates/index.html (retirer la traduction)

Langues du site

http://edx-code.narkive.com/5uYQ6oVw/preferred-languages 

Mettre fr,en dans http://campus.recit.org/admin/dark_lang/darklangconfig/

Ajustement default-theme

Supprimer un cours

https://groups.google.com/forum/#!topic/edx-code/Hig8d2RMVNU

  1. trouver le ID : sudo -u www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp lms dump_course_ids --settings aws  
  2. delete orphans : sudo -u www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp cms delete_orphans course-v1:edX+DemoX+Demo_Course --commit --settings aws
  3. delete course : sudo -u www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp cms delete_course course-v1:edX+DemoX+Demo_Course --settings aws

Voir les services qui fonctionnent

sudo /edx/bin/supervisorctl status

Update de l’application (faire un snapshot avant)

Ce fichier update pourrait tout mettre à jour??? Discussion.

https://github.com/edx/configuration/blob/master/util/vagrant/upgrade.sh

https://openedx.atlassian.net/wiki/display/OpenOPS/Managing+OpenEdX+Tips+and+Tricks#ManagingOpenEdXTipsandTricks-UpdatingVersionsusingedXrepos 

Use the /edx/bin/update to update repo versions on the server.

Allowed repo names [edx-platform, xqueue, cs_comments_service, xserver, ease, edx-ora, configuration, read-only-certificate-code]

Examples:

Notes PL:

  1. Ne pas passer le script avec /edx modifié

sudo /edx/bin/supervisorctl stop edxapp:

sudo /edx/bin/supervisorctl stop edxapp_worker:


Utilisateurs sur campus2

morrierp, morrier1

sandralaine, laine1


Installation analytic pipeline

https://openedx.atlassian.net/wiki/display/OpenOPS/edX+Analytics+Installation


Archives - vieux Open edX

Thème Ionisx https://codingexpress.ca/2015/04/02/ionisx-edx-theme-installation-and-modifications/ 

cd /edx/app/edxapp/themes/

sudo wget https://github.com/IONISx/edx-theme/archive/master.zip

sudo unzip master.zip

sudo cp -a edx-theme-master/ ionisx/

cd ionisx/

sudo npm install -g grunt-cli bower

sudo npm install

sudo bower install --allow-root

1) You should first modify /edx/app/edxapp/lms.env.json, and set FEATURES.USE_CUSTOM_THEME (True), THEME_NAME (the theme directory name) and PLATFORM_NAME (it will replace "edX" in many views).

sudo -H -u edxapp bash

source /edx/app/edxapp/edxapp_env

cd /edx/app/edxapp/edx-platform

paver update_assets cms --settings=aws (c’est assez long de 3 à 4 min)

paver update_assets lms --settings=aws

Faut redémarrer edxapp pour que le theme s’applique : sudo /edx/bin/supervisorctl restart edxapp:

Erreur 500

Logout : Vider cache navigateur

Au login erreur 500 faire https://www.vannucci.eu/2015/05/open-edx-cas-error-500/ 

set in lms/envs/common.py:

'PREVENT_CONCURRENT_LOGINS': False,

En console : grep -r delete *.log * (pour trouver les logs)

Supprimer utilisateur

Error 500 (connue) pour essayer de supprimer les utilisateurs créés en ligne de commande (les utilisateurs par défaut de open edx). https://groups.google.com/forum/#!topic/openedx-ops/Yt948Ah_mDs J’ai désactivé les utilisateurs.

Theme stanford

https://github.com/edx/edx-platform/wiki/Stanford-Theming 

Download le zip https://github.com/Stanford-Online/edx-theme

Dépose dans /edx/app/edxapp/themes/stanford/

To compile javascript and css outside of the update script run the following commands:

sudo -H -u edxapp bash

source /edx/app/edxapp/edxapp_env

cd /edx/app/edxapp/edx-platform

paver update_assets cms --settings=aws

paver update_assets lms --settings=aws

 You should first modify /edx/app/edxapp/lms.env.json, and set FEATURES.USE_CUSTOM_THEME (True), THEME_NAME (the theme directory name) and PLATFORM_NAME (it will replace "edX" in many views)

Faut redémarrer edxapp pour que le theme s’applique : sudo /edx/bin/supervisorctl restart edxapp:

        Pas terrible comme thème….

https://eliocharles.wordpress.com/2014/05/07/finally-the-theme-works/

http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/changing_appearance/theming/enable_themes.html#enable-theming 

http://open-edx-windows-7-installation-instructions.readthedocs.io/en/latest/11_Install_Custom_Theme.html

Sécurité

On reçoit une message si quelqu’un tente de se connecter sur l’utilisateur edxapp et que le mot de passe ne fonctionne pas.

Archives de recherche

Des trucs?

http://www.dangtrinh.com/2014/02/edx-deploying-edx-platform-fullstack-in.html

EduLibre (Université de Montréal) https://github.com/EDUlib 

Cours pour créer/gérer des cours sur Open edx : https://www.edx.org/course/overview-creating-edx-course-edx-edx101#.VIIJbWTF_yM

Discussion sur le groupe https://groups.google.com/forum/#!topic/openedx-ops/IaOzgwr4yqs 

That is great to hear, regarding the translation! Let us know how we can help you with that. There is also some work to make Open edX run on Ubuntu 14.04, the release between 12.04 and 14.04. We will likely move from 12.04 to 14.04 rather than skip a version. You can see that work here: https://github.com/edx/configuration/pull/2517

Bac à sable : https://studio.edge.edx.org/  (pour tester le développement de cours)

Thèmes

Installation sur 14.04:

https://groups.google.com/forum/#!topic/edx-code/d0gc1lhQ7-Q

edx-platform - Install Open Edx on a freshly installed Ubuntu 14.04 server:

http://www.dangtrinh.com/2014/09/edx-platform-install-open-edx-on.html

Installation d’une machine virtuelle OpenFUN / edX / IONISx:

http://openfun.github.io/hackathon/02-install.html

Installing Open edX on Digital Ocean Ubuntu 14.04:

http://blogs.infinitesquares.net/installing-open-edx-on-ubuntu-14-04-2/

https://www.liferay.com/web/anna.rimmer/blog/-/blogs/install-and-configure-open-edx-with-valamis-part-1-

https://openedx.atlassian.net/wiki/display/DOC/Open+edX+Releases

Full stack (ce qu'on doit installer... je crois) https://github.com/edx/configuration/wiki/edX-Full-Stack


Installation sur CSBE - version cypress

Machine virtuelle : edxmst, 2 cpu, 75 Go, 8 Go ram.

Adresse privée : 172.30.2.63

Adresse publique : 206.167.209.142

le https est disponible

Ports

campus.recit.org

mot de passe : pierrel, serveurmst2pierre

faut utiliser les serveurs us au lieu de ca.

sudo vi /etc/apt/sources.list

:%s/ca.archive.ubuntu/us.archive.ubuntu/g

sudo apt-get install git

installer git

passer le script

modifier le fichier pour ajouter une ligne qui dit de ne pas vérifier le ssl

vi /var/tmp/configuration/playbooks/roles/elasticsearch/tasks/main.yml

ajout de la ligne

    validate_certs=no

à l’endroit suivant :

- name: download elasticsearch

  get_url: >

    url={{ elasticsearch_url }}

    dest=/var/tmp/{{ elasticsearch_file }}

    force=no

    validate_certs=no

  register: elasticsearch_reinstall

modifier le fichier pour enlever les occurences de --use-mirrors (https://github.com/edx/configuration/issues/2576)

vi /var/tmp/configuration/playbooks/roles/edxapp/tasks/deploy.yml

:%s/--use-mirrors//g

sudo vi /edx/app/edx_notes_api/venvs/edx_notes_api/lib/python2.7/site-packages/django/conf/global_settings.py

SECRET_KEY = 'SDFg9sdfgsd9fgSDFg9sdfg9d8fhgDFjhGFhjfg89hj8dfhjFGhj9fghjfghoj9fghjFjh8fghjDJHFgjh8f6ghj6f8ghj9fghjFjh89fgjhfghj8fg8hjofghj9fg9hj'

enlever le s de https dans /var/tmp/configuration/playbooks/roles/elasticsearch/defaults/main.yml

elasticsearch_url: "http://download.ela

sudo touch /etc/update-motd.d/51-cloudguest

   15  sudo vi /etc/apt/sources.list

   16  sudo apt-get update

   17  sudo apt-get upgrade

   18  sudo apt-get install git

   19  sudo apt-get upgrade

   20  export OPENEDX_RELEASE=named-release/cypress

   21  wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/sandbox.sh -O - | bash

   22  df -h

   23  free -m

   24  top

   25  free -m

   26  df -h

   27  vi /etc/fstab

   28  updatedb

   29  sudo updatedb

   30  locate playbooks/roles/elasticsearch/tasks/main.yml

   31  vi /var/tmp/configuration/playbooks/roles/elasticsearch/tasks/main.yml

   32  vi sandbox.sh.

   33  vi sandbox.sh

   34  vi /home/mbrochu/edx_sandbox.retry

   35  vi sandbox.sh

   36  vi requirements.txt

   37  cd ~mbrochu/

   38  ls

   39  cd /var/tmp/configuration

   40  vi requirements.txt

   41  vi /home/mbrochu/sandbox.sh

   42  sudo -H pip install -r requirements.txt

   43  vi /home/mbrochu/sandbox.sh

   44  cd /var/tmp/configuration/playbooks && sudo ansible-playbook -c local ./edx_sandbox.yml -i "localhost," $EXTRA_VARS

   45  locate edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/tasks/deploy.yml

   46  updatedb

   47  sudo updatedb

   48  locate edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/tasks/deploy.yml

   49  locate edx_ansible/edx_ansible/playbooks/roles/edxapp/tasks/deploy.yml

   50  locate x_ansible/playbooks/roles/edxapp/tasks/deploy.yml

   51  locate les/edxapp/tasks/deploy.yml

   52  vi /var/tmp/configuration/playbooks/roles/edxapp/tasks/deploy.yml

   53  cd /var/tmp/configuration/playbooks && sudo ansible-playbook -c local ./edx_sandbox.yml -i "localhost," $EXTRA_VARS

   54  locate edx-platform/lms/djangoapp

   55  mkdir /edx/app/edxapp/edx-platform/lms/djangoapps/mobile_api/migrations

   56  ls /edx/app/edxapp/edx-platform/lms/djangoapps/mobile_api/__init__.py

   57  ls /edx/app/edxapp/edx-platform/lms/djangoapps/mobile_api/__init__.py -la

   58  grep SECRET *

   59  vi ec2.py

   60  grep SECRET /edx/bin/*

   61  grep SECRET /edx/bin/* -R

   62  grep SECRET /edx/* -R

   63  grep SECRET_KEY /edx/* -R

   64  vi /edx/etc/edx_notes_api.yml

   65  sudo vi /edx/etc/edx_notes_api.yml

   66  grep SECRET_KEY /edx/* -R

   67  vi /edx/app/edx_notes_api/venvs/edx_notes_api/lib/python2.7/site-packages/django/conf/global_settings.py

   68  find  /edx/app/edx_notes_api/venvs/edx_notes_api/ |grep base

   69  grep SECRET_KEY  /edx/app/edx_notes_api/venvs/edx_notes_api/ -R | grep base

   70  vi /edx/app/edx_notes_api/venvs/edx_notes_api/lib/python2.7/site-packages/django/conf/global_settings.py

   71  sudo vi /edx/app/edx_notes_api/venvs/edx_notes_api/lib/python2.7/site-packages/django/conf/global_settings.py

   72  cd /var/tmp/configuration/playbooks && sudo ansible-playbook -c local ./edx_sandbox.yml -i "localhost," $EXTRA_VARS

   73  export

   74  set

   75  set | grep EXTRA_VARS

   76  cat /home/mbrochu/sandbox.sh

   77  EXTRA_VARS

   78* EXTRA_VARS

   79  vi /home/mbrochu/sandbox.sh

   80  export

   81  /home/mbrochu/sandbox.sh

   82  bash /home/mbrochu/sandbox.sh

   83  sudo vi /edx/app/edx_notes_api/venvs/edx_notes_api/lib/python2.7/site-packages/django/conf/global_settings.py

   84  locate roles/elasticsearch/defaults/main.ym

   85  vi /var/tmp/configuration/playbooks/roles/elasticsearch/defaults/main.yml

   86  bash /home/mbrochu/sandbox.sh

   87  ls /etc/update-motd.d/51-cloudguest"

   88  ls /etc/update-motd.d/51-cloudguest

   89  ls /etc/update-motd.d/91-release-upgrade

   90  vi /etc/update-motd.d/91-release-upgrade

   91  sudo touch /etc/update-motd.d/51-cloudguest

   92  bash /home/mbrochu/sandbox.sh


Update de cypher to last

commandes à essayer

 

Allowed repo names [edx-platform, xqueue, cs_comments_service, xserver, ease, edx-ora, configuration, read-only-certificate-code]

/edx/bin/update configuration master  OK

/edx/bin/update edx-platform master

problème add ppa réparé ; port à ouvrir sur firewall

TASK: [common | add edx ppa apt key] ******************************************  

failed: [localhost] => {"cmd": "apt-key adv --keyserver keyserver.ubuntu.com --recv 69464050", "failed": true, "rc": 2}

stderr: gpg: requesting key 69464050 from hkp server keyserver.ubuntu.com

gpg: keyserver timed out                                                                                                                               

gpg: keyserver receive failed: keyserver error                                                                                                         

                                                                                                                                                      

stdout: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.IJSpdIHjhR --trustdb-name /etc/apt/trustdb.g

pg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 69464050                              

                                                                                                                                                      

msg: gpg: requesting key 69464050 from hkp server keyserver.ubuntu.com

gpg: keyserver timed out                                                                                                                               

gpg: keyserver receive failed: keyserver error                                                                                                         

FATAL: all hosts have already failed -- aborting                                                                                                       

PLAY RECAP ********************************************************************  

INFO:ansible.callback_plugins.task_timing:common | add edx ppa apt key --------------------------------------------------- 120.29s

INFO:ansible.callback_plugins.task_timing:server_utils | Install ubuntu system packages ----------------------------------- 16.16s

INFO:ansible.callback_plugins.task_timing:user | Install debian packages user role needs ----------------------------------- 9.35s

INFO:ansible.callback_plugins.task_timing:common | Add git apt repository -------------------------------------------------- 1.44s

INFO:ansible.callback_plugins.task_timing:common | Update CA Certificates -------------------------------------------------- 1.21s

INFO:ansible.callback_plugins.task_timing:common | Add common_users -------------------------------------------------------- 0.37s

INFO:ansible.callback_plugins.task_timing:user | Create sudoers file from template ----------------------------------------- 0.17s

INFO:ansible.callback_plugins.task_timing:user | Grant full sudo access to the edxadmin group ------------------------------ 0.17s

INFO:ansible.callback_plugins.task_timing:user | Create the edxadmin group ------------------------------------------------- 0.13s

INFO:ansible.callback_plugins.task_timing:user | Ensure sudoers.d is read -------------------------------------------------- 0.13s

INFO:ansible.callback_plugins.task_timing:

Playbook edxapp finished: 2016-09-16 16:24:12.146610, 37 total tasks.  0:02:30.817263 elapsed.  

          to retry, use: --limit @/root/edxapp.retry

localhost                  : ok=14   changed=3    unreachable=0    failed=1   


Notes installation 25 octobre Eucalyptus.2


Installation :

https://openedx.atlassian.net/wiki/display/OpenOPS/Native+Open+edX+Ubuntu+12.04+64+bit+Installation

Migration : https://groups.google.com/forum/#!topic/edx-code/FZdfXAaawsk 

Sur forum : https://groups.google.com/forum/#!searchin/openedx-ops/69464050%7Csort:relevance/openedx-ops/3xAcresdAIQ/FzgcqXKPKQAJ

1.- Fresh Ubuntu 12.04.5 http://releases.ubuntu.com/12.04/ 

2.- sudo apt-get update -y .... OK

3.- sudo apt-get upgrade -y .... OK

4.- sudo reboot ... OK

5.- export OPENEDX_RELEASE=open-release/eucalyptus.2

6.- wget https://raw.githubusercontent.com/edx/configuration/master/util/install/ansible-bootstrap.sh .... OK. I've splitted the command in order to capture scrren logs

7.- sudo bash ansible-bootstrap.sh ... OK

8.- wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/sandbox.sh .... OK

9.- bash sandbox.sh ... OK


Documentation suivi :

Installation : https://openedx.atlassian.net/wiki/display/OpenOPS/Native+Open+edX+Ubuntu+12.04+64+bit+Installation 

Après installation : https://openedx.atlassian.net/wiki/display/OpenOPS/Managing+OpenEdX+Tips+and+Tricks 

  1. Fresh Ubuntu 12.04.5 http://releases.ubuntu.com/12.04/ 
  2. sudo apt-get update -y 
  3. sudo apt-get upgrade -y
  4. apt-get install mysql-server
  5. mettre fichier .my.cnf dans /root (avec mot de passe) [client] user=root password=
  6. sudo reboot
  7.  wget https://raw.githubusercontent.com/edx/configuration/master/util/install/ansible-bootstrap.sh
  1. pip install -qr requirements.txt --exists-action w (assez long …
  1. chmod 755 ansible-bootstrap.sh
  2. ./ansible-bootstrap.sh (avoir un bon lien si en ssh sur le serveur distant)
  3. wget https://raw.githubusercontent.com/edx/configuration/master/util/install/sandbox.sh
  4. chmod 755 sandbox.sh
  5.  ./sandbox.sh (avoir un bon lien si à distance en ssh, si le lien lâche, on doit rebooter et repartir le script)
  1. Si le script arrête, on peut le redémarrer, après un reboot.
  1. Notes premier test
  1. Problème clé pgp (faire ouvrir les ports en sorties sur le serveur)
  1. gpg: requesting key 69464050 from hkp server pgp.mit.edu
    Correction changer la ligne dnas le fichier sh : EDX_PPA_KEY_SERVER="hkp://pgp.mit.edu:80"
  1. sandbox.sh pas capable d’installer mysql-server… installer mysql-server à la main… reprendre le script
  2. mettre un fichier .my.cnf dans /root pour le serveur mysql
  1. [client] user=root password=
  2. http://stackoverflow.com/questions/26597926/install-mysql-with-ansible-on-ubuntu 
  1. TASK: [edxapp | install python requirements] assez long… soyons patient…
  2. Il y a eu une erreur ruby… qui n’a pas arrêté l’installation.
  1. Installation fin!

Gestion : https://openedx.atlassian.net/wiki/display/OpenOPS/Managing+OpenEdX+Tips+and+Tricks 

Ruby ??? -> l’erreur n’est pas grave, l’installation se poursuit… saitr pas trop pourquoi.

TASK: [rbenv | check ruby-build installed] ************************************

failed: [localhost] => {"changed": true, "cmd": ["test", "-x", "/usr/local/bin/ruby-build"], "delta": "0:00:00.022076", "end": "2016-10-25 11:00:00.202332", "rc": 1, "start": "2016-10-25 11:00:00.180256", "warnings": []}

...ignoring

TASK: [rbenv | if ruby-build exists, which versions we can install] ***********

skipping: [localhost]

TASK: [rbenv | create temporary directory] ************************************

changed: [localhost]

TASK: [rbenv | clone ruby-build repo] *****************************************

changed: [localhost]

TASK: [rbenv | install ruby-build] ********************************************

changed: [localhost]

TASK: [rbenv | remove temporary directory] ************************************

changed: [localhost]

TASK: [rbenv | check ruby {{ forum_ruby_version }} installed] *****************

failed: [localhost] => {"changed": true, "cmd": "rbenv versions | grep 1.9.3-p551", "delta": "0:00:00.108038", "end": "2016-10-25 11:00:04.825850", "rc": 1, "start": "2016-10-25 11:00:04.717812", "warnings": []}

stderr: Warning: no Ruby detected on the system

...ignoring

Commandes

sudo su -

wget https://raw.githubusercontent.com/edx/configuration/master/util/install/ansible-bootstrap.sh -O - | sudo bash

sudo do-release-upgrade

sudo apt-get update

sudo apt-get upgrade

sudo reboot

wget https://raw.githubusercontent.com/edx/configuration/master/util/install/ansible-bootstrap.sh -O - | sudo bash

ll

wget https://raw.githubusercontent.com/edx/configuration/master/util/install/ansible-bootstrap.sh

ll

sudo chmod 755 ansible-bootstrap.sh

ll

sudo ./ansible-bootstrap.sh

gpg --keyserver hkp://pgp.mit.edu --recv-keys 69464050

gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys 69464050

sudo ./ansible-bootstrap.sh

wget https://raw.githubusercontent.com/edx/configuration/master/util/install/sandbox.sh

ll

chmod 755 sandbox.sh

ll

sudo ./sandbox.sh

cd /var/tmp/

ll

cd configuration/

ll

vi requirements.txt

cd ~

ll

sudo apt-get install mysql-server

sudo ./sandbox.sh

netstat -atn

ll

vi ansible-bootstrap.sh

ll

ll

vi sandbox.sh

cd /var/tmp/

ll

cd configuration/

ll

vi openedx.yaml

grep 8C718D3B5072E1F5

grep -R 8C718D3B5072E1F5

sudo updatedb

locate 8C718D3B5072E1F5

cd ~

ll

vi .my.cnf

ll

vi .my.cnf

sudo -i

top

sudo -u www-data /edx/bin/python.edxapp /edx/app/edxapp/edx-platform/manage.py lms --settings aws create_user -s -p edx -e pierrel@recitmst.qc.ca

sudo -u www-data /edx/bin/python.edxapp /edx/app/edxapp/edx-platform/manage.py lms --settings aws changepassword pierrel

sudo -u www-data /edx/bin/python.edxapp /edx/app/edxapp/edx-platform/manage.py lms --settings aws shell

cd /edx/app/edxapp/

ll

vi lms.env.json

sudo -i

exit

Questions sur le forum

Hi!

Excuse my english :-(

I want to understand what to do for updating (keep up to date) an installation of open edx (https://openedx.atlassian.net/wiki/display/OpenOPS/Native+Open+edX+Ubuntu+12.04+64+bit+Installation). I have a fresh install (october 25th) of the master branch (Eucalyptus.2) on Ubuntu 12.04.5 LTS.

I found this documentation to update open edx : https://openedx.atlassian.net/wiki/display/OpenOPS/Managing+OpenEdX+Tips+and+Tricks#ManagingOpenEdXTipsandTricks-UpdatingVersionsusingedXrepos

I have this on my system :

sudo /edx/bin/supervisorctl status

analytics_api                    RUNNING   pid 22044, uptime 1 day, 5:38:01

certs                            RUNNING   pid 9006, uptime 1 day, 5:14:26

edxapp:cms                       RUNNING   pid 3344, uptime 1:36:59

edxapp:lms                       RUNNING   pid 3343, uptime 1:36:59

edxapp_worker:cms_default_1      RUNNING   pid 32306, uptime 7:14:24

edxapp_worker:cms_high_1         RUNNING   pid 32304, uptime 7:14:24

edxapp_worker:cms_low_1          RUNNING   pid 32302, uptime 7:14:24

edxapp_worker:lms_default_1      RUNNING   pid 32305, uptime 7:14:24

edxapp_worker:lms_high_1         RUNNING   pid 32308, uptime 7:14:24

edxapp_worker:lms_high_mem_1     RUNNING   pid 32303, uptime 7:14:24

edxapp_worker:lms_low_1          RUNNING   pid 32307, uptime 7:14:24

forum                            RUNNING   pid 9601, uptime 1 day, 5:14:01

insights                         RUNNING   pid 1040, uptime 1 day, 5:28:23

notifier-celery-workers          RUNNING   pid 9717, uptime 1 day, 5:13:48

notifier-scheduler               RUNNING   pid 9678, uptime 1 day, 5:13:59

xqueue                           RUNNING   pid 8215, uptime 1 day, 5:15:12

xqueue_consumer                  RUNNING   pid 8239, uptime 1 day, 5:15:10

Is this dangerous for my system to do this command line : sudo /edx/bin/update edx-platform master ?

Should I do all the repo (edx-platform, xqueue, cs_comments_service, xserver, ease, edx-ora, configuration, read-only-certificate-code)?

Thank you.