DefectDojo / django-DefectDojo

DevSecOps, ASPM, Vulnerability Management. All on one platform.
https://defectdojo.com
BSD 3-Clause "New" or "Revised" License
3.52k stars 1.49k forks source link

Server error when Accessing System Settings #7001

Closed guilhermepaulozup closed 11 months ago

guilhermepaulozup commented 1 year ago

Deployed version 2.15.0 to AWS EC2 with a RDS using docker-compose.

Bug description

The application works almost just fine but when accessing System Settings we get a Server Error (500).

Reading the logs from uwsgi container, this exception is raised when the error occurs:

file "/usr/local/lib/python3.8/site-packages/sqlalchemy/dialects/sqlite/pysqlite.py", line 551, in create_connect_args
    raise exc.ArgumentError(
sqlalchemy.exc.ArgumentError: Invalid SQLite URL: sqlite://defectdojo:***@/dojo.celerydb.sqlite
Valid SQLite URL forms are:
 sqlite:///:memory: (or, sqlite://)
 sqlite:///relative/path/to/file.db
 sqlite:////absolute/path/to/file.db

Steps to reproduce Steps to reproduce the behavior:

  1. Deploy DefectDojo to EC2 using docker-compose.
  2. Access the login page and login
  3. Click on Settings > System Settings

Expected behavior The System Settings menu to appear

Deployment method (select with an X)

Environment information

Logs Use docker-compose logs (or similar, depending on your deployment method) to get the logs and add the relevant sections here showing the error occurring (if applicable).

Screenshots

error_dd_1

error_dd_2

error_dd_3

badal-hd commented 11 months ago

use defectdojo/defectdojo-django:2.24.3 version it worked for me. I was facing same issue in 2.24.4.

guilhermepaulozup commented 11 months ago

This issue is kinda old already, we updated to another version earlier after and the issue was gone. Closing.