1
Upgrade Procedure for IVLE
2
==========================
4
Upgrading to a new version of IVLE is generally fairly painless, but
5
there are several steps involved.
7
Firstly, in the IVLE checkout, bring your codebase up to date:
15
Now comes the time to block external access to IVLE. Stopping Apache
16
on each server in the cluster and killing any remaining python-console
17
processes is highly recommended.
19
You should then run any outstanding database migrations. A note of the
20
latest applied migration should probably be kept somewhere to avoid
21
running the same one twice. This command must be run once for each.
23
sudo -u postgres psql ivle < userdb/migrations/YYYYMMDD-NN.sql
25
Now we can install the new version, and update the jails:
27
sudo ./setup.py install
30
Note that this will not perform a full rebuild of the template jail -
31
only the IVLE files inside the jail will be updated. To force a full
32
jail rebuild, give ivle-buildjail the -r option.
34
... and remake the user jails, as this will occasionally be needed:
36
ivle-remakeuser --all --verbose
38
Restart the usrmgt-server and all Apaches, reenable external access,
39
check that everything works, and you're done!