How to safely downgrade

Permalink 6 users found helpful
I have found myself needing to downgrade several times, but despite searching have never found anything. so here is my simple way to do so. download the version that you want to downgrade to, upload it to /updates, and change the name to the verion you're downgrading from. Simple!

12345j
 
gravyface replied on at Permalink Reply
I don't see an updates folder.
12345j replied on at Permalink Reply
12345j
root/updates- but you can also delete a line in root/config/site.php that references the update.
alumman71822 replied on at Permalink Reply
alumman71822
Exactly how do I perform this? I am a noob and would like to know each step in the process.

Thanks
WHW1dotCOM replied on at Permalink Reply
I think you will find the method I posted way below easiest, regardless if you are new or not. I will add more details to it as I find more time, or next time I come by. Least amount of technical involvement. Hopefully, you are able to make use of it. GL.
hawkman4188 replied on at Permalink Reply
hawkman4188
Thanks for this! This saved my life!
Jstraub replied on at Permalink Reply
Jstraub
Thank you so much for this .
alumman71822 replied on at Permalink Reply
alumman71822
Exactly how do you go about doing this?
I am a noob
Keepingitreal replied on at Permalink Reply
I too am curious about this. I rashly upgraded to 5.5.2, and now am having issues. I would like to go back to 5.4, but don't know how. Any help is appreciated.
alumman71822 replied on at Permalink Reply
alumman71822
Use the following advice that JohntheFish gave me on another topic.

Rolling back the update manually requires a number of 'expert' level things:
- a backup of the database you want to restore to
- use of phpMyAdmin to revert to the database backup
- editing config/site.php
(you don't need to delete anything in updates, and you should never do so until the restore has worked)

Before doing that, or if you don't have a suitable backup, or if you don't have the expertise to do that, you may be able to get to the dashboard directly by entering the path:

yoursite.com/index.php/dashboard/

Once in the dashboard, make a backup (just in case you make things worse, but this is probably not a backup you will want in the long term), change the theme back to the default and uninstall any addons that are not marked as 5.5.1 compatible in the marketplace.

If you have a backup from before the upgrade, you could also restore to it from the dashboard (easier than doing it manually), but you will still need to edit config/site.pho manually.
Keepingitreal replied on at Permalink Reply
Okay, I tried to restore the database from a recent backup and got an error message during the restore. Now I can't get to anything on my site,admin or not.

This is the error message I get when I even try to access my default page:

mysql error: [1054: Unknown column 'Pages.cIsActive' in 'field list'] in EXECUTE("select Pages.cID, Pages.pkgID, Pages.cPointerID, Pages.cPointerExternalLink, Pages.cIsActive, Pages.cIsSystemPage, Pages.cPointerExternalLinkNewWindow, Pages.cFilename, Collections.cDateAdded, Pages.cDisplayOrder, Collections.cDateModified, cInheritPermissionsFromCID, cInheritPermissionsFrom, cOverrideTemplatePermissions, cPendingAction, cPendingActionUID, cPendingActionTargetCID, cPendingActionDatetime, cCheckedOutUID, cIsTemplate, uID, cPath, Pages.ctID, ctHandle, ctIcon, ptID, cParentID, cChildren, ctName, cCacheFullPageContent, cCacheFullPageContentOverrideLifetime, cCacheFullPageContentLifetimeCustom from Pages inner join Collections on Pages.cID = Collections.cID left join PageTypes on (PageTypes.ctID = Pages.ctID) left join PagePaths on (Pages.cID = PagePaths.cID and PagePaths.ppIsCanonical = 1) where Pages.cID = 1")
carloscarroll replied on at Permalink Reply
Slate's view.php doesn't have a lot in it,
but it does have the following code section before <?php print $innerContent; ?>:
<div id="wrapper">

<?php $this->inc('elements/pagemeta.php'); ?>

<div class="row">

<div id="content" class="col_12">

where the default theme only has:
<div id="central" class="no-sidebar">

<div id="body">
would you suggest I delete this portion of slate's view.php?

Also I've confirmed that WPImporter works with v5.5.1, but not with v5.5.2. Any suggestions for patching the code would be appreciated as well. Thanks!
rainmaker replied on at Permalink Reply
rainmaker
I got pointed to this site:
http://www.rynomediaonline.com/resources/downgrading-your-concrete5...

That has the same error. Hopefully that will help ya!
jeffduns replied on at Permalink Reply
jeffduns
Thank you much, just saved my bacon!!!. An update to 5.6.1.2 broke my site, and I had no clue how to role it back
WHW1dotCOM replied on at Permalink Reply
I got such a better and easier way to downgrade, but I need to figure out how to have the information retyped in a way that avoids the information being seen as promoting one's hosting. Since that will take time, I will come back to it, and for now just say the following for those that get it: Full-Backup, and Restore. NO, this is not the regular backup other hosting companies provide. This is a true full backup of EVERYTHING, and restoration of everything back to the way it was. You do a Full-Backup before the upgrade, and a restore (hopefully free) done if unhappy with your C5 upgrade. That simple.

Also, before people start saying so, yes, as I tried to hint above, I understand many hosting companies do not provide such a feature, and so obviously those would be excluded from using this method with.