Step 8 says:

"Copy your backed up "files" and "sites" directories to the Drupal
installation directory. If other system files such as .htaccess or
robots.txt were customized, re-create the modifications in the new
versions of the files using the backups taken in step #1."

However, I think it would be better to instruct the user to copy (sites/all) but maintain the 6.x file of default.setting.php and copy in the required lines (db and site url). If this is not done, in my best guess, I've noticed there have been additions to the setting.php file which I might have lost had I just copied my entire /sites folder from my 5.x backup.

Comments

cozzi’s picture

Category: task » support
cozzi’s picture

To clarify - The above is in reference to the UPGRADE.TXT file delivered with D6.6. I am following this document of instructions to upgrade from 5.10.

alexanderpas’s picture

Title: UPGRADE.TXT inacurate regarding the coping of the sites dir » UPGRADE.TXT inacurate regarding settings.php
Project: Documentation » Drupal core
Version: » 7.x-dev
Component: Correction/Clarification » documentation
Category: support » bug

D6 settings files is notably different from D7 settings files.

cozzi’s picture

Version: 7.x-dev » 6.6

What you state about D7 is my point exactly. But, I'm sorry about the misplaced post and now I see where I went wrong.

When I posted I didn't see how to select the version and now you think I was pointing this out in D7. I am actually suggesting a fix in the D6 UPGRADE.TXT. As I noticed a difference in my settings.php between my D5 to the newer D6, and had I followed the UPGRADE.TXT instructions I would have ended up copying in my D5 setting.php to my D6 sites/default folder (not telling what problems this might have exhibited now or in the future.

alexanderpas’s picture

Version: 6.6 » 7.x-dev

first implement into D7, then backport to D6

and it was not misplaced ;) just clarified placement after reviewing the issue ;)

jhodgdon’s picture

Status: Active » Closed (fixed)

I think that the current text in Drupal 7's UPGRADE.txt is OK in this regard. It says:

1.  Backup your database and Drupal directory - especially your "sites"
    directory which contains your configuration file and added modules and
    themes, any contributed or custom modules in your "modules" directory,
    and your "files" directory which contains uploaded files. If other files
    have modifications, such as .htaccess or robots.txt, those should be
    backed up as well.

    Note: for a single site setup, the configuration file is the "settings.php"
    file located at sites/default/settings.php. The default.settings.php file
    contains a clean copy for restoration purposes, if required.


Actually, the Drupal 6 file currently says exactly the same thing. So I think this issue has been taken care of.