...
Excerpt | ||
---|---|---|
| ||
How to move Blesta to a new server. |
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Warning | ||
---|---|---|
| ||
Your config/blesta.php file contains a very important encryption key that must be copied over to the new server. If you do a fresh install, and only copy your database, YOU WILL BREAK YOUR INSTALLATION. You should copy your database and all of your files. |
...
Code Block | ||
---|---|---|
| ||
////////////////////////////////////////////////////////////////////////////////
// Database
////////////////////////////////////////////////////////////////////////////////
// Database connection information
Configure::set("Blesta.database_info", array(
'driver' => "mysql",
'host' => "localhost",
//'port' => "8889",
'database' => "DATABASE",
'user' => "USER",
'pass' => "PASSWORD",
'persistent' => false,
'charset_query' => "SET NAMES 'utf8'",
'sqlmode_query' => "SET sql_mode='TRADITIONAL'",
'options' => array()
)
); |
Update DATABASE with your MySQL database name, USER with your MySQL database username, and PASSWORD with your MySQL password.
...
- Log into the client area at https://account.blesta.com/client/login and click "Manage" next to your license, then "Manage License" on the left, then check and save the "Re-Issue" option. If you obtained your license from a reseller, you will need to perform this step in their client area (which may be different), or by opening a ticket with them.
- Log into Blesta on your new server and visit Settings > System > General. Make sure all the paths are correct, update any that are not right.
- Verify that everything looks good, and then set up your cron. See Settings > System > Automation for help.
...