You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to upgrade my Defectdojo server, but I have faced multiple issues with Python's version.
I am currently using Defectdojo v2.19.2 and I wanted to move to v2.35.3. The 2.19.2 version was installed with no problem in Ubuntu 22.04, using Python 3.10.
Since I am using godojo for the installation, the Python's version was a huge problem, but at the end I was able to solve the issues. What I have not been capable to solve is when I execute dojo-start, it uses /opt/dojo/lib/python3.10 instead of Python3.11. This behavior provokes multiple errors.
I manually ran the dojo-start commands to check out the error, here is the head:
/opt/dojo/django-DefectDojo$ C_FORCE_ROOT="true" celery -A dojo worker -l info --concurrency 3
[27/Jun/2024 21:45:05] ERROR [celery.utils.dispatch.signal:280] Signal handler <bound method DjangoFixup.on_import_modules of <celery.fixups.django.DjangoFixup object at 0x7fb680640280>> raised: TypeError("catch_warnings.__init__() got an unexpected keyword argument 'action'")
Traceback (most recent call last):
File "/opt/dojo/lib/python3.10/site-packages/celery/utils/dispatch/signal.py", line 276, in send
response = receiver(signal=self, sender=sender, **named)
File "/opt/dojo/lib/python3.10/site-packages/celery/fixups/django.py", line 100, in on_import_modules
self.worker_fixup.validate_models()
File "/opt/dojo/lib/python3.10/site-packages/celery/fixups/django.py", line 138, in validate_models
self.django_setup()
File "/opt/dojo/lib/python3.10/site-packages/celery/fixups/django.py", line 134, in django_setup
django.setup()
File "/opt/dojo/lib/python3.10/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/opt/dojo/lib/python3.10/site-packages/django/apps/registry.py", line 116, in populate
It should be running using Python3.11. How can I replace the Python it should use?
The text was updated successfully, but these errors were encountered:
Hello.
I am trying to upgrade my Defectdojo server, but I have faced multiple issues with Python's version.
I am currently using Defectdojo v2.19.2 and I wanted to move to v2.35.3. The 2.19.2 version was installed with no problem in Ubuntu 22.04, using Python 3.10.
Since I am using godojo for the installation, the Python's version was a huge problem, but at the end I was able to solve the issues. What I have not been capable to solve is when I execute
dojo-start
, it uses /opt/dojo/lib/python3.10 instead of Python3.11. This behavior provokes multiple errors.I manually ran the
dojo-start
commands to check out the error, here is the head:It should be running using Python3.11. How can I replace the Python it should use?
The text was updated successfully, but these errors were encountered: