<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15315</bug_id>
          
          <creation_ts>2023-12-08 16:27:44 +0000</creation_ts>
          <short_desc>srt start failed</short_desc>
          <delta_ts>2023-12-08 20:17:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Security Response Tool</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>5.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Samantha J">samantha.jalabert</reporter>
          <assigned_to name="David Reyna">david.reyna</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97465</commentid>
    <comment_count>0</comment_count>
    <who name="Samantha J">samantha.jalabert</who>
    <bug_when>2023-12-08 16:27:44 +0000</bug_when>
    <thetext>On a fresh install, I came across this migration error on srtool webserver start:

  File &quot;/home/ubuntu/.local/lib/python3.8/site-packages/django/db/migrations/graph.py&quot;, line 58, in raise_error
    raise NodeNotFoundError(self.error_message, self.key, origin=self.origin)
django.db.migrations.exceptions.NodeNotFoundError: Migration cve_checker.0005_ckuploadmanager dependencies reference nonexistent parent node (&apos;cve_checker&apos;, &apos;0004_ck_package_ignored_cnt_ck_package_patched_cnt_and_more&apos;)
Failed migrations, aborting system start
Failed start.

I am using python 3.8.10, Django 4.0, and SQLite3 3.31.1 running on Ubuntu 20.04.
SRTool SHA1 : 96232806189087808ad7b78752d5c2fd92e4a1c9.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97469</commentid>
    <comment_count>1</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2023-12-08 20:17:17 +0000</bug_when>
    <thetext>Fixed.
 
I had missed pushing some of the migration files.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>