Server 7.1.4 ARM Ubuntu 18.04 Specific User cannot login to seahub

thanks for trying to help me.

I just upgrade seafile server from 7.0.5 to 7.1.4 and everything went smoothly. Unfortunately, I cannot login to seahub with a specific user. Other users work fine.

The particular users sees a “Webpage not available”-Error - or with “DEBUG = True” enabled, the following:

UnicodeDecodeError at /

‘ascii’ codec can’t decode byte 0xe3 in position 1: ordinal not in range(128)

Request Method: GET
Request URL: h ttp://
Django Version: 1.11.29
Exception Type: UnicodeDecodeError
Exception Value: ‘ascii’ codec can’t decode byte 0xe3 in position 1: ordinal not in range(128)
Exception Location: /home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/cache/backends/ in get, line 41
Python Executable: /usr/bin/python3
Python Version: 3.6.9
Python Path: [‘/home/seafile/seafile-server-7.1.4/seahub/thirdpart/bin’, ‘/home/seafile/seafile-server-7.1.4/seafile/lib/python3.6/site-packages’, ‘/home/seafile/seafile-server-7.1.4/seafile/lib64/python3.6/site-packages’, ‘/home/seafile/seafile-server-7.1.4/seahub’, ‘/home/seafile/seafile-server-7.1.4/seahub/thirdpart’, ‘/home/seafile/conf’, ‘/usr/lib/’, ‘/usr/lib/python3.6’, ‘/usr/lib/python3.6/lib-dynload’, ‘/usr/local/lib/python3.6/dist-packages’, ‘/usr/lib/python3/dist-packages’, ‘/home/seafile/seafile-server-7.1.4/seahub/seahub/api2/endpoints/…/…/…/…/…/conf’, ‘/home/seafile/seafile-server-7.1.4/seahub/seahub/api2/endpoints/…/…/…/…/…/conf’]

seahub.log offers the following:

2020-05-23 21:38:19,569 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: / Traceback (most recent call last):
File “/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/handlers/”, line 41, in inner response = get_response(request)
File “/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/handlers/”, line 249, in _legacy_get_res$ response = self._get_response(request)
File “/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/handlers/”, line 187, in _get_response response = self.process_exception_by_middleware(e, request)
File “/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/handlers/”, line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/home/seafile/seafile-server-7.1.4/seahub/seahub/auth/”, line 27, in _wrapped_view return view_func(request, *args, **kwargs)
File “/home/seafile/seafile-server-7.1.4/seahub/seahub/views/”, line 1167, in react_fake_view ‘additional_about_dialog_links’: ADDITIONAL_ABOUT_DIALOG_LINKS
File “/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/”, line 30, in render content = loader.render_to_string(template_name, context, request, using=using)
File “/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/template/”, line 68, in render_to_string return template.render(context, request)
File “/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/template/backends/”, line 66, in render return self.template.render(context)
File “/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/template/”, line 205, in render with context.bind_template(self):
File “/usr/lib/python3.6/”, line 81, in enter return next(self.gen)
File “/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/template/”, line 263, in bind_template updates.update(processor(self.request))
File “/home/seafile/seafile-server-7.1.4/seahub/seahub/base/”, line 99, in base avatar_url, is_default, date_uploaded = api_avatar_url(username, 72)
File “/home/seafile/seafile-server-7.1.4/seahub/seahub/avatar/”, line 42, in cached_func return cache.get(key) or cache_set(key, func(user, size))
File “/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/cache/backends/”, line 41, in get return pickle.loads(zlib.decompress(
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe3 in position 1: ordinal not in range(128)

Thanks again. If I can offer additional information please let me know.

No issues. Try to start and stop memcached or delete the cache on /tmp/seahub_cache

If not, we can follow tomorrow. I need some sleep.

1 Like

Thank you very much.
I didn’t find any memcached instance (I hope that’s not an issue :sweat_smile:) but clearing the cache in /tmp/seahub_cache did the trick.

Btw. Thank you so much for providing us with the arm-version of the seafile server! Great work!

Is not an issue. You could have memcached configured or not. If you don’t have it, the seahub cache will be automatically saved on the /tmp directory, that’s why.