Update has gone horribly horribly wrong

Permalink
I tried updating to 5.6.2.1 and something bad happened. I do have a backup of the database, but I am honestly not sure how to proceed. This is the error I get when hitting the site:

Warning: require(updates/concrete5.6.2.1_updater/concrete/dispatcher.php) [function.require]: failed to open stream: No such file or directory in /home/dorman/dev.writebrainmedia.com/concrete/startup/updated_core_check.php on line 8

Fatal error: require() [function.require]: Failed opening required 'updates/concrete5.6.2.1_updater/concrete/dispatcher.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/dorman/dev.writebrainmedia.com/concrete/startup/updated_core_check.php on line 8

Does anyone know what I should do to get the site back up and running? Should I restore the old database? Manually upload an update??

CygnetMidwest
 
shondy replied on at Permalink Best Answer Reply
shondy
Inside the root config folder open up site.php (it gets created on the server so if you FTP'd the site you will have to download this file.

Back this file up, then delete the line that looks like this:

<?php define('DIRNAME_APP_UPDATED', 'concrete5.6.2.1');?>


It may be slightly different depending on the name of the update folder. This should get you back to where you were.

If you have a database backup (you should) then it would be a good idea to restore it, unless the site is operational without having to. I have had these issues in the past and this resolved it. Then you have to get to why the update failed. Could be that you jumped over versions. You may have to manually install the other version updates and update them one at a time to avoid problems.
CygnetMidwest replied on at Permalink Reply
CygnetMidwest
Thanks @cschondel! That did the trick. You are a life saver. :)