Support (offered by community volunteers) > Alpha and Beta Release Testing
version upgrade - instructions
Eileen:
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?
Donald Lobo:
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
Stoob:
Thanks very much.
Eileen:
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
Donald Lobo:
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
Navigation
[0] Message Index
[#] Next page
Go to full version