Table of Contents
Step-by-step Upgrade Procedures1. Download the v2.2 CiviCRM Package
2. Take the Site Offline (for production site upgrades)When upgrading a production site, it is recommended that you take your site offline during the upgrade process. 3. Backup your CiviCRM databaseRefer to the http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html or http://wiki.cihar.com/pma/FAQ_6.4|phpMyAdmin documentation] if you need information on backing up your database. 4. Backup and then delete all 2.1 code filesCiviCRM will not run properly if 2.1 files are present after the upgrade. Make sure you have a good backup of your complete 2.1 installation and then delete /sites/all/modules/civicrm.
5. Unpack the 2.2 package and verify permissions
6. Run the Upgrade scriptThis step is required for ALL upgrades.
* Point your web browser to the following URL (you should already be logged in to Drupal with administrator-level permissions):
7. Verify and Update Resource URL SettingsIf you are running this installation in a different directory from your 2.1 site you may need to update the configured CiviCRM Resource URL (Missing icons and images, as well as problems with javascript functions and stylesheets are all symptoms that this setting needs to be updated.)
8. Enable ComponentsIf you plan on using the new CiviCase component, or any components that you weren't using in the prior version (e.g. CiviPledge or CiviGrant for grant management) - you'll need to enable these component(s):
If you have been using Cases in 2.1 and / or want to start using the CiviCase component, you will also need to complete additional configuration steps. Learn more... 9. Review and Update Drupal Permissions Settings
10. Clear Views' cache (for sites using Views 2 integration)
11. Put the Site Online (for production site upgrades)
Upgrade Trouble-shootingCheck this section for answers to upgrade problems. If your problem isn't addressed here, check out the Installation and Configuration Trouble-shooting page for additional resources.
Reset Your User SessionIf you are getting foreign key constraint errors when trying to add or modify records, you may need to reset your user session.
Verify and Update Base Directory and Base URL Settings in the DatabaseIf you are seeing problems with missing images or page styling, you may need to adjust the Base Directory and Base URL Settings in the database. You can do this from: Verify and Update Configuration Settings FileCiviCRM v2.1 stores most configuration settings in the database. However values needed to load the code and database are stored in the settings file and may need to be updated prior to beginning the upgrade process if you are upgrading a copy of your working 2.1 site: <drupal home>/sites/xxx/civicrm.settings.php.
A fatal error appears when I try to load a CiviCRM page.This error likely indicates that the new CiviCRM configuration file is not in the expected location or that the $civicrm_root setting is incorrect. See step 3 above. Foreign Key Errors or Warnings During the Database UpgradeForeign keys may have been assigned different names on some installations. Also, different versions of MySQL handle the dropping and adding of constraint checks differently. Try this procedure or this procedure (on the forum) to reload your data into a new 2.0 database structure if you are having this type of issue with upgrading your database. Calendar widget doesn't work (throws a Javascript error), and/or CiviMail scripts for open tracking, SOAP authentication, etc. don't function.If your CiviCRM codebase is NOT located in either <drupal root>/modules/civicrm or <drupal root>/sites/all/modules (i.e. you are using a symlink from there to your codebase) - you will need to create a local file in the top-level directory of your codebase which points to the location of your drupal sites directory. Access Forbidden (403) Error After UpgradeThis may be caused by directory permission settings. Make sure your <drupal home>/files/civicrm directory is set with chmod a+rwx -R Reset config_backendHaving strange problems with Administrative settings forms after upgrade? Try this: http://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=2981949 or try deleting all files in [yoursite]/files/civicrm/templates_c/
|
Upgrade Drupal Sites to 2.2
Skip to end of metadata
Go to start of metadata
Labels: