Page Unavailable - Server Hiccup 7.1.6 Pro (Solved)

Just upgraded to 7.1.6 Pro a few days ago using the docker repo. Ever since, I’ve been getting errors on my server. When accessing the Web UI via the URL, it will show the following screen:

If I refresh a few times it will load properly, but if I refresh some more the screen reappears, navigating through my libraries sometimes it works and sometimes it just says Error at the top. I looked in my seafile.log from server files but didn’t see anything, where should I be looking and how can I fix this?

This is the typical error message when Seahub hasn’t been started/does not work properly.

Have a look in the seahub.log for clues.

Have you checked if you have enough storage on your drive?

About 6TB of disk space free, so that shouldn’t be an issue. I’ll check out the seahub log, thank you!

Here’s what my seahub log shows:

2020-08-13 11:41:15,166 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 88, in _get_transport
transport = self._pool.get(False)
File “/usr/lib/python3.6/queue.py”, line 161, in get
raise Empty
queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/core/handlers/base.py”, line 249, in _legacy_get_response
response = self._get_response(request)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/core/handlers/base.py”, line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/core/handlers/base.py”, line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/views/generic/base.py”, line 68, in view
return self.dispatch(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/api2/base.py”, line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 505, in dispatch
response = self.handle_exception(exc)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/api2/base.py”, line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 465, in handle_exception
self.raise_uncaught_exception(exc)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 476, in raise_uncaught_exception
raise exc
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 493, in dispatch
self.initial(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 410, in initial
self.perform_authentication(request)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 324, in perform_authentication
request.user
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/request.py”, line 220, in user
self._authenticate()
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/request.py”, line 373, in _authenticate
user_auth_tuple = authenticator.authenticate(self)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/api2/authentication.py”, line 65, in authenticate
ret = self.authenticate_v2(request, key)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/api2/authentication.py”, line 101, in authenticate_v2
user = User.objects.get(email=token.user)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/base/accounts.py”, line 95, in get
emailuser = ccnet_threaded_rpc.get_emailuser(email)
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/client.py”, line 126, in newfunc
ret_str = self.call_remote_func_sync(fcall_str)
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 100, in call_remote_func_sync
transport = self._get_transport()
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 90, in _get_transport
transport = self._create_transport()
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 83, in _create_transport
transport.connect()
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 47, in connect
self.pipe.connect(self.socket_path)
ConnectionRefusedError: [Errno 111] Connection refused
2020-08-13 11:41:45,989 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter fvh
2020-08-13 11:41:46,130 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 88, in _get_transport
transport = self._pool.get(False)
File “/usr/lib/python3.6/queue.py”, line 161, in get
raise Empty
queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/core/handlers/base.py”, line 249, in _legacy_get_response
response = self._get_response(request)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/core/handlers/base.py”, line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/core/handlers/base.py”, line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/views/generic/base.py”, line 68, in view
return self.dispatch(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/api2/base.py”, line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 505, in dispatch
response = self.handle_exception(exc)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/api2/base.py”, line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 465, in handle_exception
self.raise_uncaught_exception(exc)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 476, in raise_uncaught_exception
raise exc
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 493, in dispatch
self.initial(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 410, in initial
self.perform_authentication(request)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 324, in perform_authentication
request.user
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/request.py”, line 220, in user
self._authenticate()
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/request.py”, line 373, in _authenticate
user_auth_tuple = authenticator.authenticate(self)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/api2/authentication.py”, line 65, in authenticate
ret = self.authenticate_v2(request, key)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/api2/authentication.py”, line 101, in authenticate_v2
user = User.objects.get(email=token.user)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/base/accounts.py”, line 95, in get
emailuser = ccnet_threaded_rpc.get_emailuser(email)
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/client.py”, line 126, in newfunc
ret_str = self.call_remote_func_sync(fcall_str)
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 100, in call_remote_func_sync
transport = self._get_transport()
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 90, in _get_transport
transport = self._create_transport()
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 83, in _create_transport
transport.connect()
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 47, in connect
self.pipe.connect(self.socket_path)
ConnectionRefusedError: [Errno 111] Connection refused
2020-08-13 11:42:51,312 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 88, in _get_transport
transport = self._pool.get(False)
File “/usr/lib/python3.6/queue.py”, line 161, in get
raise Empty
queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/core/handlers/base.py”, line 249, in _legacy_get_response
response = self._get_response(request)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/core/handlers/base.py”, line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/core/handlers/base.py”, line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/django/views/generic/base.py”, line 68, in view
return self.dispatch(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/api2/base.py”, line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 505, in dispatch
response = self.handle_exception(exc)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/api2/base.py”, line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 465, in handle_exception
self.raise_uncaught_exception(exc)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 476, in raise_uncaught_exception
raise exc
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 493, in dispatch
self.initial(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 410, in initial
self.perform_authentication(request)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/views.py”, line 324, in perform_authentication
request.user
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/request.py”, line 220, in user
self._authenticate()
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/thirdpart/rest_framework/request.py”, line 373, in _authenticate
user_auth_tuple = authenticator.authenticate(self)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/api2/authentication.py”, line 65, in authenticate
ret = self.authenticate_v2(request, key)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/api2/authentication.py”, line 101, in authenticate_v2
user = User.objects.get(email=token.user)
File “/opt/seafile/seafile-pro-server-7.1.6/seahub/seahub/base/accounts.py”, line 95, in get
emailuser = ccnet_threaded_rpc.get_emailuser(email)
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/client.py”, line 126, in newfunc
ret_str = self.call_remote_func_sync(fcall_str)
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 100, in call_remote_func_sync
transport = self._get_transport()
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 90, in _get_transport
transport = self._create_transport()
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 83, in _create_transport
transport.connect()
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 47, in connect
self.pipe.connect(self.socket_path)
ConnectionRefusedError: [Errno 111] Connection refused
2020-08-13 11:44:59,531 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter fvh
2020-08-13 11:44:59,645 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-7.1.6/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py”, line 88, in _get_transport
transport = self._pool.get(False)
File “/usr/lib/python3.6/queue.py”, line 161, in get
raise Empty
queue.Empty

Please check this post: Seafile pro server not working after upgrade to 7.1.5

The user reports the same error message and there is a solution provided.

Thank you again rdb, it seems I was careless with permissions. A simple chown seems to have solved my problem.

Glad I could help.

Could you make this thread as solved?