Reply To: Moving between servers

We're upgrading our support forum. Replies are currently closed. Please view our Documentation and FAQ using the menu above.

Okay, here is what I have done so far and seems to work out pretty well.

notice: if you have tried UCM on a test environment and now want to move to a live server you can find what I did in order to make it work
Backup your db
First thing first 🙂 Before starting anything just back up your database! Here is a tutorial if you do not know how to do it.
After saving your .sql file to a safe place proceed to next step.
Back up your files
Your UCM installed loacally?
Find your files where you placed them on your HDD and get ready to upload your live server!
Your UCM is installed on a server?
From your web disk management or your favorite FTP client get to your files and download them to move your live server.
Get your db ready
Now it is time to upload your database to live server, if you are using phpMyAdmin here is a as well.
Restoring does not end so good because your old adress (i.e.: localhost) is written all over in your database. I used a small script to find all adress fields and change them at once. You can find the small PHP file . ***Please note: If you use this PHP file delete it after using it!
Copy your old files to the server
This step is pretty simple! Just copy everything to your new server. But a small warning here, keep your folder name same. As an example, on my local server it used to be in http://localhost/ucmpro/ than on my live server I changed it to /ucm and some logos needed to be updated. OR you can change adress + patch with searchandreplace2.php (which I did not mind on my try:) )
Edit your config.php file
Under your includes/ folder there is a config.php , just open it and edit as needed about your db, usr name and pass info so application can reach to database.
Notice: even changing your data system might give some error, refresh the page and it gets ok. Do not know why, work that way on my trial.

Run your app
Try to run your application, probably might get a few warning but everything hopefully works great!

Extras
Even using searchandreplace2.php did not changed some links? On settings page is it redirecting you to your old server? Than try this:
http://newhost/ucm_folder/?m%5B0%5D=config&p%5B0%5D=config_admin&m%5B1%5D=config&p%5B1%5D=config_basic_settings
and here change URL for your system to your new adress!

Hope this help, and thank you for this great application!

sleexmxReply To: Moving between servers