By mil1ion on
Does anyone have any idea on how to help me upgrade from drupal 6.10 to 6.11? I downloaded 6.11 and put it on my server, but I need help on how to migrate over so that I still keep all my settings and look and modules and everything and put them on 6.11. I don't even really want my visitors to notice that I've changed it (except for when I'm in maintnence mode). All help would be appriciated. The help guide on this site for upgrading isn't really helping me for preserving my settings and stuff.
Comments
typically
on minor releases, you simply overwrite the old files with the new ones. (I use ftp for this.) Your settings.php file is safe (as long as you didn't rename the new default.settings.php file) and your sites/all/modules and /themes/ will still exist. As well as your /files/ files.
Backup your database (and your .htaccess if you changed it) and if you're concerned, your settings.php file, too.)
It's not as scary as it seems!
~silverwing
This update takes only a few
This update takes only a few minutes (no major changes).
- Set the site offline
- Upload/overwrite everything (except your /sites subdirectory and maybe your .htaccess and robots.txt files if you have made any customizations)
- Run update.php
- Set your site online.
I assume that you haven't edited core files or themes. Your additional installed modules or themes won't be affected (they should be under /sites).
> - Upload/overwrite
> - Upload/overwrite everything (except your /sites subdirectory and maybe your .htaccess and robots.txt > files if you have made any customizations)
Hmm there seem to be some issues:
1.) I cannot simply upload drupal-6.11.tar.gz to the base directory of my DruPal installation and extract it.
The extraction will overwrite everything. So I have to extract the new version locally then delete the
/Sites branch, .htaccess and robots.txt
2.) I have to delete the settings.php file (which you did not mention) as well
3.) Then I have to upload everything to my server
4.) What about old unnecessary files? Assume v6.10 contains a file somestuff.php or outdated.html
which is not longer needed i v6.11. Then this needless file is NOT removed. This is not a clean upgrade!
Peter
-
Anyone reading this, notice that I said "this update". Those were not general advice.
4. There are no added or removed files between 6.10 and 6.11.
Also, sometimes people have intentionally added some files which must remain there (for example an includes/image.imagemagick.inc file according to the installation instructions of the image module).
2. As I mentioned, you shouldn't overwrite the /sites directory, and that is where settings.php would be. But actually there is no settings.php file in a D6 package, just a default.settings.php which you wouldn't mind overwriting (but it hasn't changed between 6.10 and 6.11, so it's pointless)
1,3. To overwrite everything except /sites you could upload/unpack somewhere else, remove the /sites directory from the upload, maybe rename .htaccess and robots.txt to .htaccess-NEW and robots.txt-NEW if necessary, and move/overwrite everything.
Uploading the selected unpackaged files with FTP or SFTP is annoyingly slow and less reliable, so I prefer the above if I have shell access.