chargo dependency
From discussion channel i geht this error
Jul 29 12:02:40 tube gunicorn[9780]: [2021-07-29 10:02:40 +0000] [9791] [INFO] ('10.0.100.10', 0) - "WebSocket /api/v1/activity" [accepted]
Jul 29 12:02:40 tube gunicorn[9780]: 2021-07-29 10:02:40,973 django.request ERROR Internal Server Error: /api/v1/listen/1fc70442-3f24-407e-99d8-c8949ee6c160/
Jul 29 12:02:40 tube gunicorn[9780]: Traceback (most recent call last):
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
Jul 29 12:02:40 tube gunicorn[9780]: return self.cursor.execute(sql, params)
Jul 29 12:02:40 tube gunicorn[9780]: psycopg2.errors.UndefinedColumn: column users_accesstoken.id_token_id does not exist
Jul 29 12:02:40 tube gunicorn[9780]: LINE 1: ...e_refresh_token_id", "users_accesstoken"."token", "users_acc...
Jul 29 12:02:40 tube gunicorn[9780]: ^
Jul 29 12:02:40 tube gunicorn[9780]: The above exception was the direct cause of the following exception:
Jul 29 12:02:40 tube gunicorn[9780]: Traceback (most recent call last):
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 47, in inner
Jul 29 12:02:40 tube gunicorn[9780]: response = get_response(request)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/core/handlers/base.py", line 181, in _get_response
Jul 29 12:02:40 tube gunicorn[9780]: response = wrapped_callback(request, *callback_args, **callback_kwargs)
Jul 29 12:02:40 tube gunicorn[9780]: File "/usr/lib/python3.7/contextlib.py", line 74, in inner
Jul 29 12:02:40 tube gunicorn[9780]: return func(*args, **kwds)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
Jul 29 12:02:40 tube gunicorn[9780]: return view_func(*args, **kwargs)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/rest_framework/viewsets.py", line 125, in view
Jul 29 12:02:40 tube gunicorn[9780]: return self.dispatch(request, *args, **kwargs)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/rest_framework/views.py", line 509, in dispatch
Jul 29 12:02:40 tube gunicorn[9780]: response = self.handle_exception(exc)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/rest_framework/views.py", line 469, in handle_exception
Jul 29 12:02:40 tube gunicorn[9780]: self.raise_uncaught_exception(exc)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
Jul 29 12:02:40 tube gunicorn[9780]: raise exc
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/rest_framework/views.py", line 497, in dispatch
Jul 29 12:02:40 tube gunicorn[9780]: self.initial(request, *args, **kwargs)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/rest_framework/views.py", line 414, in initial
Jul 29 12:02:40 tube gunicorn[9780]: self.perform_authentication(request)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/rest_framework/views.py", line 324, in perform_authentication
Jul 29 12:02:40 tube gunicorn[9780]: request.user
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/rest_framework/request.py", line 227, in user
Jul 29 12:02:40 tube gunicorn[9780]: self._authenticate()
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/rest_framework/request.py", line 380, in _authenticate
Jul 29 12:02:40 tube gunicorn[9780]: user_auth_tuple = authenticator.authenticate(self)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/api/funkwhale_api/common/authentication.py", line 42, in authenticate
Jul 29 12:02:40 tube gunicorn[9780]: return super().authenticate(request)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/oauth2_provider/contrib/rest_framework/authentication.py", line 27, in authenticate
Jul 29 12:02:40 tube gunicorn[9780]: valid, r = oauthlib_core.verify_request(request, scopes=[])
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/oauth2_provider/oauth2_backends.py", line 200, in verify_request
Jul 29 12:02:40 tube gunicorn[9780]: valid, r = self.server.verify_request(uri, http_method, body, headers, scopes=scopes)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/api/funkwhale_api/users/oauth/server.py", line 34, in verify_request
Jul 29 12:02:40 tube gunicorn[9780]: token, request.scopes, request
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/oauth2_provider/oauth2_validators.py", line 385, in validate_bearer_token
Jul 29 12:02:40 tube gunicorn[9780]: access_token = self._load_access_token(token)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/oauth2_provider/oauth2_validators.py", line 407, in _load_access_token
Jul 29 12:02:40 tube gunicorn[9780]: return AccessToken.objects.select_related("application", "user").filter(token=token).first()
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/db/models/query.py", line 674, in first
Jul 29 12:02:40 tube gunicorn[9780]: for obj in (self if self.ordered else self.order_by('pk'))[:1]:
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/db/models/query.py", line 280, in __iter__
Jul 29 12:02:40 tube gunicorn[9780]: self._fetch_all()
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/db/models/query.py", line 1324, in _fetch_all
Jul 29 12:02:40 tube gunicorn[9780]: self._result_cache = list(self._iterable_class(self))
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/db/models/query.py", line 51, in __iter__
Jul 29 12:02:40 tube gunicorn[9780]: results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
Jul 29 12:02:40 tube gunicorn[9780]: cursor.execute(sql, params)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/db/backends/utils.py", line 66, in execute
Jul 29 12:02:40 tube gunicorn[9780]: return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
Jul 29 12:02:40 tube gunicorn[9780]: return executor(sql, params, many, context)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
Jul 29 12:02:40 tube gunicorn[9780]: return self.cursor.execute(sql, params)
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/db/utils.py", line 90, in __exit__
Jul 29 12:02:40 tube gunicorn[9780]: raise dj_exc_value.with_traceback(traceback) from exc_value
Jul 29 12:02:40 tube gunicorn[9780]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
Jul 29 12:02:40 tube gunicorn[9780]: return self.cursor.execute(sql, params)
Jul 29 12:02:40 tube gunicorn[9780]: django.db.utils.ProgrammingError: column users_accesstoken.id_token_id does not exist
Jul 29 12:02:40 tube gunicorn[9780]: LINE 1: ...e_refresh_token_id", "users_accesstoken"."token", "users_acc...
Jul 29 12:02:40 tube gunicorn[9780]: ^
Jul 29 12:02:42 tube gunicorn[9780]: [2021-07-29 10:02:42 +0000] [9790] [INFO] ('10.0.100.10', 0) - "WebSocket /api/v1/activity" [accepted]
Jul 29 12:02:44 tube peertube[856]: [kino.schuerz.at:443] 2021-07-29 12:02:44.364 info: Receiving inbox requests for 1 activities by https://video.motoreitaliacarlonegri.it/accounts/peertube.
Jul 29 12:02:44 tube peertube[856]: [kino.schuerz.at:443] 2021-07-29 12:02:44.366 info: 78.159.114.58 - - [29/Jul/2021:10:02:44 +0000] "POST /inbox HTTP/1.0" 204 - "-" "PeerTube/3.0.1 (+https://video.motoreitali
acarlonegri.it)"
Jul 29 12:02:45 tube gunicorn[9780]: 2021-07-29 10:02:45,714 funkwhale_api.music.views INFO Refetching music.Album:116 at https://music.imaginair.es/federation/music/albums/2ba10dc8-7392-42f9-b8c4-d4d1094f2e
when i click on a song from a foreign playlist to play it.
and i had to install cargo, which is not in the requirements, to run
pip install -r api/requirements.txt
successfully...
Dev brqnc is OK but wehave the runloop error a the last branch