{"id":164,"date":"2008-03-30T13:41:11","date_gmt":"2008-03-30T02:41:11","guid":{"rendered":""},"modified":"2011-03-20T20:14:58","modified_gmt":"2011-03-20T09:14:58","slug":"upgrading-drupal-from-5-7-to-6-1","status":"publish","type":"post","link":"https:\/\/riscy.biz\/index.php\/2008\/03\/30\/upgrading-drupal-from-5-7-to-6-1\/","title":{"rendered":"Upgrading Drupal from 5.7 to 6.1"},"content":{"rendered":"<p>\nWell it took a while but I managed to get all three sites updated to Drupal 6.1. Riscy.biz and gonetogove.com actually have less features now than they did before because not all modules are up to 6.1 yet. I am also running patched versions of TinyMCE and Image Assist modules just to get by.\n<\/p>\n<p>\nThe biggest problem was that the update doesn&#8217;t work properly. DO NOT UPGRADE TO 6.1 WITHOUT A DATABASE BACKUP. I hosed Riscy.biz and Gonetogove.com because of this and had to restore an old database backup. Make sure you have a full backup first.\n<\/p>\n<p>\nThe problem is the migration of the image, file and node tables into the new format. The normal upgrade doesn&#8217;t care about the image module and removes an essential field.\n<\/p>\n<p>\nI posted the details <a href=\"http:\/\/drupal.org\/node\/223255\" target=\"_blank\">here:<\/a>\n<\/p>\n<pre>\r\n<span style=\"font-family: courier new,courier\">This issue is caused by the upgrade procedure deleting the nid field\r\nfiles table before the image module update has a chance to get to it. I\r\nspent most of this weekend working this out. What you need to do (make\r\nsure you have a database backup) is to get ready for the upgrade to 6.1\r\nthen when you run update.php, click on the select versions button and\r\nset all of the modules to 'No updates available' except for image\r\nmodule. You will get lots of errors but now you can run update.php\r\nagain but this time you need to go and select the earliest version 6 update for all modules except image.<\/span>\r\n<\/pre>\n<p>\nIf you need more details just leave a comment and I&#8217;ll get back to you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\nWell it took a while but I managed to get all three sites updated to Drupal 6.1. Riscy.biz and gonetogove.com actually have less features now than they did before because not all modules are up to 6.1 yet. I am also running patched versions of TinyMCE and Image Assist modules just to get by.\n<\/p>\n<p>\nThe biggest problem was that the update doesn&#8217;t work properly. DO NOT UPGRADE TO 6.1 WITHOUT A DATABASE BACKUP. I hosed Riscy.biz and Gonetogove.com because of this and had to restore an old database backup. Make sure you have a full backup first.\n<\/p>\n<p>\nThe problem is the migration of the image, file and node tables into the new format. The normal upgrade doesn&#8217;t care about the image module and removes an essential field.\n<\/p>\n<p>\nI posted the details <a href=\"http:\/\/drupal.org\/node\/223255\" target=\"_blank\">here:<\/a>\n<\/p>\n<pre>\r\n<span style=\"font-family: courier new,courier\">This issue is caused by the upgrade procedure deleting the nid field\r\nfiles table before the image module update has a chance to get to it. I\r\nspent most of this weekend working this out. What you need to do (make\r\nsure you have a database backup) is to get ready for the upgrade to 6.1\r\nthen when you run update.php, click on the select versions button and\r\nset all of the modules to 'No updates available' except for image\r\nmodule. You will get lots of errors but now you can run update.php\r\nagain but this time you need to go and select the earliest version 6 update for all modules except image.<\/span>\r\n<\/pre>\n<p>\nIf you need more details just leave a comment and I&#8217;ll get back to you.\n<\/p>\n<p> <a href=\"https:\/\/riscy.biz\/index.php\/2008\/03\/30\/upgrading-drupal-from-5-7-to-6-1\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[2],"class_list":["post-164","post","type-post","status-publish","format-standard","hentry","category-computers","tag-drupal"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/riscy.biz\/index.php\/wp-json\/wp\/v2\/posts\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/riscy.biz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/riscy.biz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/riscy.biz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/riscy.biz\/index.php\/wp-json\/wp\/v2\/comments?post=164"}],"version-history":[{"count":0,"href":"https:\/\/riscy.biz\/index.php\/wp-json\/wp\/v2\/posts\/164\/revisions"}],"wp:attachment":[{"href":"https:\/\/riscy.biz\/index.php\/wp-json\/wp\/v2\/media?parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/riscy.biz\/index.php\/wp-json\/wp\/v2\/categories?post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/riscy.biz\/index.php\/wp-json\/wp\/v2\/tags?post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}