edX-platform - Updating edX production stack's versions using edX repos

To update your Open Edx instance to the latest version from a repository (master branch of edx-platform, mybranch,... ) run the following command:

$ sudo /edx/bin/update edx-platform master

After the updating finish successfully, run the db migration command:

$ cd /edx/app/edxapp/edx-platform/
$ sudo -u www-data /edx/app/edxapp/venvs/edxapp/bin/python ./manage.py lms syncdb --migrate --settings aws

Finally, restart the edx's services:

* LMS/CMS: sudo /edx/bin/supervisorctl -c /edx/etc/supervisord.conf restart edxapp:
* Workers: sudo /edx/bin/supervisorctl -c /edx/etc/supervisord.conf restart edxapp_worker:


References: https://github.com/edx/configuration/wiki/edX-Managing-the-Production-Stack

Comments