Bug 15315 - srt start failed
Summary: srt start failed
Status: RESOLVED FIXED
Alias: None
Product: Security Response Tool
Classification: Yocto Project Subprojects
Component: General (show other bugs)
Version: unspecified
Hardware: x86 x86_64
: High major
Target Milestone: 5.0 M1
Assignee: David Reyna
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2023-12-08 16:27 UTC by Samantha J
Modified: 2023-12-08 20:17 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.