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) »
  • Migrating civiCRM 4.1.2 to civiHosting
Pages: [1]

Author Topic: Migrating civiCRM 4.1.2 to civiHosting  (Read 1277 times)

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Migrating civiCRM 4.1.2 to civiHosting
December 07, 2012, 04:48:54 am
I have been using civiCRM 4.1.2 with Acquia Drupal 7 on my local server. Recently I bought a hosting at civiHosting.
When I try to migrate it, I get broken pages with an error "The file could not be created." , no matter what I do.
I have tried:
(1) as per http://wiki.civicrm.org/confluence/display/CRMDOC41/Moving+an+Existing+Installation+to+a+New+Server+or+Location
(1a) Fresh install of civiCRM on existing Drupal, and then imported the civiCRM db with ignored tables (civicrm.domain and the caches files as mentioned in the doc).
(1b) copied drupal files, and imported drupal db, and civicrm db with ignored tables. When it returned errors I created the ignored tables(without the old rows).

The permission for sites/default and all files and folders in it is 755.

Any suggestions?
« Last Edit: December 07, 2012, 04:50:50 am by Aahar »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Migrating civiCRM 4.1.2 to civiHosting
December 07, 2012, 05:03:53 am
Hello. If you can contact me offline and tell me what site this is, I will be happy to look into it and fix it for you.

Thank you.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Re: Migrating civiCRM 4.1.2 to civiHosting
December 07, 2012, 06:45:16 pm
Thanks Hershel
I am sending you an email.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Migrating civiCRM 4.1.2 to civiHosting
December 08, 2012, 11:17:07 am
Hi. I looked into this.

You actually did the CiviCRM migration perfectly. That error message you were seeing was from Drupal, not CiviCRM. The problem was that on

admin/config/media/file-system

your "Temporary directory" was not set correctly. It had a value set apparently from the old server. I fixed that and everything looks good now.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Re: Migrating civiCRM 4.1.2 to civiHosting
December 09, 2012, 08:52:27 pm
Thanks Hershel.  The page is now well formatted.

But there is still an error on visiting civicrm pages like http://mysite/civicrm/admin or http://mysite/civicrm/dashboard

Is the cause evident to you?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Migrating civiCRM 4.1.2 to civiHosting
December 10, 2012, 02:53:35 am
I deleted your Config.IDS.ini file and your templates cache and the site looks fine now. Those two items should always be deleted when migrating.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Re: Migrating civiCRM 4.1.2 to civiHosting
December 10, 2012, 08:33:53 am
Thanks again Hershel.

In my experience of migrating CiviCRM I have never had issues for not deleting the Config.IDS.ini.
It was not a requirement in earlier versions I guess.

As per http://wiki.civicrm.org/confluence/display/CRMDOC41/Moving+an+Existing+Installation+to+a+New+Server+or+Location
it does mention about the Config.IDS.ini but it seems that is applicable for Joomla and not Drupal
"4) One important change that seemed to appear with 4.1 was the need to change ONE more file in media/civicrm/ConfigAndLog/Config.IDS.ini the paths to your home directory are hard coded and MUST be changed if your home path changed in the server move. This WILL break CiviCRM if you don't make this change. "
Seems it needs to be updated in the docs too.

Thanks civiHosting!!
« Last Edit: December 10, 2012, 08:38:49 am by Aahar »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Migrating civiCRM 4.1.2 to civiHosting
December 10, 2012, 10:29:13 am
The docs had the Drupal instructions for this at the bottom. I fixed it here:

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

to make it more clear.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Migrating civiCRM 4.1.2 to civiHosting

This forum was archived on 2017-11-26.