Reply to comment

Drupal upgrade easier

Tagged:
2012-02-02: Updated patch files to Drupal 7.12 and 6.24.

The standard procedure to upgrade Drupal to the latest release is to download it from drupal.org and follow the included UPGRADE.txt.

For administrators using the UNIX shell it may be easier using the attached patch files below instead of downloading and installing the newest complete Drupal release.

To patch your Drupal installation follow UPGRADING.txt up to "5. Remove all of the old files and directories from the Drupal installation directory." Go on using this commands:

  • cd DRUPAL-ROOT
  • Dry run: patch -p1 --dry-run < PATCHFILE
  • Patch: patch -p1 < PATCHFILE

Proceed with UPGRADING.txt from 8. Verify the new configuration file to make sure it has the latest and correct information.

(If you are impatient just run the 3 commands above. Be warned: this may break your Drupal installation so make sure to have a backup at hand.)

Warning

If you get errors like Reversed (or previously applied) patch detected or 1 out of 2 hunks FAILED while running the patch dry run (second command above) immediately interrupt patching and upgrade following the steps explained in UPGRADING.txt.

Use this patch files on your own responsibility. I don't guarantee the proper function of the patch files on Drupal installations other than my own.

Note: If the patch process gets interrupted and leaves a mix of patched and unpatched files you may re-run it by ignoring already patched files after eliminating the reason of the interruption:

  • patch -p1 -N < PATCHFILE

You may savely remove reject files created during that process:

  • find . -name "*.rej" | xargs rm

Patch files

Drupal 7

Release notes: http://drupal.org/node/1168946

To verify the integrity of the patch files use this MD5 hashes:

MD5 (drupal-7.0-to-7.12.patch) = bdf6fe35f4119d6fe6beabd27e3a79cc
MD5 (drupal-7.1-to-7.12.patch) = 7eb15667a57dce213998ed00df7bb8d2
MD5 (drupal-7.10-to-7.12.patch) = 2ea8a566352ea48a6bc6a3af6cbe66c9
MD5 (drupal-7.11-to-7.12.patch) = 045a3cd6612df55a3e84453cf633022e
MD5 (drupal-7.2-to-7.12.patch) = b6cadb096977b7a6040cd8709e6f31f7
MD5 (drupal-7.3-to-7.12.patch) = 0276bea335d069886e9405f79e50ce84
MD5 (drupal-7.4-to-7.12.patch) = 729478c0494ef01afb5568b90986ad68
MD5 (drupal-7.5-to-7.12.patch) = d5987c20da58deaa06b3939ea4cb6180
MD5 (drupal-7.6-to-7.12.patch) = 61d185a79f9c7e934d144b7f0e5846ec
MD5 (drupal-7.7-to-7.12.patch) = 24f267a8019f59f7845440bcfeae0414
MD5 (drupal-7.8-to-7.12.patch) = 7abce666f8a12a389c5add4dfeec1548
MD5 (drupal-7.9-to-7.12.patch) = 4cfc446f5ea5b887e6fbb82869f35b33

Drupal 6

Release notes: http://drupal.org/node/1168950

To verify the integrity of the patch files use this MD5 hashes:

MD5 (drupal-6.0-to-6.24.patch) = e3f5ed0f610daf5a3550f761cbc601ea
MD5 (drupal-6.1-to-6.24.patch) = 5eb6edaa9e4a4265fa73ba400272a40b
MD5 (drupal-6.10-to-6.24.patch) = 18886f3cd358e9a9c88a934ac1cc1d6e
MD5 (drupal-6.11-to-6.24.patch) = f2259ad6d69748939fd231235e00bf73
MD5 (drupal-6.12-to-6.24.patch) = eeb530eb1b27f8955d012f592fef9ac6
MD5 (drupal-6.13-to-6.24.patch) = 768aa8b313855dd517f074a11524cc8b
MD5 (drupal-6.14-to-6.24.patch) = 2a615a274551a57fdc08b376d73d1ebc
MD5 (drupal-6.15-to-6.24.patch) = 8d8ed508bda23aada8b8480ae4d20677
MD5 (drupal-6.16-to-6.24.patch) = 7bb396e2bb52ac4b5f8ec438efbbd898
MD5 (drupal-6.17-to-6.24.patch) = d4b8106b98be474fcc11d7cbdbd03be6
MD5 (drupal-6.18-to-6.24.patch) = 64a91e9fbbf954986f32de209fb93939
MD5 (drupal-6.19-to-6.24.patch) = 5808eb4818c114bc2023a3566acc0674
MD5 (drupal-6.2-to-6.24.patch) = b601767a9468ee3a28e8d3a2f6a8ce82
MD5 (drupal-6.20-to-6.24.patch) = 40e592a880ea7753ff927461d4e5c804
MD5 (drupal-6.21-to-6.24.patch) = 5ce2a7a7af3114a6b303bbd4d5fadf26
MD5 (drupal-6.22-to-6.24.patch) = 2c6f27241641d0bbe5c4006f52edbde7
MD5 (drupal-6.23-to-6.24.patch) = bb7d7fd6398b898b88a3e67ca5e7b531
MD5 (drupal-6.3-to-6.24.patch) = 0475227fb87884be4241edbe1740bdc8
MD5 (drupal-6.4-to-6.24.patch) = d99c290148f2ff23a0c10e1c8675fc93
MD5 (drupal-6.5-to-6.24.patch) = ae15f710fa9799629c4ab79963d18559
MD5 (drupal-6.6-to-6.24.patch) = 6272be9435ef48187c1a24c84ddae50a
MD5 (drupal-6.7-to-6.24.patch) = db5736f9ee46dcd7b189ac460c956db0
MD5 (drupal-6.8-to-6.24.patch) = a2d1526a486f4a1290f6b6e2f427b800
MD5 (drupal-6.9-to-6.24.patch) = 72a9845f4869df692bff315be1db24bc

There is also a release available which contains security fixes only: http://drupal.org/node/1168908. Drop me a message if you need that patch files too.

Drupal 5

Release notes: http://drupal.org/node/880550

To verify the integrity of the patch files use this MD5 hashes:

  MD5 (drupal-5.0-to-5.23.patch) = 13235f0c50caf2f0366403563053fbba
  MD5 (drupal-5.1-to-5.23.patch) = e2d5fc4ec6da1f1db2f83204eef03160
  MD5 (drupal-5.2-to-5.23.patch) = 13da34e36fb58f422c86c1574e26719b
  MD5 (drupal-5.3-to-5.23.patch) = dd826e692ab5e9e50ce55feac0b82673
  MD5 (drupal-5.4-to-5.23.patch) = e44a1f00549c5d39bbe359772db4ec9d
  MD5 (drupal-5.5-to-5.23.patch) = 4f06344f52f3c476e458f01c4925e987
  MD5 (drupal-5.6-to-5.23.patch) = bd31200144a9b716e4a1cad1930796f1
  MD5 (drupal-5.7-to-5.23.patch) = 598e037a8840d79509ea5c247dff975e
  MD5 (drupal-5.8-to-5.23.patch) = 2a53dedeb3b00c679ccb0dae44379789
  MD5 (drupal-5.9-to-5.23.patch) = 8dd63096cf7c5dd73e968f770f56301b
  MD5 (drupal-5.10-to-5.23.patch) = a6127a53d945659efde17a31e8037b79
  MD5 (drupal-5.11-to-5.23.patch) = 841eabce62cac99f98e77de733aeb7c6
  MD5 (drupal-5.12-to-5.23.patch) = ddb82f96ad7915e34111df4706237c11
  MD5 (drupal-5.13-to-5.23.patch) = 41bf265e25a1d6c9324e4f6c7b5ff067
  MD5 (drupal-5.14-to-5.23.patch) = 7c48dca7dd10533fe65c895d33c7be56
  MD5 (drupal-5.15-to-5.23.patch) = ae1a31e80c3b24dfa1710adecbd1cce9
  MD5 (drupal-5.16-to-5.23.patch) = 72e25e1c680b75cbc1f8b303c4d97cba
  MD5 (drupal-5.17-to-5.23.patch) = 0fee19e0808ec863284618ce8f506d6c
  MD5 (drupal-5.18-to-5.23.patch) = 997f35d8372277203e5129e9bc684f81
  MD5 (drupal-5.19-to-5.23.patch) = 6189d7c3c3139647dfd519b727d8f12f
  MD5 (drupal-5.20-to-5.23.patch) = 33d48157e036411fd336a5d9023c8644
  MD5 (drupal-5.21-to-5.23.patch) = 86cb8be7e01f576177765d670332e4fb
  MD5 (drupal-5.22-to-5.23.patch) = 94488c667c2c68d48438d81129e3edca

Upgrade major releases of Drupal

Experimental

Below are patch files to upgrade major releases of Drupal. Please try with caution.

To verify the integrity of the patch files use this MD5 hashes:

MD5 (drupal-5.23-to-6.24.patch) = b18c34d803e5212507b71317add3ac91
MD5 (drupal-6.24-to-7.12.patch) = 3f15b6fdbfe7e5b272b62cddd5e007dd

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Insert Google Map macro.

More information about formatting options