aktueller stacktrace unraid #1

Open
opened 2026-09-29 22:07:09 +02:00 by masterdot · 0 comments
Owner
response = get_response(request)

File "/usr/local/lib/python3.13/dist-packages/django/core/handlers/base.py", line 198, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.13/dist-packages/django/views/generic/base.py", line 106, in view
return self.dispatch(request, *args, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/dist-packages/django/views/generic/base.py", line 145, in dispatch
return handler(request, args, **kwargs)
File "/usr/local/lib/python3.13/dist-packages/django/views/generic/base.py", line 229, in get
context = self.get_context_data(**kwargs)
File "/app/sync/views/dashboard.py", line 25, in get_context_data
data['num_sources'] = Source.objects.all().count()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/dist-packages/django/db/models/query.py", line 610, in count
return self.query.get_count(using=self.db)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/dist-packages/django/db/models/sql/query.py", line 656, in get_count
return obj.get_aggregation(using, {"__count": Count("
")})["__count"]
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/dist-packages/django/db/models/sql/query.py", line 638, in get_aggregation
result = compiler.execute_sql(SINGLE)
File "/usr/local/lib/python3.13/dist-packages/django/db/models/sql/compiler.py", line 1622, in execute_sql
cursor = self.connection.cursor()
File "/usr/local/lib/python3.13/dist-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/dist-packages/django/db/backends/base/base.py", line 320, in cursor
return self._cursor()
~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/dist-packages/django/db/backends/base/base.py", line 296, in _cursor
self.ensure_connection()
~~~~~~~~~~~~~~~~~~~~~~^^
File "/app/tubesync/dbutils.py", line 24, in ensure_connection
with self.wrap_database_errors:
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/dist-packages/django/db/utils.py", line 94, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/app/tubesync/dbutils.py", line 25, in ensure_connection
self.connect()
~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/dist-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/dist-packages/django/db/backends/base/base.py", line 256, in connect
self.connection = self.get_new_connection(conn_params)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/dist-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/dist-packages/django/db/backends/sqlite3/base.py", line 214, in get_new_connection
conn.execute(init_command)
~~~~~~~~~~~~^^^^^^^^^^^^^^
django.db.utils.DatabaseError: file is not a database
2026-08-31 01:28:19,128 [django.security.DisallowedHost/ERROR] Invalid HTTP_HOST header: '127.0.0.1:8080'. You may need to add '127.0.0.1' to ALLOWED_HOSTS.
Traceback (most recent call last):
File "/usr/local/lib/python3.13/dist-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/usr/local/lib/python3.13/dist-packages/django/utils/deprecation.py", line 308, in call
response = self.process_request(request)
File "/usr/local/lib/python3.13/dist-packages/django/middleware/common.py", line 48, in process_request
host = request.get_host()
File "/usr/local/lib/python3.13/dist-packages/django/http/request.py", line 206, in get_host
raise DisallowedHost(msg)
django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '127.0.0.1:8080'. You may need to add '127.0.0.1' to ALLOWED_HOSTS.
2026-08-31 01:29:19,786 [django.security.DisallowedHost/ERROR] Invalid HTTP_HOST header: '127.0.0.1:8080'. You may need to add '127.0.0.1' to ALLOWED_HOSTS.
Traceback (most recent call last):
File "/usr/local/lib/python3.13/dist-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/usr/local/lib/python3.13/dist-packages/django/utils/deprecation.py", line 308, in call
response = self.process_request(request)
File "/usr/local/lib/python3.13/dist-packages/django/middleware/common.py", line 48, in process_request
host = request.get_host()
File "/usr/local/lib/python3.13/dist-packages/django/http/request.py", line 206, in get_host
raise DisallowedHost(msg)
django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '127.0.0.1:8080'. You may need to add '127.0.0.1' to ALLOWED_HOSTS.
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service tubesync-services-init: stopping
s6-rc: info: service nginx: stopping
s6-rc: info: service huey-network: stopping
s6-rc: info: service huey-net-limited: stopping
s6-rc: info: service huey-filesystem: stopping
s6-rc: info: service huey-database: stopping
s6-rc: info: service tubesync-services-init successfully stopped
s6-rc: info: service nginx successfully stopped


Aus Gitea übernommen (#1, erstellt 2026-08-31T01:30:56+02:00)

response = get_response(request) File "/usr/local/lib/python3.13/dist-packages/django/core/handlers/base.py", line 198, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python3.13/dist-packages/django/views/generic/base.py", line 106, in view return self.dispatch(request, *args, **kwargs) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django/views/generic/base.py", line 145, in dispatch return handler(request, *args, **kwargs) File "/usr/local/lib/python3.13/dist-packages/django/views/generic/base.py", line 229, in get context = self.get_context_data(**kwargs) File "/app/sync/views/dashboard.py", line 25, in get_context_data data['num_sources'] = Source.objects.all().count() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/dist-packages/django/db/models/query.py", line 610, in count return self.query.get_count(using=self.db) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django/db/models/sql/query.py", line 656, in get_count return obj.get_aggregation(using, {"__count": Count("*")})["__count"] ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django/db/models/sql/query.py", line 638, in get_aggregation result = compiler.execute_sql(SINGLE) File "/usr/local/lib/python3.13/dist-packages/django/db/models/sql/compiler.py", line 1622, in execute_sql cursor = self.connection.cursor() File "/usr/local/lib/python3.13/dist-packages/django/utils/asyncio.py", line 26, in inner return func(*args, **kwargs) File "/usr/local/lib/python3.13/dist-packages/django/db/backends/base/base.py", line 320, in cursor return self._cursor() ~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/dist-packages/django/db/backends/base/base.py", line 296, in _cursor self.ensure_connection() ~~~~~~~~~~~~~~~~~~~~~~^^ File "/app/tubesync/dbutils.py", line 24, in ensure_connection with self.wrap_database_errors: ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django/db/utils.py", line 94, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/app/tubesync/dbutils.py", line 25, in ensure_connection self.connect() ~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/dist-packages/django/utils/asyncio.py", line 26, in inner return func(*args, **kwargs) File "/usr/local/lib/python3.13/dist-packages/django/db/backends/base/base.py", line 256, in connect self.connection = self.get_new_connection(conn_params) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django/utils/asyncio.py", line 26, in inner return func(*args, **kwargs) File "/usr/local/lib/python3.13/dist-packages/django/db/backends/sqlite3/base.py", line 214, in get_new_connection conn.execute(init_command) ~~~~~~~~~~~~^^^^^^^^^^^^^^ django.db.utils.DatabaseError: file is not a database 2026-08-31 01:28:19,128 [django.security.DisallowedHost/ERROR] Invalid HTTP_HOST header: '127.0.0.1:8080'. You may need to add '127.0.0.1' to ALLOWED_HOSTS. Traceback (most recent call last): File "/usr/local/lib/python3.13/dist-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) File "/usr/local/lib/python3.13/dist-packages/django/utils/deprecation.py", line 308, in __call__ response = self.process_request(request) File "/usr/local/lib/python3.13/dist-packages/django/middleware/common.py", line 48, in process_request host = request.get_host() File "/usr/local/lib/python3.13/dist-packages/django/http/request.py", line 206, in get_host raise DisallowedHost(msg) django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '127.0.0.1:8080'. You may need to add '127.0.0.1' to ALLOWED_HOSTS. 2026-08-31 01:29:19,786 [django.security.DisallowedHost/ERROR] Invalid HTTP_HOST header: '127.0.0.1:8080'. You may need to add '127.0.0.1' to ALLOWED_HOSTS. Traceback (most recent call last): File "/usr/local/lib/python3.13/dist-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) File "/usr/local/lib/python3.13/dist-packages/django/utils/deprecation.py", line 308, in __call__ response = self.process_request(request) File "/usr/local/lib/python3.13/dist-packages/django/middleware/common.py", line 48, in process_request host = request.get_host() File "/usr/local/lib/python3.13/dist-packages/django/http/request.py", line 206, in get_host raise DisallowedHost(msg) django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '127.0.0.1:8080'. You may need to add '127.0.0.1' to ALLOWED_HOSTS. s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service tubesync-services-init: stopping s6-rc: info: service nginx: stopping s6-rc: info: service huey-network: stopping s6-rc: info: service huey-net-limited: stopping s6-rc: info: service huey-filesystem: stopping s6-rc: info: service huey-database: stopping s6-rc: info: service tubesync-services-init successfully stopped s6-rc: info: service nginx successfully stopped --- _Aus Gitea übernommen (#1, erstellt 2026-08-31T01:30:56+02:00)_
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
masterdot/tubesync#1
No description provided.