Menu
Welcome, Guest
Username: Password: Remember me

TOPIC: Moving servers

Moving servers 10 months 1 week ago #72818

  • sidolis
  • sidolis's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 0
Hi there, I am just scoping out whether SuiteCRM is suitable for my organisation and wanted to ask:

Is it easy to clone an installation and move to another server? Are there any tools for this or is it usually a manual job?

I just want to know as I am gradually building a development version and when it comes to deploying it at our main domain I wondered if it's going to be tricky.
The administrator has disabled public write access.

Moving servers 10 months 1 week ago #72834

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 10667
  • Thank you received: 1604
  • Karma: 364
It's quite movable. Normally this is a manual job and involves copying all the files in the SuiteCRM directory, and the full database contents. you can export the entire database with a single mysql command, and import is just as easy.

You should keep the versions matched: SuiteCRM must be the same version on both systems.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Moving servers 10 months 1 week ago #72836

  • sidolis
  • sidolis's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 0
Thanks pgr!

May I ask -- is this still the case if the domains are different? Surely there would have to be a bit of find-and-replace going on with the database etc.?

If there is a guide or anything that'd be good to know... again,. I am pretty proficient with LAMP stuff but it'd just be good to see the process laid out to be certain.
The administrator has disabled public write access.

Moving servers 10 months 1 week ago #72848

  • jansiero
  • jansiero's Avatar
  • Offline
  • Premium Member
  • Jan Siero
  • Posts: 149
  • Thank you received: 38
  • Karma: 15
Hi,

Domains aren't stored in the database.

Please check your config.php file which you'll find in your www root. and the following adapt accordingly:
  • site_url
  • host_name
  • db_host_name
Regards,
Jan Siero

Siero CRM Consultancy
www.siero.de
The administrator has disabled public write access.
The following user(s) said Thank You: pgr

Moving servers 10 months 1 week ago #72858

  • sidolis
  • sidolis's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 0
Thanks Jan!
The administrator has disabled public write access.

Moving servers 10 months 1 week ago #72870

  • jansiero
  • jansiero's Avatar
  • Offline
  • Premium Member
  • Jan Siero
  • Posts: 149
  • Thank you received: 38
  • Karma: 15
Hi, a small supplement: In case you use apache, and the copy is installed in different subdirectory, then make sure that the RewriteBase directive in the following file (located in the SuiteCRM webroot) is correct:
.htaccess

In case SuiteCRM is installed on a domain without subdirectory, for example: http://crm.mydomain.com then this should be:
RewriteBase	/

In case SuiteCRM is installed on a domain with subdirectory, for example: http://crm.mydomain.com/SuiteCRM then this should be:
RewriteBase	/SuiteCRM
Regards,
Jan Siero

Siero CRM Consultancy
www.siero.de
Last Edit: 10 months 1 week ago by jansiero.
The administrator has disabled public write access.
Time to create page: 0.051 seconds
Powered by Kunena Forum