By Rosamunda on
Hi there!
I´ve installed using Fantastico Drupal 4.7.0
I´ve read that there´s a very important security update to 4.7.2 and that this upgrade doesn´t have ant database changes from the 4.7.1 version.
So I should upgrade first to 4.7.1 and then to 4.7.2.
I´ve read here what should I do to go straight forward to the 4.7.2 version. So, How do I update the DB´s?
Need I? Should I?
How can I know wich modules are being affected? Are affected all of them?
Can I upgrade it using Fantastico?
I´ve planned to do it firstly on a test site anyway...
Should I backup my database? Can I do that from PHPMyAdmin?
Thanks in advance!!!
Rosamunda
Comments
Upgrades.
*Always* back up the database. That's done through Export in phpMyAdmin. Make sure to select all the tables. There's a video on Drupal.org that shows you how to backup your database, step-by-step.
As for the upgrade, you only need to copy over a couple of files. The easiest way to do this is with the patches.
How To Patch?
Can someone please tell me how to apply the patches? While I have found the patch command from the handbook, I can't find one clear example that relates to the files in question.
Under Linux, this is what I found as the command:
cvs diff -u -F^f > my_bug_fix.patch
So, would I go to /drupal and enter:
cvs diff -u -F^f > 4.7.1.patch
Will this do it?
Diff vs. Patch
I believe that command creates a patch (i.e. takes a "diff"erence between the files.)
How to apply a patch.
An easier way
I din´t knew how to patch, and I din´t get that Shell stuff...
This is what people told me at the WebHostingTalk Forum and it was pretty easy to understan. Maybe this stuff helps someone :-)
Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org
Not Necessarily Easier....
I went to that forum and basically you copy the update files over your installation. But, It becomes a bit more complicated when you have a gazillion modules installed. Which is why I am wondering is ther e a simple command to apply the patches.
So, again, is there a simple command to apply the patches supplied?
You´re right... but
...please correct me if I´m wrong, but there are no big updates from 4.7.0 to 4.7.1, just tiny ones...
There are only one last question (at least for me :-) :
4.7.0 to 4.7.1 needs ONLY those two patches (1 and 2)
And 4.7.1 to 4.7.2 I need those two other patches ONLY? (1 and 2)
So, you´re right: Patching manually can be a pain in the #$% but, it´s not that much when you have to make urgent security updates and there are no much code to add...
Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org
No- the patches are only security
No, I think the patches are only the *security* updates, not all the other bug fixes included in 4.7.1 and 4.7.2. See, for example: http://drupal.org/node/65744 for a list of other changed files in 4.7.1.
I don't think it's necessary to upgrade to 4.7.1 first. The database updates, etc. will be included in the 4.7.2 distribution. Just replace all the core files and modules and then run the update script: mysite.com/update.php while logged in as user #1.
Note that to get all the security changes to take effect, go to /admin/settings and then save the settings.
---
Work: BioRAFT
Thanks. But, one last time.... Is there a patch command?
That actually seems like a good way to go. Untar the package, then copy the whole thing over your current distribution, overwriting the files that exist (except the settings.php files). Run update.php and that should do it.
But, one last time: Is there a command to apply the 4.7.2 patch files? If so, what is it?
Thanks!
Handbook
http://drupal.org/node/22568
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Thanks
Thanks for the link Steven
I´ve already readed it, but I´m afraid it´s not quite clear (at least for me).
Anyway, I´ve added there a comment asking for more info.
Hope someone can help :-)
Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org
patch- depends on the platform
If you're on a unix/linux/Mac OSX platform, there is a command-line program called "patch" that's used to apply patches. If you're on a Windows machine, you'll have to download a 3rd party package, such as those listed on the pages Steven refers you to.
Drupal itself does not have a "patch" command built in.
---
Work: BioRAFT
I see..
I think I´m getting this stuff a bit clearer :-)
In fact, my server is running linux, and there is my webpage.
And I connect myself to the net via IE on a WinXP.
Can you reccomend a free ´n esay 3rd party software? Or how should I google it?
I´ve searched using "free software apply patches" but it appears weird results...
Thanks again!!
Rosamunda
Command line access?
Do you have command line access (shell access) on the server? If not, spare yourself the pain and untar 4.7.2 over the current installation (you'll get some bugfixes as a bonus).
If you do have command line access, test the availability of the patch command by typing:
If you get a help page, patch is installed. Upload the patchfiles to your server, then change the working directory to the drupal install directory and issue for every patch the command:
Note: posting support requests in the handbook won't get you much; these will be deleted on sight ;)
--
The Manual | Troubleshooting FAQ | Tips for posting | Make Backups! | Consider creating a Test site.
moderation of handbook pages
Who moderates the handbook pages? I updated this one: http://drupal.org/node/63422
in response to a comment, but it seems to still be in moderation after 5 days.
---
Work: BioRAFT
OT: Handbook moderation
Several people do, occasionally this can take some time. I've reviewed & published the page. Thanks for the update.
--
The Manual | Troubleshooting FAQ | Tips for posting | Make Backups! | Consider creating a Test site.