I'm about to attempt an upgrade from 4.6.10 to 4.7. The upgrade.txt file says:

3. Remove all the old Drupal files then unpack the new Drupal
files into the directory that you run Drupal from.

So exactly what comprises the old Drupal files? Does that mean all the modules including contributed modules or only the core modules or neither? Would it make sense to feed the output of a tar tzf into a perl script that removed files of the same name?

Thanks,
Jim.

Comments

yelvington’s picture

Modules from one version of Drupal are not necessarily compatible with other versions. You will need to remove everything in the modules directory, and after upgrading, install compatible versions of the same contributed modules.

You may encounter similar issues with themes.

carlmcdade’s picture

You should do your upgrade on a copy of your site that is connected to a copy of the database. you can then remove modules that are not compatible with the upgrade and test. Though it is recommended to upgrade all modules with the upgrade it is not always necessary for each and every module. Frequently a modules will work on a upgrade with any changes. You want to find this out because sometimes a module does not get upgraded for a will or the author does not feel it is necessary.

Hiveminds Magazine
http://www.hiveminds.co.uk
for web publishers and community builders CMS Demo Matrix
Drupal Support Wiki | Drupal Sverige<

Jim44’s picture

I rsynced the files to another system and dumped the mysql db and regenerated on the other system so I have that coverered.

So if I hear what you are saying, there is no important information contained below the modules directory such as configuration, data etc? I can blow away the modules directory without suffering? What about the "files" directory? Is there anything of importance in it?

I do have backups.

Thanks,
Jim.

yelvington’s picture

The files directory is where Drupal stores data you have uploaded, so do NOT delete it.