资料库突然打不开了,错误日志


#1

2018-01-05 11:32:09,034 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/file/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/views/generic/base.py”, line 71, in view
return self.dispatch(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/api2/base.py”, line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/api2/base.py”, line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 463, in dispatch
response = handler(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/api2/views.py”, line 2267, in delete
if check_folder_permission(request, repo_id, parent_dir) != ‘rw’:
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/init.py”, line 106, in check_folder_permission
return seafile_api.check_permission_by_path(repo_id, path, username)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/seaserv/api.py”, line 612, in check_permission_by_path
return seafserv_threaded_rpc.check_permission_by_path(repo_id, path, user)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 25, in _fret_string
raise SearpcError(dicts[‘err_msg’])
SearpcError: directory is missing
2018-01-05 14:13:08,928 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/lib/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/dir/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/ajax.py”, line 300, in list_lib_dir
username, -1, -1)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 79, in _fret_objlist
raise SearpcError(dicts[‘err_msg’])
SearpcError: bad dir id
2018-01-05 14:13:54,456 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/lib/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/dir/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/ajax.py”, line 300, in list_lib_dir
username, -1, -1)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 79, in _fret_objlist
raise SearpcError(dicts[‘err_msg’])
SearpcError: bad dir id
2018-01-05 14:14:03,190 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/lib/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/dir/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/ajax.py”, line 300, in list_lib_dir
username, -1, -1)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 79, in _fret_objlist
raise SearpcError(dicts[‘err_msg’])
SearpcError: bad dir id
2018-01-05 14:14:18,359 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/lib/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/dir/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/ajax.py”, line 300, in list_lib_dir
username, -1, -1)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 79, in _fret_objlist
raise SearpcError(dicts[‘err_msg’])
SearpcError: bad dir id
2018-01-05 14:15:01,696 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/lib/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/dir/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/ajax.py”, line 300, in list_lib_dir
username, -1, -1)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 79, in _fret_objlist
raise SearpcError(dicts[‘err_msg’])
SearpcError: bad dir id
2018-01-05 14:15:55,676 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/lib/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/dir/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/ajax.py”, line 300, in list_lib_dir
username, -1, -1)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 79, in _fret_objlist
raise SearpcError(dicts[‘err_msg’])
SearpcError: bad dir id
2018-01-05 14:17:26,771 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/lib/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/dir/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/ajax.py”, line 300, in list_lib_dir
username, -1, -1)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 79, in _fret_objlist
raise SearpcError(dicts[‘err_msg’])
SearpcError: bad dir id
2018-01-05 14:18:11,778 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/lib/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/dir/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/ajax.py”, line 300, in list_lib_dir
username, -1, -1)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 79, in _fret_objlist
raise SearpcError(dicts[‘err_msg’])
SearpcError: bad dir id
2018-01-05 14:24:04,770 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/lib/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/dir/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/ajax.py”, line 300, in list_lib_dir
username, -1, -1)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 79, in _fret_objlist
raise SearpcError(dicts[‘err_msg’])
SearpcError: bad dir id
2018-01-05 14:28:45,292 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/lib/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/dir/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/ajax.py”, line 300, in list_lib_dir
username, -1, -1)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 79, in _fret_objlist
raise SearpcError(dicts[‘err_msg’])
SearpcError: bad dir id
2018-01-05 14:36:33,181 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/lib/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/dir/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/ajax.py”, line 300, in list_lib_dir
username, -1, -1)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 79, in _fret_objlist
raise SearpcError(dicts[‘err_msg’])
SearpcError: bad dir id
2018-01-05 14:37:57,306 [WARNING] django.request:170 get_response Not Found: /favicon.ico
2018-01-05 14:37:57,330 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/lib/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/dir/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/ajax.py”, line 300, in list_lib_dir
username, -1, -1)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 79, in _fret_objlist
raise SearpcError(dicts[‘err_msg’])
SearpcError: bad dir id
2018-01-05 14:38:08,590 [WARNING] django.request:170 get_response Not Found: /favicon.ico
2018-01-05 14:38:14,022 [WARNING] django.request:170 get_response Not Found: /favicon.ico
2018-01-05 14:38:14,063 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/lib/92f17dde-3a6b-45fe-bd6b-6bdb062eb390/dir/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/views/ajax.py”, line 300, in list_lib_dir
username, -1, -1)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.0.13/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 79, in _fret_objlist
raise SearpcError(dicts[‘err_msg’])
SearpcError: bad dir id


#2

seafile.log日志如下:[01/05/2018 11:52:16 AM] …/common/fs-mgr.c(1704): Failed to decompress dir object ac0fe87dfda362cb46a5bba2f517a1960f3c82e9.
[01/05/2018 11:52:16 AM] …/common/fs-mgr.c(2620): Failed to get dir for /AudAHYZDB_201712.
[01/05/2018 11:53:36 AM] Empty input for zlib, invalid.
[01/05/2018 11:53:36 AM] …/common/fs-mgr.c(1704): Failed to decompress dir object ac0fe87dfda362cb46a5bba2f517a1960f3c82e9.
[01/05/2018 11:53:36 AM] …/common/fs-mgr.c(2620): Failed to get dir for /AudAHYZDB_3_201712.


#3

以解决,恢复到最初效果


#4

敢问仁兄,如何恢复?


#5

修复资料库,有相关的帮助