3.1/3.2 schema update
Joe Marcus Clarke
marcus at marcuscom.com
Thu May 28 18:05:04 EDT 2009
On Thu, 2009-05-28 at 21:17 +0100, Matt Dawson wrote:
> HI all,
> Being a bit cautious with 1000+ packages, I waited for 3.1.1 to upgrade from
> tinderbox 3.0. The accompanying schema update succeeded, although I did notice
> that 3.1.1's ./tc Upgrade thought it was a 3.0 schema. Now I'm trying both
> 3.1.2 and 3.2 and neither is able to upgrade the schema. I'm getting:
>
> ERROR 1062 (23000) at line 3: Duplicate entry 'TINDERD_LOGFILE' for key 1
> ERROR: Failed to load upgrade database schema.
> ERROR: Database migration failed! Consult the output above for more
> information.
>
> from both. Any advice short of trashing my install and starting again? As I
> say, I have one thousand four hundred and sixty seven packages on this box and
> I really, REALLY don't want to spend weeks rebuilding the lot, including the
> jails.
It looks like you may have already applied a patch to Tinderbox to add a
TINDERD_LOG config directive. Edit the
mig_mysql_tinderbox-3.0_to_3.1.sql file, and remove the INSERT for
TINDERD_LOG, and migration should work.
Joe
>
> Any help appreciated.
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://marcuscom.com/pipermail/tinderbox-list/attachments/20090528/f36c893d/attachment.bin>
More information about the tinderbox-list
mailing list