[Spacewalk-list] Upgrade 2.7 -> 2.8: schema upgrade fails

Tomáš Kašpárek tkaspare at redhat.com
Tue May 22 06:52:25 UTC 2018


Hello,

have you restored the database from backup after you've applied patch 
from https://bugzilla.redhat.com/show_bug.cgi?id=1576002?
It seems like you've applied patch after the schema upgrade failed and 
you're trying to restore the schema-upgrade process. Unfortunately, this 
is not how it works with schema upgrade and you need to go back to prior 
version of schema from backup and restart the schema-upgrade process 
completely.

Tomas

On 05/21/2018 10:37 PM, Guy Matz wrote:
> Hello!  When trying to upgrade from 2.7 to 2.8, I got this error 
> during /usr/bin/spacewalk-schema-upgrade:
>
> null value in column "nevra_id" violates not-null constraint
>
> I tried making the changes in the schema upgrade patch here:
> https://bugzilla.redhat.com/show_bug.cgi?id=1576002
>
> But now I get:
> # /usr/bin/spacewalk-schema-upgrade
> Unknown schema name [(0 rows)] found.
>
> Any thoughts would be greatly appreciated.
>
> Thanks,
> Guy
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180522/0a1a02fa/attachment.htm>


More information about the Spacewalk-list mailing list