5.1.3版本使用一个月后报“错误”

我是WIN2008R2+PY2.7.11+5.1.3版本的,使用了一个月都挺好的,这几天发现用web登录后显示“资料库显示红色的错误”,电脑的客户端显示“获取资料库信息失败”。手机端现在就根本登录不了。
按照论坛里说的修改seahub_settings.py也没有任何作用(我是先停服务修改后重启和停服务后修改完把seahub_settings.pyc文件删除这两个方法都试了)

很着急,请尽快解决吧

seahub_django_request.log的日志

2016-12-07 15:16:26,469 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\handlers\base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\views\decorators\csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\views\generic\base.py”, line 71, in view
return self.dispatch(request, *args, **kwargs)
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 454, in dispatch
self.initial(request, *args, **kwargs)
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 378, in initial
self.check_throttles(request)
File “C:\SeafileProgram\seafile-server-5.1.3\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 “C:\SeafileProgram\seafile-server-5.1.3\seahub\seahub\api2\throttling.py”, line 122, in allow_request
self.history = self.cache.get(self.key, [])
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 41, in get
if not self._is_expired(f):
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 138, in _is_expired
exp = pickle.load(f)
EOFError
2016-12-07 15:18:21,846 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/account/info/
Traceback (most recent call last):
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\handlers\base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\views\decorators\csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\views\generic\base.py”, line 71, in view
return self.dispatch(request, *args, **kwargs)
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 454, in dispatch
self.initial(request, *args, **kwargs)
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 378, in initial
self.check_throttles(request)
File “C:\SeafileProgram\seafile-server-5.1.3\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 “C:\SeafileProgram\seafile-server-5.1.3\seahub\seahub\api2\throttling.py”, line 122, in allow_request
self.history = self.cache.get(self.key, [])
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 41, in get
if not self._is_expired(f):
File “C:\SeafileProgram\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 138, in _is_expired
exp = pickle.load(f)
EOFError

seafile.log的日志

[12/06/16 16:35:12] …/common/mq-mgr.c(106): [mq mgr] publish to hearbeat mq: seaf_server.heartbeat
[12/06/16 16:35:12] listen-mgr.c(120): listen on port 12001 for block tranfer
[12/07/16 14:21:07] read from connfd error: No error.
[12/07/16 14:21:08] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[12/07/16 14:21:08] …/common/mq-mgr.c(106): [mq mgr] publish to hearbeat mq: seaf_server.heartbeat
[12/07/16 14:21:08] listen-mgr.c(120): listen on port 12001 for block tranfer
[12/07/16 14:24:56] read from connfd error: No error.
[12/07/16 14:27:30] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[12/07/16 14:27:30] …/common/mq-mgr.c(106): [mq mgr] publish to hearbeat mq: seaf_server.heartbeat
[12/07/16 14:27:30] listen-mgr.c(120): listen on port 12001 for block tranfer
[12/07/16 14:51:14] read from connfd error: No error.
[12/07/16 14:52:31] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[12/07/16 14:52:31] …/common/mq-mgr.c(106): [mq mgr] publish to hearbeat mq: seaf_server.heartbeat
[12/07/16 14:52:31] listen-mgr.c(120): listen on port 12001 for block tranfer
[12/07/16 14:52:41] read from connfd error: No error.
[12/07/16 14:52:42] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[12/07/16 14:52:42] …/common/mq-mgr.c(106): [mq mgr] publish to hearbeat mq: seaf_server.heartbeat
[12/07/16 14:52:42] listen-mgr.c(120): listen on port 12001 for block tranfer
[12/07/16 14:54:47] read from connfd error: No error.
[12/07/16 14:59:33] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[12/07/16 14:59:33] …/common/mq-mgr.c(106): [mq mgr] publish to hearbeat mq: seaf_server.heartbeat
[12/07/16 14:59:33] listen-mgr.c(120): listen on port 12001 for block tranfer

清空 /tmp/seahub_cache 再重启 Seafile 试试

同样的问题,解决!谢谢