User Tools

Site Tools


how_to_resume_a_failed_upgrade

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
how_to_resume_a_failed_upgrade [2017/11/18 07:36]
admin
how_to_resume_a_failed_upgrade [2017/11/18 07:37] (current)
admin
Line 3: Line 3:
 Sometimes it happens that an upgrade fails and you forgot to make backups. It's not the worst thing ever that can happen. And can easily be fixed. Sometimes it happens that an upgrade fails and you forgot to make backups. It's not the worst thing ever that can happen. And can easily be fixed.
  
-  ​1. Make note of the version of which upgrade patch that halted. In this case example we will assume 2.0.sql is the patch that halted with an error during upgrade. +1. Make note of the version of which upgrade patch that halted. In this case example we will assume 2.0.sql is the patch that halted with an error during upgrade. 
-  2. Start by deleting all patches before the failing patch prior to (in this case) 2.0.+ 
 +2. Start by deleting all patches before the failing patch prior to (in this case) 2.0.
  
 Since it was the .sql patch that failed you can safely delete the 2.0.inc.php as that patch was completed before attempted running 2.0.sql. Since it was the .sql patch that failed you can safely delete the 2.0.inc.php as that patch was completed before attempted running 2.0.sql.
  
-  ​3. Edit the failing patch 2.0.sql and remove all commands before the failing command that halted the process. As they are already commmitted.+3. Edit the failing patch 2.0.sql and remove all commands before the failing command that halted the process. As they are already commmitted.
  
-  ​4. Solve the cause for why the command halted. Usually due to conflicting data in the database.+4. Solve the cause for why the command halted. Usually due to conflicting data in the database.
  
-  ​5. Resume your upgrade by pressing F5. Or go to upgrade.php if you accidentally closed the window.+5. Resume your upgrade by pressing F5. Or go to upgrade.php if you accidentally closed the window.
how_to_resume_a_failed_upgrade.txt · Last modified: 2017/11/18 07:37 by admin