Skip to content

Server Error 500 #35

@rdagijones

Description

@rdagijones

I started getting a "server error 500" when going to the web url after a recent update. The logs were a string of python errors. I triend simply reinstalling but that did not fix it. After that, I uninstalled the app (including its image) and deleted all appdata. Tried reinstalling but I get the same message, "server error 500." Any idea what is going on?

Unraid 7.2.2

Sample of log ---
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request ERROR Internal Server Error: /accounts/login/
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/django/contrib/sites/models.py", line 39, in _get_site_by_request
SITE_CACHE[host] = self.get(domain__iexact=host)
File "/usr/local/lib/python3.10/dist-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 496, in get
raise self.model.DoesNotExist(
django.contrib.sites.models.Site.DoesNotExist: Site matching query does not exist.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 518, in thread_handler
raise exc_info[1]
File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 43, in inner
response = await get_response(request)
File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
response = await wrapped_callback(
File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 468, in call
ret = await asyncio.shield(exec_coro)
File "/usr/local/lib/python3.10/dist-packages/asgiref/current_thread_executor.py", line 40, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 522, in thread_handler
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/django/views/generic/base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/debug.py", line 92, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/cache.py", line 62, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/allauth/account/views.py", line 84, in dispatch
return super().dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/allauth/account/mixins.py", line 40, in dispatch
response = super().dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/django/views/generic/base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/allauth/account/mixins.py", line 59, in get
response = super().get(request, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/django/views/generic/edit.py", line 144, in get
return self.render_to_response(self.get_context_data())
File "/usr/local/lib/python3.10/dist-packages/allauth/account/views.py", line 106, in get_context_data
site = get_current_site(self.request)
File "/usr/local/lib/python3.10/dist-packages/django/contrib/sites/shortcuts.py", line 14, in get_current_site
return Site.objects.get_current(request)
File "/usr/local/lib/python3.10/dist-packages/django/contrib/sites/models.py", line 61, in get_current
return self._get_site_by_request(request)
File "/usr/local/lib/python3.10/dist-packages/django/contrib/sites/models.py", line 45, in _get_site_by_request
SITE_CACHE[domain] = self.get(domain__iexact=domain)
File "/usr/local/lib/python3.10/dist-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 496, in get
raise self.model.DoesNotExist(
django.contrib.sites.models.Site.DoesNotExist: Site matching query does not exist.
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request WARNING Unauthorized: /api/v1/octo/printer/
[2026-01-13 18:56:58,329: INFO/Beat] Scheduler: Sending due task app.tasks.prune_channel_presence (app.tasks.prune_channel_presence)
[2026-01-13 18:56:58,331: INFO/Beat] Scheduler: Sending due task app.tasks.prune_channel_rooms (app.tasks.prune_channel_rooms)
[2026-01-13 18:56:58,332: INFO/MainProcess] Task app.tasks.prune_channel_presence[5d266695-11c7-4897-a0bd-e25c3c96ad06] received
[2026-01-13 18:56:58,333: INFO/MainProcess] Task app.tasks.prune_channel_rooms[efef1996-3f12-4bd4-8c73-0684eaced674] received
[2026-01-13 18:56:58,338: INFO/ForkPoolWorker-3] Task app.tasks.prune_channel_presence[5d266695-11c7-4897-a0bd-e25c3c96ad06] succeeded in 0.004498703870922327s: None
[2026-01-13 18:56:58,338: INFO/ForkPoolWorker-2] Task app.tasks.prune_channel_rooms[efef1996-3f12-4bd4-8c73-0684eaced674] succeeded in 0.004617647733539343s: None
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request WARNING Unauthorized: /api/v1/octo/printer/
django.request WARNING Unauthorized: /api/v1/octo/printer/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions