Thanks so much again for the tips and guidance gcrk 🙂
It seems indeed there are two errors preventing the thing to get going properly:
funkwhale-api-1 | [2022-01-15 12:30:49 +0000] [14] [INFO] Application startup complete.
funkwhale-api-1 | 2022-01-15 12:31:34,524 django.request ERROR Internal Server Error: /
funkwhale-api-1 | Traceback (most recent call last):
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
funkwhale-api-1 | return self.cursor.execute(sql, params)
funkwhale-api-1 | psycopg2.errors.UndefinedTable: relation "dynamic_preferences_globalpreferencemodel" does not exist
funkwhale-api-1 | LINE 1: ...eferences_globalpreferencemodel"."raw_value" FROM "dynamic_p...
funkwhale-api-1 | ^
funkwhale-api-1 |
funkwhale-api-1 |
funkwhale-api-1 | The above exception was the direct cause of the following exception:
funkwhale-api-1 |
funkwhale-api-1 | Traceback (most recent call last):
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
funkwhale-api-1 | response = get_response(request)
funkwhale-api-1 | File "/app/funkwhale_api/common/middleware.py", line 239, in __call__
funkwhale-api-1 | return serve_spa(request)
funkwhale-api-1 | File "/app/funkwhale_api/common/middleware.py", line 45, in serve_spa
funkwhale-api-1 | title = preferences.get("instance__name")
funkwhale-api-1 | File "/app/funkwhale_api/common/preferences.py", line 17, in get
funkwhale-api-1 | return manager[pref]
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/dynamic_preferences/managers.py", line 33, in __getitem__
funkwhale-api-1 | return self.get(key)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/dynamic_preferences/managers.py", line 141, in get
funkwhale-api-1 | db_pref = self.get_db_pref(section=section, name=name)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/dynamic_preferences/managers.py", line 147, in get_db_pref
funkwhale-api-1 | pref = self.queryset.get(section=section, name=name)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/models/query.py", line 431, in get
funkwhale-api-1 | num = len(clone)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/models/query.py", line 262, in __len__
funkwhale-api-1 | self._fetch_all()
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/models/query.py", line 1324, in _fetch_all
funkwhale-api-1 | self._result_cache = list(self._iterable_class(self))
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/models/query.py", line 51, in __iter__
funkwhale-api-1 | results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
funkwhale-api-1 | cursor.execute(sql, params)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 66, in execute
funkwhale-api-1 | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
funkwhale-api-1 | return executor(sql, params, many, context)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
funkwhale-api-1 | return self.cursor.execute(sql, params)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/utils.py", line 90, in __exit__
funkwhale-api-1 | raise dj_exc_value.with_traceback(traceback) from exc_value
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
funkwhale-api-1 | return self.cursor.execute(sql, params)
funkwhale-api-1 | django.db.utils.ProgrammingError: relation "dynamic_preferences_globalpreferencemodel" does not exist
funkwhale-api-1 | LINE 1: ...eferences_globalpreferencemodel"."raw_value" FROM "dynamic_p...
funkwhale-api-1 | ^
funkwhale-api-1 |
funkwhale-api-1 | 2022-01-15 12:31:36,109 django.request ERROR Internal Server Error: /favicon.ico
funkwhale-api-1 | Traceback (most recent call last):
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
funkwhale-api-1 | return self.cursor.execute(sql, params)
funkwhale-api-1 | psycopg2.errors.UndefinedTable: relation "dynamic_preferences_globalpreferencemodel" does not exist
funkwhale-api-1 | LINE 1: ...eferences_globalpreferencemodel"."raw_value" FROM "dynamic_p...
funkwhale-api-1 | ^
funkwhale-api-1 |
funkwhale-api-1 |
funkwhale-api-1 | The above exception was the direct cause of the following exception:
funkwhale-api-1 |
funkwhale-api-1 | Traceback (most recent call last):
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
funkwhale-api-1 | response = get_response(request)
funkwhale-api-1 | File "/app/funkwhale_api/common/middleware.py", line 239, in __call__
funkwhale-api-1 | return serve_spa(request)
funkwhale-api-1 | File "/app/funkwhale_api/common/middleware.py", line 45, in serve_spa
funkwhale-api-1 | title = preferences.get("instance__name")
funkwhale-api-1 | File "/app/funkwhale_api/common/preferences.py", line 17, in get
funkwhale-api-1 | return manager[pref]
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/dynamic_preferences/managers.py", line 33, in __getitem__
funkwhale-api-1 | return self.get(key)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/dynamic_preferences/managers.py", line 141, in get
funkwhale-api-1 | db_pref = self.get_db_pref(section=section, name=name)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/dynamic_preferences/managers.py", line 147, in get_db_pref
funkwhale-api-1 | pref = self.queryset.get(section=section, name=name)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/models/query.py", line 431, in get
funkwhale-api-1 | num = len(clone)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/models/query.py", line 262, in __len__
funkwhale-api-1 | self._fetch_all()
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/models/query.py", line 1324, in _fetch_all
funkwhale-api-1 | self._result_cache = list(self._iterable_class(self))
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/models/query.py", line 51, in __iter__
funkwhale-api-1 | results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
funkwhale-api-1 | cursor.execute(sql, params)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 66, in execute
funkwhale-api-1 | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
funkwhale-api-1 | return executor(sql, params, many, context)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
funkwhale-api-1 | return self.cursor.execute(sql, params)
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/utils.py", line 90, in __exit__
funkwhale-api-1 | raise dj_exc_value.with_traceback(traceback) from exc_value
funkwhale-api-1 | File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
funkwhale-api-1 | return self.cursor.execute(sql, params)
funkwhale-api-1 | django.db.utils.ProgrammingError: relation "dynamic_preferences_globalpreferencemodel" does not exist
funkwhale-api-1 | LINE 1: ...eferences_globalpreferencemodel"."raw_value" FROM "dynamic_p...
Would that be an issue with my set-up/settings? Or with the docker container?