后台管理, 日志里面‘文件访问’报错


#1

日志里面, 登录;文件更新;权限;mail都是正常的就是文件访问报错


错误截图如上

尝试请了下/tmp/seahub_cache/ 里面的文件无效
求大神帮助


#2

这个你得看下服务器上的seafile.log日志了,看里边有啥具体报错没


#4

2019-06-04 04:07:51,536 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /sys/log/fileaudit/
Traceback (most recent call last):
File “/data/Seafile/seafile-pro-server-6.3.7/seahub/thirdpart/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/data/Seafile/seafile-pro-server-6.3.7/seahub/thirdpart/django/core/handlers/base.py”, line 249, in _legacy_get_response
response = self._get_response(request)
File “/data/Seafile/seafile-pro-server-6.3.7/seahub/thirdpart/django/core/handlers/base.py”, line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File “/data/Seafile/seafile-pro-server-6.3.7/seahub/thirdpart/django/core/handlers/base.py”, line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/data/Seafile/seafile-pro-server-6.3.7/seahub/seahub/auth/decorators.py”, line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/data/Seafile/seafile-pro-server-6.3.7/seahub/seahub/base/decorators.py”, line 26, in _decorated
return func(request, *args, **kwargs)
File “/data/Seafile/seafile-pro-server-6.3.7/seahub-extra/seahub_extra/sysadmin_extra/views.py”, line 147, in sys_log_file_audit
ev.event_type, ev.show_device = generate_file_audit_event_type(ev)
File “/data/Seafile/seafile-pro-server-6.3.7/seahub/seahub/utils/init.py”, line 675, in generate_file_audit_event_type
}[e.etype]
KeyError: u’seadrive-download-file’


#5

建议升级一下看看能不能解决