[cosmo-dev] Cosmo db migration failure/corruption

Randy Letness randy at osafoundation.org
Fri Oct 26 08:20:27 PDT 2007


Yes, this is a bug.  I opened 
https://bugzilla.osafoundation.org/show_bug.cgi?id=11148 Did you backup 
your database before running migration?  If so, then you can continue to 
use 0.7.x until this bug is fixed.  Otherwise the failed migration 
probably put the db into an unusable state.

-Randy

Mike Dawson wrote:
> The problem seems to be in 
> cosmo-migration-0.8-jar-with-dependencies.jar/110-to-120-Derby-pre.sql:
>
> update attribute set etag='';
> update stamp set etag='';
>
> Removing the semi-colons allows it to run without error.
>
> Cosmo still fails to start for me though - did my db get corrupted by 
> running the failed migration on it?



More information about the cosmo-dev mailing list