Traceback (most recent call last):
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django_prometheus/db/common.py", line 71, in execute
return super().execute(*args, **kwargs)
psycopg2.errors.UndefinedTable: FEHLER: Relation »core_schoolterm« existiert nicht
LINE 1: ..."."date_start", "core_schoolterm"."date_end" FROM "core_scho...
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/bin/aleksis-admin", line 8, in <module>
sys.exit(aleksis_cmd())
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/aleksis/core/__main__.py", line 14, in aleksis_cmd
execute_from_command_line(sys.argv)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
utility.execute()
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/core/management/base.py", line 89, in wrapped
res = handle_func(*args, **kwargs)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/core/management/commands/migrate.py", line 75, in handle
self.check(databases=[database])
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/core/management/base.py", line 419, in check
all_issues = checks.run_checks(
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/core/checks/registry.py", line 76, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/core/checks/urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/core/checks/urls.py", line 23, in check_resolver
return check_method()
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 416, in check
for pattern in self.url_patterns:
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/utils/functional.py", line 48, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 602, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/utils/functional.py", line 48, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 595, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/aleksis/core/urls.py", line 348, in <module>
urlpatterns.append(path(f"app/{app_config.label}/", include(f"{app_config.name}.urls")))
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/urls/conf.py", line 34, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/aleksis/apps/chronos/urls.py", line 3, in <module>
from . import views
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/aleksis/apps/chronos/views.py", line 22, in <module>
from .filters import LessonPeriodFilter, SupervisionFilter
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/aleksis/apps/chronos/filters.py", line 45, in <module>
class LessonPeriodFilter(FilterSet):
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/aleksis/apps/chronos/filters.py", line 75, in LessonPeriodFilter
if SchoolTerm.current
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/utils/functional.py", line 61, in __get__
return self.fget(cls)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/aleksis/core/models.py", line 122, in current
return cls.get_current()
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/cache_memoize/__init__.py", line 137, in inner
result = func(*args, **kwargs)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/aleksis/core/models.py", line 116, in get_current
return cls.objects.on_day(day).first()
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/db/models/query.py", line 674, in first
for obj in (self if self.ordered else self.order_by('pk'))[:1]:
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/db/models/query.py", line 280, in __iter__
self._fetch_all()
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/db/models/query.py", line 1324, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/db/models/query.py", line 51, in __iter__
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/cachalot/monkey_patch.py", line 37, in inner
return original(compiler, *args, **kwargs)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/cachalot/monkey_patch.py", line 96, in inner
return _get_result_or_execute_query(
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/cachalot/monkey_patch.py", line 64, in _get_result_or_execute_query
result = execute_query_func()
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/cachalot/monkey_patch.py", line 80, in <lambda>
execute_query_func = lambda: original(compiler, *args, **kwargs)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
cursor.execute(sql, params)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 98, in execute
return super().execute(sql, params)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/cachalot/monkey_patch.py", line 137, in inner
return original(cursor, sql, *args, **kwargs)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 66, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 79, in _execute
with self.db.wrap_database_errors:
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/db/utils.py", line 90, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/home/wethjo/dev/AlekSIS/apps/official/AlekSIS-App-Untis/.venv/lib/python3.10/site-packages/django_prometheus/db/common.py", line 71, in execute
return super().execute(*args, **kwargs)
django.db.utils.ProgrammingError: FEHLER: Relation »core_schoolterm« existiert nicht
LINE 1: ..."."date_start", "core_schoolterm"."date_end" FROM "core_scho...