Low Priority - How to safely upgrade C5
Permalink
I'm wondering why I keep having problems with all my C5 sites. They're SO hard to upgrade, and I'm not the only one.
I found this great article.
http://adamjohnsondesign.com/blog/upgrade-concrete5-with-minimal-do...
Tried it, it seems to work, but not with the particular site I'm working with. If you have altered the config/site.php, it wont work unless you remove the lines referencing updates.
But, if I remove any lines in the site.php referring to an update, my site breaks entirely, File not Found.
I thought about starting with a fresh install and moving everything over.. umm.. headache! Not to mention 5.5.2 is completely different. I couldn't figure out how to get all the pages back, phpMyAdmin through an error. I'm not even trying to use a fancy theme at this point.
Would it be easier to create a new c5 altogether (in a sub directly of the root) then migrate the current database and data to the new install? How would the migrating work? Is there a potential problem with my database, how would I find out?
Or should I work with the current install and not create a new one?
Next week I'll be looking for solutions again, but in the meantime I'd like to hear suggestions.
I found this great article.
http://adamjohnsondesign.com/blog/upgrade-concrete5-with-minimal-do...
Tried it, it seems to work, but not with the particular site I'm working with. If you have altered the config/site.php, it wont work unless you remove the lines referencing updates.
But, if I remove any lines in the site.php referring to an update, my site breaks entirely, File not Found.
I thought about starting with a fresh install and moving everything over.. umm.. headache! Not to mention 5.5.2 is completely different. I couldn't figure out how to get all the pages back, phpMyAdmin through an error. I'm not even trying to use a fancy theme at this point.
Would it be easier to create a new c5 altogether (in a sub directly of the root) then migrate the current database and data to the new install? How would the migrating work? Is there a potential problem with my database, how would I find out?
Or should I work with the current install and not create a new one?
Next week I'll be looking for solutions again, but in the meantime I'd like to hear suggestions.
I guess he's talking that the upgrade process seems hard if you do it manually. I personally prefer manual upgrades from various reasons but I guess he's just not aware of the built-in upgrade functionality.
If you don't want to follow the built-in updater and you also want to minimize downtime, just do this.
1. Upload the new concrete5 core to the updates/ directory yourself.
2. Unzip it there or wait til the FTP finishes.
3. Navigate to Dashboard > Update, and you should see the new core listed as a new version.
4. If there are multiple cores, select the one you want to update to.. Otherwise just click the button to upgrade.
The upgrade instructions that reference manually replacing the concrete/ directory will still work (although they will be a little weird if you jump between these two different methods of updating) but they're a little out of date. Now that the updates/ directory exists you can put a core in there yourself or download it from us at your leisure. There shouldn't be any appreciable down time.
1. Upload the new concrete5 core to the updates/ directory yourself.
2. Unzip it there or wait til the FTP finishes.
3. Navigate to Dashboard > Update, and you should see the new core listed as a new version.
4. If there are multiple cores, select the one you want to update to.. Otherwise just click the button to upgrade.
The upgrade instructions that reference manually replacing the concrete/ directory will still work (although they will be a little weird if you jump between these two different methods of updating) but they're a little out of date. Now that the updates/ directory exists you can put a core in there yourself or download it from us at your leisure. There shouldn't be any appreciable down time.
If there's a lot of overrides or version specific blocks, it might get complicated - but those cases are certainly the minority for me.
What is the actual issue you are having? You mention others have it too. I'm not following.