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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • upgrade after CiviCRM Starter Kit installation
Pages: [1]

Author Topic: upgrade after CiviCRM Starter Kit installation  (Read 734 times)

miletus

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: drupal 7
  • MySQL version: 5.1.52
  • PHP version: 5.2.17
upgrade after CiviCRM Starter Kit installation
April 30, 2013, 06:10:26 pm
Hi,
I used the CiviCRM Starter Kit to install civicrm on my laptop WAMP.   I liked how fast it installed and all the extras (wyiswyg, webform, etc) that came with it.   But now I'd like to upgrade my civicrm but when I follow the civicrm upgrade instructions, I found that the starter kit installed civicrm in profiles/civicrm_starterkit/modules/civicrm and not the expected sites/all/modules/civicrm directory.  Part of the upgrade instructions is to remove the previous version.   Do I have to remove civicrm from the profiles directory?  Do I overlay the profiles directory with the new upgraded civicrm version or put in sites/all/modules? 

thanks.

kreynen

  • I post occasionally
  • **
  • Posts: 105
  • Karma: 8
Re: upgrade after CiviCRM Starter Kit installation
May 01, 2013, 04:38:39 am
You can upgrade CiviCRM by upgrading the entire starter kit or overriding the version of CiviCRM included in profiles/civicrm_starterkit/modules.  I try to get new releases of the CiviCRM Starter Kit packaged within 24 hours of a new CiviCRM release, but since I'm the only person maintaining the kit at this point I may not always be able to get the new version of CiviCRM packaged with Drupal as quickly as everyone wants.  (INSERT SHAMELESS PLUG FOR CO-MAINTAINERS HERE)

If the current packaged version of the starter kit includes the version of CiviCRM you want to upgrade to, you can do that by following the same process you'd use for upgrading Drupal core.  I use the command line to perform these updates and my process looks something like...

  • Export mysql databases for Drupal (and CiviCRM if it is a separate db) using mysqldump
  • From my website root (/var/www for me), download latest version of the CiviCRM Starter Kit using 'wget http://ftp.drupal.org/files/projects/civicrm_starterkit-7.x-3.1-rc3-core.tar.gz'
  • Expand that archive 'tar -xvf civicrm_starterkit-7.x-3.1-rc3-core.tar.gz
  • Rename my live site's dir 'mv sitename sitename-date'
  • Raname civicrm_starterkit to live site dir 'mv civicrm_starterkit sitename'
  • Copy my sites directory into updated directory 'cp sitename-date/sites sitename'
  • Reset directory permissions
  • Copy a mysql backup into sitename-date, compress it as a full backup
  • Run update.php to update Drupal and any contrib modules and civicrm/upgrade to upgrade CiviCRM

If the packaged version of the starter kit hasn't been updated to include the version of CiviCRM you want, you can override the version in profiles/civicrm_starterkit/modules by adding a newer version to sites/all/modules.  If you do that, you'll want to follow the instructions for changing the location http://wiki.civicrm.org/confluence/display/CRMDOC43/Moving+an+Existing+Installation+to+a+New+Server+or+Location

You can override any module included in a distribution this way.  Ideally, if everything works well with the new version or you find issues, you'd open an issue at http://drupal.org/project/issues/civicrm_starterkit letting everyone else know.  If even a few people do this, it will save new CiviCRM/Drupal users a lot of time and frustration. 


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • upgrade after CiviCRM Starter Kit installation

This forum was archived on 2017-11-26.