View Issue Details

IDProjectCategoryView StatusLast Update
0008819Kali LinuxKali Package Bugpublic2024-07-16 08:22
Reporterbaraka983 Assigned Todaniruiz  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Fixed in Version2024.3 
Summary0008819: defectdojo ERROR NEED HELP
Description

Hi i get defectdojo error message my OS is
inux kali 6.8.11-amd64 0000001 SMP PREEMPT_DYNAMIC Kali 6.8.11-1kali2 (2024-05-30) x86_64 GNU/Linux
and this is the error

apt install defectdojo 100 тип
defectdojo is already the newest version (2.30.2-0kali5).
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
1 not fully installed or removed.
Space needed: 0 B / 48.5 GB available

Continue? [Y/n] y
Setting up defectdojo (2.30.2-0kali5) ...
[08/Jul/2024 23:14:33] INFO [dojo.models:4295] enabling audit logging
Traceback (most recent call last):
File "/usr/lib/defectdojo/manage.py", line 11, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.11/dist-packages/django/core/management/init.py", line 401, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.11/dist-packages/django/core/management/init.py", line 377, in execute
django.setup()
File "/usr/local/lib/python3.11/dist-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python3.11/dist-packages/django/apps/registry.py", line 122, in populate
app_config.ready()
File "/usr/local/lib/python3.11/dist-packages/django/contrib/admin/apps.py", line 24, in ready
self.module.autodiscover()
File "/usr/local/lib/python3.11/dist-packages/django/contrib/admin/init.py", line 24, in autodiscover
autodiscover_modules('admin', register_to=site)
File "/usr/local/lib/python3.11/dist-packages/django/utils/module_loading.py", line 47, in autodiscover_modules
import_module('%s.%s' % (app_config.name, module_to_search))
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/auditlog/admin.py", line 5, in <module>
from auditlog.mixins import LogEntryAdminMixin
File "/usr/lib/python3/dist-packages/auditlog/mixins.py", line 20, in <module>
class LogEntryAdminMixin:
File "/usr/lib/python3/dist-packages/auditlog/mixins.py", line 21, in LogEntryAdminMixin
@admin.display(description="Created")
^^^^^^^^^^^^^
AttributeError: module 'django.contrib.admin' has no attribute 'display'
dpkg: error processing package defectdojo (--configure):
installed defectdojo package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
defectdojo
Error: Sub-process /usr/bin/dpkg returned an error code (1)

Thank you

Activities

Gamb1t

Gamb1t

2024-07-12 16:11

manager   ~0019521

I am not able to reproduce this issue. Are you able to ensure you are completely up to date and then provide further logs if the issue remains?

daniruiz

daniruiz

2024-07-16 08:22

manager   ~0019529

This should now be fixed

Issue History

Date Modified Username Field Change
2024-07-08 23:18 baraka983 New Issue
2024-07-12 16:11 Gamb1t Note Added: 0019521
2024-07-16 08:22 daniruiz Note Added: 0019529
2024-07-16 08:22 daniruiz Assigned To => daniruiz
2024-07-16 08:22 daniruiz Status new => resolved
2024-07-16 08:22 daniruiz Resolution open => fixed
2024-07-16 08:22 daniruiz Fixed in Version => 2024.3