Hi,
es scheint etwas geupdatet worden zu sein, wie ich im Release-Note feststelle. Habe es nun erneut probiert und bin an dem Datenbankfehler (siehe oben) vorbei gekommen. Nun werde ich von dem hier verfolgt:
app-1 | The above exception was the direct cause of the following exception:
app-1 |
app-1 | Traceback (most recent call last):
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/core/handlers/wsgi.py", line 124, in __call__
app-1 | response = self.get_response(request)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/core/handlers/base.py", line 140, in get_response
app-1 | response = self._middleware_chain(request)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/core/handlers/exception.py", line 57, in inner
app-1 | response = response_for_exception(request, exc)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/core/handlers/exception.py", line 140, in response_for_exception
app-1 | response = handle_uncaught_exception(
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/core/handlers/exception.py", line 185, in handle_uncaught_exception
app-1 | return callback(request)
app-1 | ^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/aleksis/core/views.py", line 1401, in server_error
app-1 | return HttpResponseServerError(template.render(context))
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/backends/django.py", line 61, in render
app-1 | return self.template.render(context)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 175, in render
app-1 | return self._render(context)
app-1 | ^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 167, in _render
app-1 | return self.nodelist.render(context)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 1005, in render
app-1 | return SafeString("".join([node.render_annotated(context) for node in self]))
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 1005, in <listcomp>
app-1 | return SafeString("".join([node.render_annotated(context) for node in self]))
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 966, in render_annotated
app-1 | return self.render(context)
app-1 | ^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/loader_tags.py", line 157, in render
app-1 | return compiled_parent._render(context)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 167, in _render
app-1 | return self.nodelist.render(context)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 1005, in render
app-1 | return SafeString("".join([node.render_annotated(context) for node in self]))
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 1005, in <listcomp>
app-1 | return SafeString("".join([node.render_annotated(context) for node in self]))
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 966, in render_annotated
app-1 | return self.render(context)
app-1 | ^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/loader_tags.py", line 208, in render
app-1 | return template.render(context)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 177, in render
app-1 | return self._render(context)
app-1 | ^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 167, in _render
app-1 | return self.nodelist.render(context)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 1005, in render
app-1 | return SafeString("".join([node.render_annotated(context) for node in self]))
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 1005, in <listcomp>
app-1 | return SafeString("".join([node.render_annotated(context) for node in self]))
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/base.py", line 966, in render_annotated
app-1 | return self.render(context)
app-1 | ^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/template/library.py", line 237, in render
app-1 | output = self.func(*resolved_args, **resolved_kwargs)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/favicon/templatetags/favtags.py", line 21, in place_favicon
app-1 | fav = Favicon.on_site.filter(isFavicon=True).first()
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/db/models/query.py", line 1057, in first
app-1 | for obj in queryset[:1]:
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/db/models/query.py", line 398, in __iter__
app-1 | self._fetch_all()
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/db/models/query.py", line 1881, in _fetch_all
app-1 | self._result_cache = list(self._iterable_class(self))
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/db/models/query.py", line 91, in __iter__
app-1 | results = compiler.execute_sql(
app-1 | ^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/cachalot/monkey_patch.py", line 37, in inner
app-1 | return original(compiler, *args, **kwargs)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/cachalot/monkey_patch.py", line 96, in inner
app-1 | return _get_result_or_execute_query(
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/cachalot/monkey_patch.py", line 64, in _get_result_or_execute_query
app-1 | result = execute_query_func()
app-1 | ^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/cachalot/monkey_patch.py", line 80, in <lambda>
app-1 | execute_query_func = lambda: original(compiler, *args, **kwargs)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
app-1 | cursor.execute(sql, params)
app-1 | File "/usr/local/lib/python3.11/dist-packages/cachalot/monkey_patch.py", line 137, in inner
app-1 | return original(cursor, sql, *args, **kwargs)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/db/backends/utils.py", line 67, in execute
app-1 | return self._execute_with_wrappers(
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
app-1 | return executor(sql, params, many, context)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/db/backends/utils.py", line 84, in _execute
app-1 | with self.db.wrap_database_errors:
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/db/utils.py", line 91, in __exit__
app-1 | raise dj_exc_value.with_traceback(traceback) from exc_value
app-1 | File "/usr/local/lib/python3.11/dist-packages/django/db/backends/utils.py", line 89, in _execute
app-1 | return self.cursor.execute(sql, params)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File "/usr/local/lib/python3.11/dist-packages/django_prometheus/db/common.py", line 69, in execute
app-1 | return super().execute(*args, **kwargs)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | django.db.utils.ProgrammingError: relation "favicon_favicon" does not exist
app-1 | LINE 1: ...on"."isFavicon", "favicon_favicon"."site_id" FROM "favicon_f...
app-1 | ^
Grüße!
Edit:
Die Datenbank spuckt folgendes aus:
2024-06-06 16:01:24.296 UTC [177] ERROR: relation "favicon_favicon" does not exist at character 157
2024-06-06 16:01:24.296 UTC [177] STATEMENT: SELECT "favicon_favicon"."id", "favicon_favicon"."title", "favicon_favicon"."faviconImage", "favicon_favicon"."isFavicon", "favicon_favicon"."site_id" FROM "favicon_favicon" WHERE ("favicon_favicon"."site_id" = 1 AND "favicon_favicon"."isFavicon") ORDER BY "favicon_favicon"."id" ASC LIMIT 1