← Back to team overview

mahara-contributors team mailing list archive

[Bug 1830847] Re: 19.04 README says direct upgrade from 15.04.0 and later, but upgrade.php says must upgrade to 17.04.0 first.

 

Hi Marcus,

Thank you for spotting this oversight. We'll update the Readme file.
Direct upgrades from older versions of Mahara get increasingly difficult
the further the versions are away due to the amount of changes. A
stepped upgrade is better.

Great to read though that you are upgrading to a supported version. :-)

Cheers
Kristina

** Also affects: mahara/19.04
   Importance: Undecided
       Status: New

** Also affects: mahara/19.10
   Importance: Undecided
       Status: New

** Changed in: mahara/19.10
       Status: New => Confirmed

** Changed in: mahara/19.10
       Status: Confirmed => In Progress

** Changed in: mahara/19.04
       Status: New => Confirmed

** Changed in: mahara/19.10
   Importance: Undecided => High

** Changed in: mahara/19.04
   Importance: Undecided => High

** Changed in: mahara/19.10
    Milestone: None => 19.10.0

** Changed in: mahara/19.04
    Milestone: None => 19.04.1

** Changed in: mahara/19.04
       Status: Confirmed => In Progress

-- 
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


References