Server Host Migration

I'm in the middle of migrating to a Digital Ocean server. I imported the database into the new database (with the same credentials) and transferred a copy of my old site to the new site's directory. I added the Install File back and installed UNA,  but once the new site loaded it had none of the features, modueles, or additions of my old site. Can anyone help with why this server migration didn't work?

  • 989
  • More
Replies (6)
    • Hello!

      Looks like you have problem with database. As far as I understand you have installed UNA again, but during installation UNA cleans database, thus you have no any records now.

      When you migrate the all data with files and database you don't need to install it again. Just upload files to new site's root folder and then upload database to the new server. 

      After that correct in inc/header.inc.php file the next:

      1) credentials for database

      2) paths to the root of the server

      3) site's url 

      and clean the cache and cache_public folders. 

      Now you old site should work fine. 

      • Hi Alexey,

        Thanks for the quick response! Unfortunately these tips did not work. We are getting a 500 internal server error after we have migrated the files and database. All the info in header.inc.php is correct as well. Cache and Cache_public are clean, outside of their .htaccess files. Do you have any more ideas as to what the problem could be?

        • It turns out it was a permissions error, which I fixed by changing the root and parent permissions. One last thing that isn't working properly - all the images are distorted. The background images as well as the profile pictures for users. Do you know why this is the case?

          • Hello!

            You may open the source of the page and find the link on broken image and then try to open it via browser, you should be able to see the image in browser. May be there is the same problem with permissions and owners.

            Also you may try to check server's logs, there are may be details about the problems.

            • The problem ended up being associated with the file permissions! Thank you! One last thing - after the migration, everything looks according to how it should except for all images relating to profiles. Any user made profile pictures or cover photos are either distorted or completely missing. Any ideas on how to fix this?

              • Hello!

                Do you mean on your original Dolphin site photos are destroyed? It is hard to say exactly how to restore them because need to know the cause, but if you have backup and knows where is the problem - it is not so hard. May be there are some problems with database records, then you just need to restore them in database. If files are corrupted, then restore images from backup.

                Login or Join to comment.