drupal 6 to 7 upgrade checklist
Log in as user ID 1 (the site maintenance user) set site as offline
disable all modules except for Core required/optional
If you know that you will not re-enable some modules for Drupal 7.x and you no longer need their data, then you can uninstall them under the Uninstall tab after disabling them.
-
On the command line or in your FTP client, remove the file
sites/default/default.settings.php
-
Remove all old core files and directories, except for the 'sites' directory and any custom files you added elsewhere.
If you made modifications to files like .htaccess or robots.txt, you will need to re-apply them from your backup, after the new files are in place.
- If you uninstalled any modules, remove them from the sites/all/modules and other sites/*/modules directories. Leave other modules in place, even though they are incompatible with Drupal 7.x.
tar -zxvf drupal-x.y.tar.gz
This creates a new directory drupal-x.y/ containing all Drupal files and directories. Copy the files into your Drupal installation directory:
cp -R drupal-x.y/* drupal-x.y/.htaccess /path/to/your/installation
If you do not have command line access to your server, download the archive from http://drupal.org using your web browser, extract it, and then use an FTP client to upload the files to your web root.
-
Re-apply any modifications to files such as .htaccess or robots.txt.
-
Make your settings.php file writeable, so that the update process can convert it to the format of Drupal 7.x. settings.php is usually located in
sites/default/settings.php
-
Run update.php by visiting http://www.example.com/update.php (replace www.example.com with your domain name). This will update the core database tables.
If you are unable to access update.php do the following:
-
Open settings.php with a text editor.
-
Find the line that says: $update_free_access = FALSE;
-
Change it into: $update_free_access = TRUE;
-
Once the upgrade is done, $update_free_access must be reverted to FALSE.
-
Backup your database after the core upgrade has run.
-
Replace and update your non-core modules and themes, following the procedures at http://drupal.org/node/948216
-
Go to Administration > Reports > Status report. Verify that everything is working as expected.
-
Ensure that $update_free_access is FALSE in settings.php.
-
Go to Administration > Configuration > Development > Maintenance mode. Disable the "Put site into maintenance mode" checkbox and save the configuration.