上传大文件报错, 小文件可以

上传文件的 ajax 报错

Page unavailable

Sorry, but the requested page is unavailable due to a server hiccup.

Our engineers have been notified, so check back later.

日志看到的错误信息

2016-10-02 16:51:00,410 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /ajax/repo/f92717b1-87d9-4993-b83e-aaf5ff739347/get-file-uploaded-bytes/
Traceback (most recent call last):
  File "/opt/seafile/seafile-server-6.0.4/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 "/opt/seafile/seafile-server-6.0.4/seahub/seahub/views/ajax.py", line 1393, in get_file_uploaded_bytes
    uploadedBytes = seafile_api.get_upload_tmp_file_offset(repo_id, file_path)
AttributeError: 'SeafileAPI' object has no attribute 'get_upload_tmp_file_offset'
1 个赞

请问seafile是怎么安装的?

专业版和免费版混用导致的, 专业版的断点续传配置在免费版需要去掉

1 个赞