<div dir="ltr"><pre class="gmail-tw-data-text gmail-tw-ta gmail-tw-text-large" id="gmail-tw-target-text" style="text-align:left;height:72px" dir="ltr"><span lang="cs">Děkuji!!</span></pre></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 22, 2018 at 2:52 AM, Tomáš Kašpárek <span dir="ltr"><<a href="mailto:tkaspare@redhat.com" target="_blank">tkaspare@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
have you restored the database from backup after you've applied
patch from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1576002" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1576002</a>?<br>
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.<br>
<br>
Tomas<div><div class="h5"><br>
<br>
<div class="m_928613561772718680moz-cite-prefix">On 05/21/2018 10:37 PM, Guy Matz wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>
<div>
<div>
<div>Hello! When trying to upgrade from 2.7 to 2.8, I got
this error during /usr/bin/spacewalk-schema-<wbr>upgrade:<br>
<br>
null value in column "nevra_id" violates not-null
constraint<br>
<br>
I tried making the changes in the schema upgrade patch
here:<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1576002" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1576002</a><br>
<br>
</div>
But now I get:<br>
# /usr/bin/spacewalk-schema-<wbr>upgrade<br>
Unknown schema name [(0 rows)] found.<br>
<br>
</div>
Any thoughts would be greatly appreciated.<br>
<br>
</div>
Thanks,<br>
</div>
Guy<br>
</div>
<br>
<fieldset class="m_928613561772718680mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
Spacewalk-list mailing list
<a class="m_928613561772718680moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a>
<a class="m_928613561772718680moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/spacewalk-<wbr>list</a></pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>