By bvana1 on
Thanks in advance.
Ok, so a new security update just came out. What is the easiest,least painful way of updating?
------------------------------------
nevermind, it was easy. just copy and paste the contents of drupal-6.15 folder into your current folder containing your files and "overright all files" should be selected. So far, haven't noticed any problems.
Sorry to bother any of you fine peeps.
Comments
=-=
for future readers:
There is an upgrade.txt file in every download of Drupal.
There are a great deal of forum threads where this question has been answered as well which can be found with search
There are documentation pages in the documentation section working through these steps
There are also videocasts about the subject.
Rather than overwriting all files and folders:
Back up your database
delete everything except the sites folder
upload everything except the sites folder from the new download
compare default.settings.php to new one in download
if no changes ignore
if changes, ensure to make those changes to your existing settings.php file.
run update.php
done.
installing updates
I deserved that and thanks.
installing updates
Actually, this is my first time updating Drupal core. I did do a search on how to do it, and this page came up, so it was helpful to me.
Thanks to both of you.
Yeah, actually it is not that
Yeah, actually it is not that easy to find or follow the instructions for a simple update. This is by far the best guide I've found - thank you.
thanks VM
this saved my bacon
I had deleted and uploaded files, as you suggest.
I was missing the settings.php file. (I copied it over from my back up and fixed my problem.)
settings.php is located in - sites/files/all/default/
Before that, I could only see a new site installation screen. Amazing how one little file can make such a difference.
One question, if you can expand... what sort of differences should I look for between the new default.settings.php and the old settings.php?
thanks2
I had a hard time finding instructions (probably because I still don't know well how to navigate Drupal resources), and I found this post in a search, so additional thanks from me as well :)
=-=
inside every download is an update.txt file with longer instructions that will work.
I would never follow
I would never follow UPGRADE.txt for minor version upgrades.
never follow UPGRADE.txt....
Is that because of the requirement of deleting the entire site and how that affects Customized themes etc?
I used to always follow the steps of someone who would post the "incremental" update method - listing the actual files and steps required to do the upgrade. It was quick, easy and what you would think it would be. Can't find it this time around...
=-=
likely because there are steps in the upgrade.txt that are for major upgrades and aren't required for minors.
you can compare my minor upgrade steps which were dicussed previously above and compare them with the upgrade.txt file and note the differences.
VMs list above is the way to
VMs list above is the way to go, except:
- backup your current site, not just the database :)
- if you have a files folder OUTSIDE the sites folder, make sure to put it back as well.
- if you modified .htaccess, check if the file has changed in the update and apply those changes.
I usually do not delete but move the install folder, upload the upgrade, then put back the files & folders I need, then run update.php.
As to why you should not overwrite:
- old files will remain if they are removed in the update.
- FTP is unreliable. You may get amalgams of files, or the upload doesn't complete, leaving you with a frankensite.
Upgrade
I was thinking of something more like this:
http://fuerstnet.de/en/drupal-upgrade-easier
Installation Directory . . . Duh
Call me stupid, but . . .
I followed the Upgrade.txt file that came with the update. I found the instructions very good, with one exception. Steps 6, 7 and 8 refer to the "Drupal installation directory," and that threw me. I went looking for an "install" folder but couldn't find it and thought maybe I had deleted it and then thought "now what?" That brought me here, and user "VM" said "delete everything except ...." And then I realized I was just thinking too hard. Delete all folders except the "sites" folder. Everything worked fine. I am updated. If I would make a suggestion, following the instructions in the upgrade.txt file, I would give an example of the "installation directory" by listing all the folders in the root Drupal directory, like content, includes, misc, modules, etc. Just trying to help. Hope I did.
thanks for the clear advice
just the thing i wanned,
it was clear