<div dir="ltr">I've followed the upgrade instructions but have the same problem with attachments being corrupted in <a href="http://3.8.1.">3.8.1.</a> Perhaps there is another issue that has yet to be addressed? Nobody offered any suggestions to my previous post on this subject so I assumed this was an unsolved issue still.<div>
<br></div><div>My earlier post follows:</div><div><div><span class="Apple-style-span" style="border-collapse: collapse; font-size: 16px; "><pre style="white-space: pre-wrap; word-wrap: break-word; ">I'm having a problem with corruption as well. I had missed this upgrade because I am running mysql 5.x so presumed it didn't apply. I've since run the script and everything seemed to work, but of course this is after doing the 3.8.1 upgrades. My attachments still seem to be corrupting, any suggestions? This is the output of show create table attachments:</pre>
<pre style="white-space: pre-wrap; word-wrap: break-word; ">Attachments CREATE TABLE `Attachments` (
`id` int(11) NOT NULL auto_increment,
`TransactionId` int(11) NOT NULL,
`Parent` int(11) NOT NULL default '0',
`MessageId` varchar(160) character set ascii default NULL,
`Subject` varchar(255) default NULL,
`Filename` varchar(255) default NULL,
`ContentType` varchar(80) character set ascii default NULL,
`ContentEncoding` varchar(80) character set ascii default NULL,
`Content` longblob,
`Headers` longtext,
`Creator` int(11) NOT NULL default '0',
`Created` datetime default NULL,
PRIMARY KEY (`id`),
KEY `Attachments2` (`TransactionId`),
KEY `Attachments3` (`Parent`,`TransactionId`)
) ENGINE=InnoDB AUTO_INCREMENT=4221 DEFAULT CHARSET=utf8</pre></span><div class="gmail_quote">On Sat, Oct 4, 2008 at 10:57 AM, Jesse Vincent <span dir="ltr"><<a href="mailto:jesse@bestpractical.com" target="_blank">jesse@bestpractical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
> > Yes. I've seen this dicussion numerous times in the past and know it<br>
> > to be an issue with following the upgrade path. Perhaps I didn't<br>
> > follow the previous conversation paths correctly.<br>
><br>
> That would be plausible except:<br>
><br>
> a. my RT 3.8.1 install is a brand spanking new install.<br>
><br>
> b. my RT 3.4.2 install is untouched.<br>
><br>
> c. the only thing 'upgraded' about my RT environment is the database<br>
> tables.<br>
<br>
<br>
</div>Yes. This says pretty clearly that you didn't run the tool described in<br>
the 'UPGRADING' file in the RT 3.8.1 distribution.<br>
<div><br>
<br>
> Attachments are corrupted if mail is routed to the 3.8.1 install. They<br>
> are not when routed to the 3.4.2 install.<br>
><br>
> Matt<br>
><br>
> I followed the upgrade documents to the letter in my test environment<br>
> with a snapshot of the database. The ALTER tables process might work<br>
> well for folks with a smaller data set but with 18GB of data, it takes<br>
> four hours to run on a E5310 Xeon with dedicated disks. That is far<br>
> too long to have our systems out of production.<br>
><br>
> Changing the character set of the database tables from latin to UTF<br>
> can be done far more quickly and with less risk by dumping the<br>
> database to disk, using sed to alter the dump file, and then<br>
> importing. That process is hours faster.<br>
> _______________________________________________<br>
> <a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users" target="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br>
><br>
> Community help: <a href="http://wiki.bestpractical.com" target="_blank">http://wiki.bestpractical.com</a><br>
> Commercial support: <a href="mailto:sales@bestpractical.com" target="_blank">sales@bestpractical.com</a><br>
><br>
><br>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>
> Buy a copy at <a href="http://rtbook.bestpractical.com" target="_blank">http://rtbook.bestpractical.com</a><br>
><br>
<br>
</div>--<br>
<div><div></div><div>_______________________________________________<br>
<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users" target="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br>
<br>
Community help: <a href="http://wiki.bestpractical.com" target="_blank">http://wiki.bestpractical.com</a><br>
Commercial support: <a href="mailto:sales@bestpractical.com" target="_blank">sales@bestpractical.com</a><br>
<br>
<br>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>
Buy a copy at <a href="http://rtbook.bestpractical.com" target="_blank">http://rtbook.bestpractical.com</a><br>
</div></div></blockquote></div><br></div></div></div>