<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Riscy Business</title>
  <subtitle>My personal information repository</subtitle>
  <link rel="alternate" type="text/html" href="http://riscy.biz/node/164"/>
  <link rel="self" type="application/atom+xml" href="http://riscy.biz/node/164/atom/feed"/>
  <id>http://riscy.biz/node/164/atom/feed</id>
  <updated>2008-03-30T14:41:58+11:00</updated>
  <entry>
    <title>Upgrading Drupal from 5.7 to 6.1</title>
    <link rel="alternate" type="text/html" href="http://riscy.biz/node/164" />
    <id>http://riscy.biz/node/164</id>
    <published>2008-03-30T14:41:11+11:00</published>
    <updated>2008-03-30T14:41:58+11:00</updated>
    <author>
      <name>Riscy</name>
    </author>
    <summary type="html"><![CDATA[<p>
Well 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.
</p>
<p>
The biggest problem was that the update doesn'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.
</p>
<p>
The problem is the migration of the image, file and node tables into the new format. The normal upgrade doesn't care about the image module and removes an essential field.
</p>
<p>
I posted the details <a href="http://drupal.org/node/223255" target="_blank">here:</a>
</p>
<p>This issue is caused by the upgrade procedure deleting the nid field<br />
files table before the image module update has a chance to get to it. I<br />
spent most of this weekend working this out. What you need to do (make<br />
sure you have a database backup) is to get ready for the upgrade to 6.1<br />
then when you run update.php, click on the select versions button and<br />
set all of the modules to 'No updates available' except for image<br />
module. You will get lots of errors but now you can run update.php<br />
again but this time you need to go and select the earliest version 6 update for all modules except image.</p>
<p>
If you need more details just leave a comment and I'll get back to you.
</p>
    ]]></summary>
    <content type="html"><![CDATA[<p>
Well 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.
</p>
<p>
The biggest problem was that the update doesn'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.
</p>
<p>
The problem is the migration of the image, file and node tables into the new format. The normal upgrade doesn't care about the image module and removes an essential field.
</p>
<p>
I posted the details <a href="http://drupal.org/node/223255" target="_blank">here:</a>
</p>
<p>This issue is caused by the upgrade procedure deleting the nid field<br />
files table before the image module update has a chance to get to it. I<br />
spent most of this weekend working this out. What you need to do (make<br />
sure you have a database backup) is to get ready for the upgrade to 6.1<br />
then when you run update.php, click on the select versions button and<br />
set all of the modules to 'No updates available' except for image<br />
module. You will get lots of errors but now you can run update.php<br />
again but this time you need to go and select the earliest version 6 update for all modules except image.</p>
<p>
If you need more details just leave a comment and I'll get back to you.
</p>
    ]]></content>
  </entry>
</feed>
