Any help appreciatd please!
I have tried upgrading my 7.0.5 (CE) to 7.1.3 without realising that Debian 9 isn’t supported (I know RTFM ;-().
Now i urgently need to roll-back.
I ran minor-upgrade-sh from 7.0.5
After that, seahub first complained about a missing gunicorn.conf. I found a gunicorn.conf.py and renamed that.
Now the process starts but clients can’t connect and error message in seahub.log is:
2020-04-27 16:20:08,082 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /api2/client-login/
Traceback (most recent call last):
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/core/handlers/base.py”, line 249, in _legacy_get_response
response = self._get_response(request)
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/core/handlers/base.py”, line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/core/handlers/base.py”, line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/views/generic/base.py”, line 68, in view
return self.dispatch(request, *args, **kwargs)
File “/opt/seafile/seafile-server-7.0.5/seahub/seahub/api2/base.py”, line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/rest_framework/views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “/opt/seafile/seafile-server-7.0.5/seahub/seahub/api2/base.py”, line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/rest_framework/views.py”, line 463, in dispatch
response = handler(request, *args, **kwargs)
File “/opt/seafile/seafile-server-7.0.5/seahub/seahub/api2/utils.py”, line 349, in wrapped
result = func(*a, **kw)
File “/opt/seafile/seafile-server-7.0.5/seahub/seahub/api2/views_auth.py”, line 50, in post
token.save()
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/db/models/base.py”, line 808, in save
force_update=force_update, update_fields=update_fields)
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/db/models/base.py”, line 838, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
: