To test:
1. Install Mahara 15.04 2. Check out the gerrit patch for the improved upgrader (in 16.10dev) 3. Run the command-line upgrader.
Expected result: No errors
If you're using my Mahara DevTools ( https://github.com/agwells/mahara-devtools ) you can just use its "maharaupgrade.sh" to do the CLI upgrader.
Otherwise, you can run:
sudo -u www-data php htdocs/admin/cli/upgrade.php
(I find it's best to run the CLI upgrader sudo'ed to the www-data user so that the permissions in the dataroot don't get messed up.)
To test:
1. Install Mahara 15.04
2. Check out the gerrit patch for the improved upgrader (in 16.10dev)
3. Run the command-line upgrader.
Expected result: No errors
If you're using my Mahara DevTools ( https:/ /github. com/agwells/ mahara- devtools ) you can just use its "maharaupgrade.sh" to do the CLI upgrader.
Otherwise, you can run:
sudo -u www-data php htdocs/ admin/cli/ upgrade. php
(I find it's best to run the CLI upgrader sudo'ed to the www-data user so that the permissions in the dataroot don't get messed up.)