Your site should now be properly configured for it's new location but take a moment to check that the paths configured on the following pages appear to be correct. CiviCRM › Administer CiviCRM › Global Settings Settings - Upload Directories Administer CiviCRM |
Skip to end of metadata
Go to start of metadata
Labels:

5 Comments
Hide/Show CommentsSep 10, 2008
Graham Mitchell
Base directory, or Base Dir expects the absolute path of "files" directory. In drupal 5.x, it resides just inside the drupal directory e.g drupal/files. So you 'll need to enter something like - /var/www/example.org/files/
(adjustment may be required here as per your setup).
Sep 10, 2008
Graham Mitchell
Another comment here. I followed the steps set out above, and got the following screen when I attempted to navigate to my site after completing step 4:
"Error: Could not create directory: /Users.
If you have moved your database from a development install to a production install and the direcotory paths are different, please set the column config_backend in the civicrm_domain table to NULL. You will need to reinitialize your settings in the production install."
not too sure what "You will need to reinitialize your settings in the production install." actually means, but we soldier on.
Dec 30, 2008
Yashesh Bhatia
If you are copying over the files directory too make sure that the ownership of the files directory is for the user running apache.
We rsynced the code from our staging to production server and the ownership of the files directory on the production was not
set to that of the user running apache.
$ pwd
/opt/httpd/htdocs/www/production/asfonline/sites/default/files
$ chown -R daemon:daemon civicrm
Feb 15, 2009
Michael McAndrew
Hi there,
Some things that you might like to consider when it comes to improving these instructions (I'd edit the instructions myself but not 100% about this process
).
Have moved two sites. I came across Graham and Yashesh's problems as well.
Things were redirecting back to my old URL which was confusing as both the sites looked the same. Might be worth drawing people's attention to the fact that you should be sure that you are looking at your new site.
I had to change ownership of files/ like Yashesh said
Is there any reason why files needs to be owned by www-data? I presumed that as long as it had write permission with "chmod g+w files" then things would be ok.
Following instructions on error page, I had to set config_backend in the civicrm_domain table to NULL a few times as it kept on resetting. I presume there is an optimal place in the process to do this)
The first few times I tried to reach civicrm/admin/setting/updateConfigBackend?reset=1 I couldn't get there - I saw the screen but none of the fields were visible until I cleaned my cache and reset some file permissions.
Dec 22, 2009
margal
The link published here in step 8 to rebuild the menus did not work for me: "Drupal sites: http:///civicrm/menu/rebuild?reset=1"
I was trying: http://localhost/index.php?q=civicrm/menu/rebuild?reset=1
After over a day of searching I found this link http://www.journeymm.com/blogs/drupal/clearing-civicrm-cache which did rebuild the menu cache
http://localhost/index.php?q=civicrm/menu/rebuild&reset=1
"&" instead of "?" - don't know why that made all the difference I'm using a Mac OS 10.5.8
I posted on the forum here http://forum.civicrm.org/index.php/topic,11005.0.html
I wanted to also comment on the 3.0 documentation but can't see an add comment link - http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location