CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • moving to new server
Pages: [1] 2

Author Topic: moving to new server  (Read 5811 times)

brouwser

  • I’m new here
  • *
  • Posts: 22
  • Karma: 1
moving to new server
February 17, 2010, 06:09:52 am
Hi,

I've been struggling with moving a civicrm installation to a new server. The actual situation, as a test, is that I moved it from a webserver to my local machine with WAMP on it. I tried both Kurund's suggestion (http://forum.civicrm.org/index.php/topic,11538.0.html) as well as the instruction from the online manual (http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location).

Neither are succesful and basically have the same result: I get to open the Drupal home page, all menu's appear ok (paths appear correct) but as soon as I click on any menu, it takes me to the WAMP server homepage with server configuration information on it.

Either method get me the wrong (i.e. the old) paths (which looks like the problem) when running this: /index.php?q=civicrm/admin/setting/updateConfigBackend&reset=1.

I'm obviously doing something very wrong, but can't figure out what. Could anyone suggest a way for me to proceed?

Thanks,
Erik

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: moving to new server
February 17, 2010, 09:29:06 am
Check your civicrm.settings.php if you have set correct paths, then fix config using /index.php?q=civicrm/admin/setting/updateConfigBackend&reset=1.

Finally do menu rebuild.

I would still suggest follow this instructions step by step: http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

HTh
Kurund
Found this reply helpful? Support CiviCRM

hourback

  • Guest
Re: moving to new server
February 21, 2010, 12:32:30 pm
Hi, Erik.

Any updates?  I'm going to attempt to move CiviCRM before too long and was wondering how your attempt went.

TIA,
Ali

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: moving to new server
February 21, 2010, 09:58:07 pm
Keep an eye on this issue if you are moving soon - it could make it much easier if you upgrade to 3.1.3 first

http://issues.civicrm.org/jira/browse/CRM-5862
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: moving to new server
February 21, 2010, 10:59:30 pm
Ali,

These are straight forward instructions and if you follow them correctly you won't have any issues migrating to new server

http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location


Kurund
Found this reply helpful? Support CiviCRM

brouwser

  • I’m new here
  • *
  • Posts: 22
  • Karma: 1
Re: moving to new server
February 21, 2010, 11:30:48 pm
I'm sure those instructions are straight forward. However, I haven't been able to move an installation just yet and have no idea where I go wrong.  I'll be giving it another go a few days from now. I'll keep you informed.
Regards,

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: moving to new server
February 21, 2010, 11:39:54 pm
So, your path should be

http://localhost/index.php?q=civicrm/admin/setting/updateConfigBackend&reset=1

and that fails? Or is your install in a subdirectory?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

brouwser

  • I’m new here
  • *
  • Posts: 22
  • Karma: 1
Re: moving to new server
February 22, 2010, 12:01:45 am
Hi Eileen,

The path I use is: http://localhost/kaart/index.php?q=civicrm/admin/setting/updateConfigBackend&reset=1, so yes, it's in a subdirectory. That runs alright, i.e. that takes me to the right page, but the 'new base file' and 'new base URL' haven't changed, i.e. they still refer to the "old" installation, though the paths in the civicrm.settings.php are correct (i.e. the new paths).

Any ideas where I go wrong?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: moving to new server
February 22, 2010, 12:10:15 am
But, can you change them on that page?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

brouwser

  • I’m new here
  • *
  • Posts: 22
  • Karma: 1
Re: moving to new server
February 22, 2010, 12:18:57 am
The path fields are editable, but when I save, I get the WAMP server homepage with server configuration information on it. When I go back to the config page, the paths are back to the old settings

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: moving to new server
February 22, 2010, 12:33:33 am
Have you tried setting the domain_config field in your civicrm_domain table to null?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: moving to new server
February 22, 2010, 12:36:16 am
Also, did you track down & delete this file:

Config.IDS.ini
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

brouwser

  • I’m new here
  • *
  • Posts: 22
  • Karma: 1
Re: moving to new server
February 22, 2010, 02:54:52 am
"Have you tried setting the domain_config field in your civicrm_domain table to null": I did that. The paths on the config page are now correct. Still, on clicking 'save' I'm taken to the wampserver configuration page.
I deleted the Config.IDS.ini, but though I don't know what should change, I don't seem to notice any change.

I started from scratch, but no changes. Could I send you the db for you to look at?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: moving to new server
February 22, 2010, 10:20:28 am
The problem sounds related to your local install though. I'm more familiar with xampp these days than Wampp but I am wondering about how you are defining your path.

in Windows

c:/wampp/path

OR

c:\\wampp\\path

should work but

c:\wampp\path

probably won't

You could try a clean install on your localhost & make sure that works.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

brouwser

  • I’m new here
  • *
  • Posts: 22
  • Karma: 1
Re: moving to new server
February 24, 2010, 05:23:44 am
Paths are defined c:/wamp/path....., so that should be fine.

I just noticed that a step 2 and 3 have been added to http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location, which as far as I can tell is about rights? I'm not a coder, but do you think that might be part of my problem?

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • moving to new server

This forum was archived on 2017-11-26.