debian 10,Seafile 7.1.1 beta,Python 3.7.3,按教程指引安装完成之后,启动seafile与seahub无异常。
进入默认本地Web http://127.0.0.1:8000,可以看到登录页面,并能通过seahub初始化帐号进行登录,登录成功后
无法访问资料库,页面上调用 /api/v2.1/repos/?type=mine 报错500
conf/seahub.log
2020-02-18 04:38:49,036 [WARNING] django.request:152 get_response Not Found: /media/avatars/default.png
2020-02-18 04:38:49,300 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /api/v2.1/repos/
Traceback (most recent call last):
File "/opt/seafile/seafile-server-7.1.1/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py", line 88, in _get_transport
transport = self._pool.get(False)
File "/usr/lib/python3.7/queue.py", line 167, in get
raise Empty
_queue.Empty
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/seafile/seafile-server-7.1.1/seahub/thirdpart/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/opt/seafile/seafile-server-7.1.1/seahub/thirdpart/django/core/handlers/base.py", line 249, in _legacy_get_response
response = self._get_response(request)
File "/opt/seafile/seafile-server-7.1.1/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.1.1/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.1.1/seahub/thirdpart/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/seafile/seafile-server-7.1.1/seahub/thirdpart/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/seafile/seafile-server-7.1.1/seahub/thirdpart/rest_framework/views.py", line 505, in dispatch
response = self.handle_exception(exc)
File "/opt/seafile/seafile-server-7.1.1/seahub/thirdpart/rest_framework/views.py", line 465, in handle_exception
self.raise_uncaught_exception(exc)
File "/opt/seafile/seafile-server-7.1.1/seahub/thirdpart/rest_framework/views.py", line 476, in raise_uncaught_exception
raise exc
File "/opt/seafile/seafile-server-7.1.1/seahub/thirdpart/rest_framework/views.py", line 502, in dispatch
response = handler(request, *args, **kwargs)
File "/opt/seafile/seafile-server-7.1.1/seahub/seahub/api2/endpoints/repos.py", line 90, in get
ret_corrupted=True)
File "/opt/seafile/seafile-server-7.1.1/seafile/lib/python3.6/site-packages/seaserv/api.py", line 137, in get_owned_repo_list
start, limit)
File "/opt/seafile/seafile-server-7.1.1/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-server-7.1.1/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-server-7.1.1/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py", line 90, in _get_transport
transport = self._create_transport()
File "/opt/seafile/seafile-server-7.1.1/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py", line 83, in _create_transport
transport.connect()
File "/opt/seafile/seafile-server-7.1.1/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