Migration

Tagged:  

Hello,

Is there a way to migrate the installation to another server? Without re-installing the entire application? Thank you

Hi kokocrunch,

To migrate to another server, you will need to do the following:
- copy the ProjectPier folder to the new server (including the file and theme folders)
- export the database from the old server
- import it in the new server (preferably with the same name but you can also just change that in config/config.php)
- go to the new PP directory in a browser
Everything should work right away if the configuration of the two servers are the same. If not you might have to tweak a few things but that's it. Think about checking file permissions for example.

Let us know if you have issues with that.

Tim

One thing that has not been mentioned is to clear the cache file.

I migrated my project pier site from dev to production and found it was still referencing my development server address.

The cache can be cleared by removing the /cache/autoloader.php file. The server will recreate and insert new cached values (at least mine did).

I also found that setting define('DEBUG', false); to true will help with debugging.

Update config/config.php with:
define('DEBUG', true);

Then move back to false when you have fixed any issues.

Don't forget to set your permissions on the correct folders and update your database settings in config/config.php!

Love the pm suite! thanks.

Ryan

Hi,

I followed those steps but all the passwords seems to have changed...

Is there a particular configuration that would change the encryption settings or do I have to reset all my passwords ?

R.