Error with Database When Migrating Site?
Permalink
Hello,
So I'm transferring our site from GoDaddy to Google Cloud Platform.
I'm pretty sure I followed the steps as outlined here correctly:https://documentation.concrete5.org/developers/installation/moving-a...
I got the site theme and the company logo to show up...most of the layout is there, but I just can't get the database installed correctly. I tried different things and it gives me a new error each time. The only time the site is able to be displayed is when our current database is not imported and it is using the database that came with the core concrete5 files that was part of the install.
I ended up deleting all the tables from the database and importing the database from our current live site again. Now it shows me this when I visit the site hosted on our new server: "Class Concrete\Core\Permission\Key\AccessUserSearchUserKey does not exist" and the site is not showing. I am unable to log in as even the log in screen is not showing up.
What does this mean and how can I fix it?
Help is greatly appreciated especially since I'm on a deadline.
Thanks!
So I'm transferring our site from GoDaddy to Google Cloud Platform.
I'm pretty sure I followed the steps as outlined here correctly:https://documentation.concrete5.org/developers/installation/moving-a...
I got the site theme and the company logo to show up...most of the layout is there, but I just can't get the database installed correctly. I tried different things and it gives me a new error each time. The only time the site is able to be displayed is when our current database is not imported and it is using the database that came with the core concrete5 files that was part of the install.
I ended up deleting all the tables from the database and importing the database from our current live site again. Now it shows me this when I visit the site hosted on our new server: "Class Concrete\Core\Permission\Key\AccessUserSearchUserKey does not exist" and the site is not showing. I am unable to log in as even the log in screen is not showing up.
What does this mean and how can I fix it?
Help is greatly appreciated especially since I'm on a deadline.
Thanks!
Yes I deleted everything in the cache folder. Although I don't think I did the pretty url step....what is meant by that?
Also, I am starting to think that it may be because our site is running on Concrete5 Version 5.6.3 and the core in Bitnami for Google Cloud's Concrete5 install (the new server) is the latest version, 8.3.2. Wouldn't the database versions and even the core files conflict since it is so out of date?
I tried updating the site on our current server manually from 5.6.3.5 to 5.7.3 (read that it takes several updates to update to 8.3.2). I put the file in the "updates" folder and it looks correct. But it isn't showing up in the dashboard to update. It's still not detecting that any updates are available (please see screenshots). I even cleared out cache. What gives?
Thanks.
Also, I am starting to think that it may be because our site is running on Concrete5 Version 5.6.3 and the core in Bitnami for Google Cloud's Concrete5 install (the new server) is the latest version, 8.3.2. Wouldn't the database versions and even the core files conflict since it is so out of date?
I tried updating the site on our current server manually from 5.6.3.5 to 5.7.3 (read that it takes several updates to update to 8.3.2). I put the file in the "updates" folder and it looks correct. But it isn't showing up in the dashboard to update. It's still not detecting that any updates are available (please see screenshots). I even cleared out cache. What gives?
Thanks.
There is no easy way to upgrade from 5.6 to 5.7+. There's a migration tool on github (I think) that does some of the work, but it's a non-trivial exercise.
Yikes, I just read about this. Looks like I would have to use the migration tool since the entire folder structure changed and the php version too.
It doesn't seem like the add ons that are activated on our current site (running on Concrete 5.6.3) are available anymore. Is there any way I can easily salvage the old add-ons from our current "packages" folder or do I have to pick new ones? I tried adding it to the packages folder and while it does show up in the dashboard, I can't install it (probably because of compatibility issues). The exact error message under it is "Broken package (handle pc5_instant_gallery)".
It doesn't seem like the add ons that are activated on our current site (running on Concrete 5.6.3) are available anymore. Is there any way I can easily salvage the old add-ons from our current "packages" folder or do I have to pick new ones? I tried adding it to the packages folder and while it does show up in the dashboard, I can't install it (probably because of compatibility issues). The exact error message under it is "Broken package (handle pc5_instant_gallery)".
It would be a miracle if any of the legacy add-ons are compatible with c5.7+. You'd need to pick new ones or have the old ones overhauled (and the latter would not be trivial).
By default, I don't think the migration tool attempts to convert data used by add-ons, so that could be an issue too.
By default, I don't think the migration tool attempts to convert data used by add-ons, so that could be an issue too.
Also, before you moved the site did you turn off pretty urls, and cache?