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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • version upgrade - instructions
Pages: [1]

Author Topic: version upgrade - instructions  (Read 13106 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
version upgrade - instructions
March 05, 2008, 11:30:04 pm
Hi,

I didn't do my Beta 2-3 upgrade very cleanly so I want to clarify the steps for upgrading from beta 3 to 5. Here is what I think they are:

1) download latest version from Sourceforge. Untar it & ftp it up to somewhere on the server (or untar & ftp in place)
2) Back up mysql database
3) take site off-line in Drupal (Administer » Site Configuration » Site Maintenance)
4) move (or otherwise backup & delete exisiting sites/all/modules/civicrm/ folder)
5) move new install up onto the site
6) in mysql or php my admin:
"TRUNCATE TABLE sessions;"
7) copy back your civicrmsettings.php file from previous install
8) copy back any .tpl files you previously edited
9) run
http://classes.org.nz/index?q=civicrm/admin&sessionReset=2&directoryCleanup=1
- does this delete the files/civicrm/templates_c/ directory?

Will doing steps 1,2,3,8,9,10,14 of http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrade+Drupal+Sites+to+2.0 achieve the above? Can I avoid having to copy back files like the settings file & the edited .tpls? i.e. will an in-place copy work?
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

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: version upgrade - instructions
March 06, 2008, 04:32:14 am

a few minor corrections:

for steps 4 and 5: you can just overwrite the module with the new code base

doing the above means u can skip step 7

dont edit any tpl files from the code base, instead use the custom template path and put it outside the civicrm directory (if u do the above, u can also put it within civicrm, but i dont think this is a good idea)

for step 9, u'll need to ensure that debug is enabled in administer civicrm >> global settings >> debugging

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: version upgrade - instructions
March 08, 2008, 11:02:04 am
Thanks very much.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: version upgrade - instructions
March 13, 2008, 11:58:14 pm
Just wondering - could the "TRUNCATE TABLE sessions;"  be added to the ?q=civicrm/admin&sessionReset=2&directoryCleanup=1 ? This deletes the thingee directory doesn't it
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

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: version upgrade - instructions
March 14, 2008, 01:05:49 am

actually sessionReset=2 clears out the current users session.

truncating the session table is a bit too big of a change to another database, that we refrained from doing so :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: version upgrade - instructions
March 14, 2008, 01:53:17 am
OK - is the truncate sessions required or is the url way enough?
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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • version upgrade - instructions

This forum was archived on 2017-11-26.