Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Upgrading Airnotifier: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 1: Line 1:
Steps to upgrade
Steps to upgrade
- Stop the server, killing the process
ps aux | grep airnotifier
kill -0 PROCESS_ID


- Check that the current branch of the installation is Moodle
- Check that the current branch of the installation is Moodle
Line 20: Line 24:
Run the upgrade.py script
Run the upgrade.py script
  python upgrade.py
  python upgrade.py
Start the server again
./startserver


[[Category: Mobile]]
[[Category: Mobile]]

Revision as of 09:15, 16 October 2014

Steps to upgrade

- Stop the server, killing the process

ps aux | grep airnotifier
kill -0 PROCESS_ID

- Check that the current branch of the installation is Moodle

git status
# On branch moodle

- Backup the mondodb databases

Applications list database

mongodump -h localhost --port 27017 -d airnotifier -o /var/airnotifier/

Each application database

mongodump -h localhost --port 27017 -d commoodlemoodlemobile -o /var/airnotifier/
mongodump -h localhost --port 27017 -d commoodlemoodlemobiletest -o /var/airnotifier/

Pull latest version from git

git pull

Run the upgrade.py script

python upgrade.py

Start the server again

./startserver