[documentation] [Documentation bug] UPGRADE.txt needs better explaination of what "Remove all Old Drupal Files" are.

protocol drupal-docs at drupal.org
Mon Oct 2 22:55:22 UTC 2006


Issue status update for 
http://drupal.org/node/87124
Post a follow up: 
http://drupal.org/project/comments/add/87124

 Project:      Documentation
 Version:      <none>
 Component:    Installation
 Category:     bug reports
 Priority:     critical
 Assigned to:  Anonymous
 Reported by:  traemccombs
 Updated by:   protocol
 Status:       active

I have found the best way to upgrade from one version to anther is like
this.


Check the new version has all the modules you need. Then backup your
database (mysqldump -p database > databasebackup.mysql) and then move
your current drupal dir to a backup (mv www www-old) and create a new
dir with same permissions. untar the new drupal into the dir ( I also
make a file called version.txt and put the version number of the drupal
im using in there ) and then setup the sites/settings/default.php file. 


Next I copy all the modules (the new ones for this new version) into
the modules dir. After that I will login and then make sure the page
shows up, even if some stuff is broken, as long as I can login im happy.
 If not then I edit the update.php file and change the line that says
$access_check = TRUE; and then go to http://sitename/update.php and let
it do its thing. 


Once that is done I go into admin/modules and enable all the modules
one by one to make sure they all work as expected. After that I try
'port' the old theme accross, or see what new ones there are that i can
use as a starting point.




protocol



Previous comments:
------------------------------------------------------------------------

Mon, 02 Oct 2006 22:35:55 +0000 : traemccombs

I've been using Drupal for over 3 years, and every time I go to do an
upgrade of a site, I get nervous and scared.  It's a terrifying thing. 
Typically, I just say screw it and don't mess with it.  (Considering the
number of Drupal sites I've set up, that is scary).


I find in the UPGRADE.txt that it is not descriptive enough in step 3. 



It should tell you EXACTLY what to remove.  Not just tell you to
"remove old Drupal files".




------------------------------------------------------------------------

Mon, 02 Oct 2006 22:41:02 +0000 : chx

something along the lines "remove includes and modules" directory would
work. of course with ample backup. this gets rid of contrib sometimes?
no problems, your contrib needs upgrade anyways.




------------------------------------------------------------------------

Mon, 02 Oct 2006 22:46:02 +0000 : FiReaNG3L

+1 from me, as apparently I've been doing it the BAD way : i.e, copying
everything over my old files. It potentially leaves old core modules /
files that were removed in that version, and that could cause problems.
I suggest we put a warning against this in the new upgrade.txt.






More information about the documentation mailing list