Bug 15315

Summary: srt start failed
Product: [Yocto Project Subprojects] Security Response Tool Reporter: Samantha J <samantha.jalabert>
Component: GeneralAssignee: David Reyna <david.reyna>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: High    
Version: unspecified   
Target Milestone: 5.0 M1   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Samantha J 2023-12-08 16:27:44 UTC
On a fresh install, I came across this migration error on srtool webserver start:

  File "/home/ubuntu/.local/lib/python3.8/site-packages/django/db/migrations/graph.py", 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 ('cve_checker', '0004_ck_package_ignored_cnt_ck_package_patched_cnt_and_more')
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.
Comment 1 David Reyna 2023-12-08 20:17:17 UTC
Fixed.
 
I had missed pushing some of the migration files.