User Tools

Site Tools


How To Resume a Failed Upgrade

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. 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 as that patch was completed before attempted running 2.0.sql.

  1. Edit the failing patch 2.0.sql and remove all commands before the failing command that halted the process. As they are already commmitted.
  1. Solve the cause for why the command halted. Usually due to conflicting data in the database.
  1. 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: 2020/11/19 05:18 by A User Not Logged in