concrete5.5.2.1 - how do I upgrade to most recent version

Permalink
Came across this problem recently when I developed a site using concrete5.5.2.1. Months later I installed concrete5.6.0.1 on a local host using the recent version. I tried to copy the older version of the site to the newest version by adding the my theme to the theme folder and that went ok. The problem came when I noticed that the older database held 126 tables but the newest version of C5 holds 167.

How do I upgrade the database from the old to the new please.

I know others must have come across this before. . . any ideas please?

Thanks :-)

 
adajad replied on at Permalink Reply
adajad
You need to do a proper upgrade from 5.5.2.1 to 5.6.0.2.

You can download the full 5.6.0.2 from the download section here at concrete5.org and do a manual upgrade.

From the downloaded package you need to extract the 'concrete' folder to your web root (replace the existing one) and then go to 'yourdomain.com/index.php/tools/upgrade' to run the upgrade script.

More info can be found here: http://www.concrete5.org/documentation/how-tos/developers/manually-...
kappi replied on at Permalink Reply
Hi thanks for the reply.

I have already installed the new version of C5 my and placed the theme inside the theme folder. This is standard procedure as far as I am aware, my problem id the database.

How do I make the older database compatible with the new C5?
adajad replied on at Permalink Reply
adajad
Rerun the upgrade script.
mhawke replied on at Permalink Reply
mhawke
As adajad mentioned, you need to run the update script from within C5.

Just to clarify... to do a manual update, you need to replace the 'concrete' folder in your site with the 'concrete' folder out of the 5.6.0.2 archive. Then you need to run the update script at this url:

www.your-site.com/index.php/tools/required/upgrade


This will add any new tables or add some new fields to existing tables required for 5.6.

I'm having a hard time understanding how you are successfully able to run the 5.6 files with a 5.5 database structure. Open up version.php found in [root]/concrete/config/version.php and see what version it says you have.
kappi replied on at Permalink Reply
Many thanks, I'll try this as soon as