There was a problem with your request. Please contact an administrator.
The complete exception is provided below:
<class 'django.contrib.contenttypes.models.ContentType.DoesNotExist'>This is what I'm seeing after using git to update from 2.8.6 to 2.9.3.Traceback (most recent call last):File "netbox/manage.py", line 10, in <module>execute_from_command_line(sys.argv)File "/opt/netbox/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_lineutility.execute()File "/opt/netbox/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 395, in executeself.fetch_command(subcommand).run_from_argv(self.argv)File "/opt/netbox/venv/lib/python3.6/site-packages/django/core/management/base.py", line 330, in run_from_argvself.execute(*args, **cmd_options)File "/opt/netbox/venv/lib/python3.6/site-packages/django/core/management/base.py", line 371, in executeoutput = self.handle(*args, **options)File "/opt/netbox/venv/lib/python3.6/site-packages/django/core/management/base.py", line 82, in wrappedsaved_locale = translation.get_language()File "/opt/netbox/venv/lib/python3.6/site-packages/django/utils/translation/__init__.py", line 252, in get_languagereturn _trans.get_language()File "/opt/netbox/venv/lib/python3.6/site-packages/django/utils/translation/__init__.py", line 57, in __getattr__if settings.USE_I18N:File "/opt/netbox/venv/lib/python3.6/site-packages/django/conf/__init__.py", line 83, in __getattr__self._setup(name)File "/opt/netbox/venv/lib/python3.6/site-packages/django/conf/__init__.py", line 70, in _setupself._wrapped = Settings(settings_module)File "/opt/netbox/venv/lib/python3.6/site-packages/django/conf/__init__.py", line 177, in __init__mod = importlib.import_module(self.SETTINGS_MODULE)File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_modulereturn _bootstrap._gcd_import(name[level:], package, level)File "<frozen importlib._bootstrap>", line 994, in _gcd_importFile "<frozen importlib._bootstrap>", line 971, in _find_and_loadFile "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlockedFile "<frozen importlib._bootstrap>", line 665, in _load_unlockedFile "<frozen importlib._bootstrap_external>", line 678, in exec_moduleFile "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removedFile "/opt/netbox/netbox/netbox/settings.py", line 212, in <module>"REDIS section in configuration.py is missing the 'tasks' subsection."django.core.exceptions.ImproperlyConfigured: REDIS section in configuration.py is missing the 'tasks' subsection.
On Tuesday, September 15, 2020 at 4:37:45 AM UTC-4 Brian Candler wrote:In what way is it related to the redis service? What exactly did you see that draws you to that conclusion?
--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/dcc4997f-6361-4bdd-9f98-24dd26d61f8an%40googlegroups.com.
Here's a bit more information after running python3 /opt/netbox/netbox/manage.py runserver 0.0.0.0:8000 --insecurePerforming system checks...Exception in thread django-main-thread:
Traceback (most recent call last):
File "/home/clairadmin/.local/lib/python3.6/site-packages/django/template/utils.py", line 66, in __getitem__return self._engines[alias]KeyError: 'django'During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/clairadmin/.local/lib/python3.6/site-packages/django/template/backends/django.py", line 121, in get_package_librariesmodule = import_module(entry[1])
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_modulereturn _bootstrap._gcd_import(name[level:], package, level)File "<frozen importlib._bootstrap>", line 994, in _gcd_importFile "<frozen importlib._bootstrap>", line 971, in _find_and_loadFile "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlockedFile "<frozen importlib._bootstrap>", line 665, in _load_unlockedFile "<frozen importlib._bootstrap_external>", line 678, in exec_moduleFile "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/clairadmin/.local/lib/python3.6/site-packages/django/contrib/admin/templatetags/admin_static.py", line 5, in <module>from django.utils.deprecation import RemovedInDjango30WarningImportError: cannot import name 'RemovedInDjango30Warning'During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_innerself.run()File "/usr/lib/python3.6/threading.py", line 864, in runself._target(*self._args, **self._kwargs)File "/home/admin/.local/lib/python3.6/site-packages/django/utils/autoreload.py", line 53, in wrapperfn(*args, **kwargs)File "/home/admin/.local/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 118, in inner_runself.check(display_num_errors=True)File "/home/admin/.local/lib/python3.6/site-packages/django/core/management/base.py", line 396, in checkdatabases=databases,File "/home/admin/.local/lib/python3.6/site-packages/django/core/checks/registry.py", line 70, in run_checksnew_errors = check(app_configs=app_configs, databases=databases)File "/home/admin/.local/lib/python3.6/site-packages/django/contrib/admin/checks.py", line 78, in check_dependenciesfor engine in engines.all():File "/home/admin/.local/lib/python3.6/site-packages/django/template/utils.py", line 90, in allreturn [self[alias] for alias in self]File "/home/admin/.local/lib/python3.6/site-packages/django/template/utils.py", line 90, in <listcomp>return [self[alias] for alias in self]File "/home/admin/.local/lib/python3.6/site-packages/django/template/utils.py", line 81, in __getitem__engine = engine_cls(params)File "/home/admin/.local/lib/python3.6/site-packages/django/template/backends/django.py", line 25, in __init__options['libraries'] = self.get_templatetag_libraries(libraries)File "/home/admin/.local/lib/python3.6/site-packages/django/template/backends/django.py", line 43, in get_templatetag_librarieslibraries = get_installed_libraries()File "/home/admin/.local/lib/python3.6/site-packages/django/template/backends/django.py", line 108, in get_installed_librariesfor name in get_package_libraries(pkg):File "/home/admin/.local/lib/python3.6/site-packages/django/template/backends/django.py", line 125, in get_package_libraries"trying to load '%s': %s" % (entry[1], e)django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'django.contrib.admin.templatetags.admin_static': cannot import name 'RemovedInDjango30Warning'On Thursday, September 17, 2020 at 2:12:14 PM UTC-4 Corey B wrote:Thanks for that. Sorry for deleting my original comment, I figured it out but you were quick with the reply!Anyhow, after fixing that I'm now getting the error as others here:
<class 'django.contrib.contenttypes.models.ContentType.DoesNotExist'>
ContentType matching query does not exist.
Python version: 3.6.9
NetBox version: 2.9.3
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/d07ad229-350b-40f8-a1bc-7b1fbffee5c4n%40googlegroups.com.