vm11 + centos7 64+ seafile server 6.06,安装后正常运行,但系统重启后,显示红色 错误 !
帮忙解决一下啊, 不敢用了啊
底层程序报错,看一下服务器的 seahub.log, seahub_django_request.log,seafile.log 中有什么错误信息。
seafile.log
[12/06/16 15:23:59] seafile-controller.c(154): starting ccnet-server …
[12/06/16 15:23:59] seafile-controller.c(73): spawn_process: ccnet-server -F /haiwen/conf -c /haiwen/ccnet -f /haiwen/logs/ccnet.log -d -P /haiwen/pids/ccnet.pid
[12/06/16 15:23:59] seafile-controller.c(88): spawned ccnet-server, pid 18033
[12/06/16 15:24:00] seafile-controller.c(555): ccnet daemon connected.
[12/06/16 15:24:00] seafile-controller.c(186): starting seaf-server …
[12/06/16 15:24:00] seafile-controller.c(73): spawn_process: seaf-server -F /haiwen/conf -c /haiwen/ccnet -d /haiwen/seafile-data -l /haiwen/logs/seafile.log -P /haiwen/pids/seaf-server.pid
[12/06/16 15:24:00] seafile-controller.c(88): spawned seaf-server, pid 18038
[12/06/16 15:24:00] seafile-controller.c(528): seafdav not enabled.
seahub_django_request.log
2016-12-07 00:20:32,251 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
File “/haiwen/seafile-server-6.0.6/seahub/thirdpart/Django-1.8.16-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/haiwen/seafile-server-6.0.6/seahub/thirdpart/Django-1.8.16-py2.7.egg/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/haiwen/seafile-server-6.0.6/seahub/thirdpart/Django-1.8.16-py2.7.egg/django/views/generic/base.py”, line 71, in view
return self.dispatch(request, *args, **kwargs)
File “/haiwen/seafile-server-6.0.6/seahub/seahub/api2/base.py”, line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File “/haiwen/seafile-server-6.0.6/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “/haiwen/seafile-server-6.0.6/seahub/seahub/api2/base.py”, line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File “/haiwen/seafile-server-6.0.6/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 454, in dispatch
self.initial(request, *args, **kwargs)
File “/haiwen/seafile-server-6.0.6/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 378, in initial
self.check_throttles(request)
File “/haiwen/seafile-server-6.0.6/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 340, in check_throttles
if not throttle.allow_request(request, self):
File “/haiwen/seafile-server-6.0.6/seahub/seahub/api2/throttling.py”, line 123, in allow_request
self.history = self.cache.get(self.key, )
File “/haiwen/seafile-server-6.0.6/seahub/thirdpart/Django-1.8.16-py2.7.egg/django/core/cache/backends/filebased.py”, line 41, in get
if not self._is_expired(f):
File “/haiwen/seafile-server-6.0.6/seahub/thirdpart/Django-1.8.16-py2.7.egg/django/core/cache/backends/filebased.py”, line 138, in _is_expired
exp = pickle.load(f)
EOFError
清空 /tmp/seahub_cache 再重启 Seafile 服务就可以了。