I am running seafile 7.1.4 (self-hosted)
When I try to access the web interface, I get:
Page unavailable
Sorry, but the requested page is unavailable due to a server hiccup.
Our engineers have been notified, so check back later.
The problem started after switching from 7.0.5 to 7.1.4
In the logs/seahub.log file, I see lots of tracebacks like this:
2020-07-22 16:16:25,742 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /api2/account/info/
Traceback (most recent call last):
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/handlers/base.py", line 249, in _legacy_get_response
response = self._get_response(request)
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/thirdpart/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/thirdpart/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/seahub/api2/base.py", line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/thirdpart/rest_framework/views.py", line 505, in dispatch
response = self.handle_exception(exc)
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/seahub/api2/base.py", line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/thirdpart/rest_framework/views.py", line 465, in handle_exception
self.raise_uncaught_exception(exc)
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/thirdpart/rest_framework/views.py", line 476, in raise_uncaught_exception
raise exc
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/thirdpart/rest_framework/views.py", line 502, in dispatch
response = handler(request, *args, **kwargs)
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/seahub/api2/views.py", line 338, in get
return Response(self._get_account_info(request))
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/seahub/api2/views.py", line 317, in _get_account_info
url, _, _ = api_avatar_url(email, int(72))
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/seahub/avatar/util.py", line 42, in cached_func
return cache.get(key) or cache_set(key, func(user, size))
File "/home/seafile/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/cache/backends/filebased.py", line 41, in get
return pickle.loads(zlib.decompress(f.read()))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 1: ordinal not in range(128)
What does this mean? A bug in seahub or in my setup?