← Back to team overview

mahara-contributors team mailing list archive

[Bug 1839549] [NEW] Upgrading mahara via CLI doesn't remove the _upgrade flag

 

Public bug reported:

If one tries upgrading via web interface it sets a flag in 'config'
table like so:

   field | value
---------+------------
_upgrade | 1565298392

and removes the flag when upgrade finished

the command line however does not set / remove the flag

We should do this here are well in case of the following 2 scenarios:

1) Some one tries to upgrade via web and it fails - then upgrades successfully via CLI:
- The flag is not removed

2) Some one tries to upgrade via CLI and it fails - then goes to upgrade via web:
- It doesn't alert them they are in a partial upgrade state

** Affects: mahara
     Importance: Low
         Status: In Progress

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

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
   Importance: Undecided => Low

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

Title:
  Upgrading mahara via CLI doesn't remove the _upgrade flag

Status in Mahara:
  In Progress

Bug description:
  If one tries upgrading via web interface it sets a flag in 'config'
  table like so:

     field | value
  ---------+------------
  _upgrade | 1565298392

  and removes the flag when upgrade finished

  the command line however does not set / remove the flag

  We should do this here are well in case of the following 2 scenarios:

  1) Some one tries to upgrade via web and it fails - then upgrades successfully via CLI:
  - The flag is not removed

  2) Some one tries to upgrade via CLI and it fails - then goes to upgrade via web:
  - It doesn't alert them they are in a partial upgrade state

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


Follow ups