When I click on the links for upgrading Drupal (either FTP GUI Client Instructions or the Unix Command Line Upgrade) I get an access denied message.

I'm happy to do the patch route from the command line, but prefer to read the instructions anyway!

Comments

xand’s picture

Not suite sure what you mean - try reading the upgrade.txt included in the base directory?

teal’s picture

Richard Sheppard@www.siliconmeadow.net’s picture

If you're reading this node:

http://drupal.org/node/65351

The section entitled "Upgrading" has these two links which are inaccessible:

http://drupal.org/upgrade/upgrading-without-a-db-upgrade

http://drupal.org/node/53798

I'd rather just run the patch file over my installation, rather than replacing my 4.7 installation with 4.7.1.

mediafrenzy’s picture

I also get "Access Denied" messages when trying to view these pages:

FTP GUI client upgrade instructions

or the

Unix command line upgrade

Richard Sheppard@www.siliconmeadow.net’s picture

Looking at the patch file, it would appear that these three files are the only modified files from 4.7.0 and 4.7.1:

includes/database.mysqli.inc
includes/database.mysql.inc
includes/database.pgsql.inc

I used the patch method (after reviewing the patch man pages) and did this:

  1. put the 4.7.0.patch file in the base directory of my installation;
  2. typed patch -p0 -b < 4.7.0.patch while in the base directory.

I think it worked.

And... I've just found this - HOWTO: Apply patches. That should be the link published in the first place for the Unix command line upgrade!

Tim99’s picture

So it would be sufficient only to replace the old include/database.mysql.inc with the new one for a Drupal 4.7.0 installation based on a mySQL database?

heine’s picture

A database upgrade is not needed. Simply remove the old drupal files and put in the new ones.
--
When your problem is solved, please post a follow-up to the thread you started.

Tim99’s picture

I wonder what is the easiest way to find out which files I have to replace. Is it possible to connect to the CVS via terminal and checkout only the changed files since release 4.7.0?

heine’s picture

Just look at the patches mentioned at http://drupal.org/drupal-4.7.1
--
When your problem is solved, please post a follow-up to the thread you started.

rayhand’s picture

I did a quick comparison between 4.7.0 and 4.7.1 and there appear quite a few more than three files that differ. Could it be the patch(s) are just for repairing security vunerabilities and that's why they only modify three file? This isn't clear to me from reading the directions. Can anyone verify?

heine’s picture

Patches are for security issues only. Some bugfixes are included in 4.7.1, so you should run upgrade.php as well.
--
When your problem is solved, please post a follow-up to the thread you started.

dsiminiuk’s picture

I upgraded to 4.7.1 by replacing all the files that were in the package. I also ran upgrade.php. On the Site configuration page Administer->Settings... General Configuation, I can set the Site Name and the database is updated with the value for it
SELECT *
FROM `variable`
WHERE name = 'site_name'

However the Name: field in the General Settings never updates on refresh.

Ooops, I found the problem. I had it set (overrides) in the setting.php file.

I hope this helps some other idiot like me. I'm such a noob.