seadrive 登录失败:服务器内部错误,seafile 能登录提示:获取资料库信息失败


#1
请问要怎么修复,日志如下,刚才是服务器有断电了的,开机就出现以下问题, 不知道跟电有没有关系!!
seahub_django_request.log最新的日志内容

2018-01-12 10:47:17,516 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
  File "C:\SeafileProgram\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\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\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\seahub\seahub\api2\base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "C:\SeafileProgram\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\seahub\seahub\api2\base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "C:\SeafileProgram\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\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py", line 378, in initial
    self.check_throttles(request)
  File "C:\SeafileProgram\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\seahub\seahub\api2\throttling.py", line 123, in allow_request
    self.history = self.cache.get(self.key, [])
  File "C:\SeafileProgram\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\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

#2

可以了, 把缓存清空后就可以了,seahub_cache 目录内临时文件清掉就可以了