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

Guy Matz guymatz at gmail.com
Tue May 22 13:59:08 UTC 2018


Děkuji!!


On Tue, May 22, 2018 at 2:52 AM, Tomáš Kašpárek <tkaspare at redhat.com> wrote:

> 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 listSpacewalk-list at redhat.comhttps://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180522/90a9aab8/attachment.htm>


More information about the Spacewalk-list mailing list