seahub启动之后打开500错误


#1

2021-10-08 07:58:16,122 [ERROR] django.request:222 log_response Internal Server Error: /
Traceback (most recent call last):
File “/home/seafile/seafile-server-8.0.7/seahub/thirdpart/django/core/handlers/exception.py”, line 34, in inner
response = get_response(request)
File “/home/seafile/seafile-server-8.0.7/seahub/thirdpart/django/core/handlers/base.py”, line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File “/home/seafile/seafile-server-8.0.7/seahub/thirdpart/django/core/handlers/base.py”, line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/home/seafile/seafile-server-8.0.7/seahub/seahub/auth/decorators.py”, line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/home/seafile/seafile-server-8.0.7/seahub/seahub/views/init.py”, line 1177, in react_fake_view
return render(request, “react_app.html”, {
File “/home/seafile/seafile-server-8.0.7/seahub/thirdpart/django/shortcuts.py”, line 36, in render
content = loader.render_to_string(template_name, context, request, using=using)
File “/home/seafile/seafile-server-8.0.7/seahub/thirdpart/django/template/loader.py”, line 62, in render_to_string
return template.render(context, request)
File “/home/seafile/seafile-server-8.0.7/seahub/thirdpart/django/template/backends/django.py”, line 61, in render
return self.template.render(context)
File “/home/seafile/seafile-server-8.0.7/seahub/thirdpart/django/template/base.py”, line 169, in render
with context.bind_template(self):
File “/usr/lib/python3.8/contextlib.py”, line 113, in enter
return next(self.gen)
File “/home/seafile/seafile-server-8.0.7/seahub/thirdpart/django/template/context.py”, line 246, in bind_template
updates.update(processor(self.request))
File “/home/seafile/seafile-server-8.0.7/seahub/seahub/base/context_processors.py”, line 104, in base
avatar_url, is_default, date_uploaded = api_avatar_url(username, 72)
File “/home/seafile/seafile-server-8.0.7/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-server-8.0.7/seahub/thirdpart/django/core/cache/backends/filebased.py”, line 36, in get
return pickle.loads(zlib.decompress(f.read()))
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xdf in position 1: ordinal not in range(128)

203Z

客户端的文件上传同步是没有问题的