Site migration

Permalink 1 user found helpful
I'm attempting to migrate a Concrete5 site from one server to another. To do this, I've taken a full copy of the site files, as well as the database.

The new server is a Rackspace load balanced stack (two servers, one load balancer).

I have not been unable to get the site going - Concrete5 seems to think it's not installed, and keeps redirecting to the /install page. Why?

I've checked the files are there, permissions are correct, all the obvious things.

Any suggestions on where to look?

 
hutman replied on at Permalink Reply
hutman
Did you get all the config files updated correctly? If this is 5.6 those will be in /config/site.php if it's 5.7 they'll be in /application/config
bigdogrene replied on at Permalink Reply
We're using 5.7, and yes I believe all config files are there. It's a straight copy from the old server. The only thing I have changed are the database connection details.

I cannot seem to find out which configuration file(s) specifically it is looking for though - it's rather hard to debug. It's looking for *something*, and it cannot find it, that much is clear ... :(
hutman replied on at Permalink Best Answer Reply
hutman
Usually if it can find the database it doesn't go to the install screen, so I would suggest double checking your settings in the /application/config/database.php and making sure those are correct.
bigdogrene replied on at Permalink Reply
We did have a bunch of custom environment database configuration files (test.database.php, production.database.php etc).

I decided to ignore all those, and make sure there was a plain basic database.php - then it worked.

Thanks for your help!
hshoghi replied on at Permalink Reply
I am trying to make a copy of an existing C5 site and after following the instructions here:https://documentation.concrete5.org/developers/installation/moving-a... , I get the following error:
An unexpected error occurred.
Could not convert database value "O:69:"Concrete\Core\..." to Doctrine Type object

Please help!

Thanks in advance