I should probably add that every time I've tried to upgrade Mahara, I've
hit the same problem: there's a mismatch between the documentation and
the actual upgrade path.

"Upgrade to 1.10+ fails on Postgres <9.1"
https://bugs.launchpad.net/mahara/+bug/1517658
 - Docs said postgres version supported, but upgrade failed. In this case, a 
patch was provided by Catalyst and the upgrade proceeded.

"Upgrade to 17.04 fails on Postgres 8"
https://bugs.launchpad.net/mahara/+bug/1700893
 - Docs said postgres version supported, but upgrade failed. Postgres version 
actually was not supported.

"19.04 README says direct upgrade from 15.04.0 and later, but upgrade.php says 
must upgrade to 17.04.0 first" (This one.)
https://bugs.launchpad.net/mahara/+bug/1830847
- Docs said direct upgrade, but intermediate step was required.

It could be worth adding a step in the release process to check these things 
off. People like me (or not like me) do upgrade planning based on the system 
requirements, so it matters that they're correct.
This is probably kind of obvious, but, after bumping into this three times, it 
seems worth a mention.

Cheers,
Marcus

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1830847

Title:
  19.04 README says direct upgrade from 15.04.0 and later, but
  upgrade.php says must upgrade to 17.04.0 first.

Status in Mahara:
  In Progress
Status in Mahara 19.04 series:
  In Progress
Status in Mahara 19.10 series:
  In Progress

Bug description:
  OS: RHEL 7
  Apache 2.4
  PHP (starting from 5.6, upgrading to 7.0 for 19.04).

  Current Mahara version: 15.10.1.
  Upgrading to version: 19.04.0.

  The 19.04 README 
(https://git.mahara.org/mahara/mahara/blob/19.04_STABLE/README.md) says:
  "Mahara 19.04 supports direct upgrades from previous Mahara versions 15.04.0 
and later."

  When I run the 19.04.0 upgrade
  su -s /bin/bash apache -c "/usr/bin/php 
/srv/www/mahara/19.04.0/htdocs/admin/cli/upgrade.php"

  It fails with:

  [WAR] e8 (lib/upgrade.php:87) Must upgrade to 2017031605 (17.04.0 (release 
tag 17.04.0_RELEASE)) first  (you have 2015092912 (15.10.1)
  Call stack (most recent first):
    * check_upgrades() at 
/srv/www/mahara/mahara-19.04.0/htdocs/admin/cli/upgrade.php:40

  Must upgrade to 2017031605 (17.04.0 (release tag 17.04.0_RELEASE))
  first  (you have 2015092912 (15.10.1)

  So I guess someone should fix the README. Or the code. My vote is for
  the code. Fewer steps for us. :-)

  Cheers,
  Marcus

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1830847/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to