← Back to team overview

mahara-contributors team mailing list archive

[Bug 1830847] A change has been merged

 

Reviewed:  https://reviews.mahara.org/10174
Committed: https://git.mahara.org/mahara/mahara/commit/e413627f01bd20ed08a1c3320fb200210e5d508e
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch:    18.10_STABLE

commit e413627f01bd20ed08a1c3320fb200210e5d508e
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Wed Jul 17 16:10:44 2019 +1200

Bug 1830847: Update info about upgrade

behatnotneeded

Change-Id: I776133d0e5211e130337c22cf436a4b0b87ce75a
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
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:
  Fix Committed
Status in Mahara 18.04 series:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed
Status in Mahara 19.10 series:
  Fix Committed

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


References