Seafile 无法上传

Seafile 网页端上传提示unknown error,客户端一直上传失败,但下载正常。

管理员页面设置的Service_URL是https://abc.com:1000 ; File_Server_Root: https://abc.com:1000/seafhttp

https://abc.com:1000/seafhttp/upload-aj/ 提示Access Denied,也属正常

请教要怎么解决!

你这报错是什么位置报出来的,相关信息描述的尽量再清楚点

您好,附上截图
%E6%8D%95%E8%8E%B7 !
Seafile Windows上传文件没有速度,网页版Seafile上传到100%以后就会提示Unknown Error

%E6%8D%95%E8%8E%B71

%E6%8D%95%E8%8E%B72

image
你这个报错是从哪看到的,另外建议查下nginx的日志

感谢回复,我是在浏览器中尝试直接访问上传的api,
如:https://www.abc.com/seafhttp/upload-api/c5712203-d592-4099-b34a-f748xxxxxxx
https://www.abc.com/seafhttp/upload-aj/e6dce503-63db-468d-bf18-81eeaxxxxxxx
返回的是{“error”: “Access denied”},我的理解是访问没有问题。

另外用的是iis,把主页和/seafhttp反代了一下。

btw,突然发现小文件能传,是不是iis有上传限制,还是有些设置的问题?

Line 2544: 2019-07-29 06:26:48 172.16.1.2 POST /seafhttp/upload-aj/exxxxx0-7733-4b8b-9e8e-89bxxxxxx - 1000 - 172.16.1.3 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/75.0.3770.142+Safari/537.36 https://www.abc.com/ 404 13 0 0
Line 2545: 2019-07-29 06:26:48 172.16.1.2 GET /ajax/repo/xxxxxf5b-1ded-4599-b1f3-6xxxxx0/file_op_url/ op_type=upload&path=%2F&_=1564381531429 443 - 172.16.1.3 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/75.0.3770.142+Safari/537.36 https://www.abc.com/ 200 0 0 78
Line 2570: 2019-07-29 06:27:58 172.16.1.2 OPTIONS /seafhttp/upload-aj/1xxxxx-9ea0-47a5-810e-bcbxxxxx2 - 1000 - 172.16.1.3 Mozilla/5.0+(Linux;+Android+6.0;+Nexus+5+Build/MRA58N)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/75.0.3770.142+Mobile+Safari/537.36 https://www.abc.com/ 200 0 0 15
Line 2571: 2019-07-29 06:27:58 172.16.1.2 POST /seafhttp/upload-aj/1xxxxxef-9ea0-47a5-810e-bxxxxxx2 - 1000 - 172.16.1.3 Mozilla/5.0+(Linux;+Android+6.0;+Nexus+5+Build/MRA58N)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/75.0.3770.142+Mobile+Safari/537.36 https://www.abc.com/ 404 13 0 0
Line 2572: 2019-07-29 06:27:58 172.16.1.2 GET /ajax/repo/xxxxxf5b-1ded-4599-b1f3-6fb3xxxxx20/file_op_url/ op_type=upload&path=%2F&_=1564381631813 443 - 172.16.1.3 Mozilla/5.0+(Linux;+Android+6.0;+Nexus+5+Build/MRA58N)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/75.0.3770.142+Mobile+Safari/537.36 https://www.abc.com/ 200 0 0 78
Line 2634: 2019-07-29 06:33:03 172.16.1.2 OPTIONS /seafhttp/upload-aj/b8xxxxxd-edfa-4f26-94c0-0xxxxx1f - 1000 - 172.16.1.3 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/75.0.3770.142+Safari/537.36 https://www.abc.com/ 200 0 0 0
Line 2635: 2019-07-29 06:33:03 172.16.1.2 POST /seafhttp/upload-aj/xxxxxxd-edfa-4f26-94c0-0xxxxxx1f - 1000 - 172.16.1.3 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/75.0.3770.142+Safari/537.36 https://www.abc.com/ 404 13 0 0
Line 2636: 2019-07-29 06:33:03 172.16.1.2 GET /ajax/repo/9x5xx-1ded-4599-b1f3-6xxxxxxxx20/file_op_url/ op_type=upload&path=%2F&_=1564381881784 443 - 172.16.1.3 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/75.0.3770.142+Safari/537.36 https://www.abc.com/ 200 0 0 95
Line 2768: 2019-07-29 06:40:52 172.16.1.2 GET /ajax/repo/9xxxxxx-1ded-4599-b1f3-6fb30xxxxx20/file_op_url/ op_type=upload&path=%2F&_=1564382390661 443 - 172.16.1.2 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/75.0.3770.142+Safari/537.36 https://www.abc.com/ 200 0 0 46
Line 2769: 2019-07-29 06:40:52 172.16.1.2 OPTIONS /seafhttp/upload-aj/exxxxx3-63db-468d-bf18-81eea764f642 - 1000 - 172.16.1.2 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/75.0.3770.142+Safari/537.36 https://www.abc.com/ 200 0 0 0
Line 2770: 2019-07-29 06:40:52 172.16.1.2 POST /seafhttp/upload-aj/e6xxxxx03-63db-468d-bf18-81eea764f642 - 1000 - 172.16.1.2 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/75.0.3770.142+Safari/537.36 https://www.abc.com/ 404 13 0 15

再次确认了日志,提示404 13 原来是大小问题

改了下上限,还真就好了…

正确的方法是在iis请求筛选–编辑功能设置–允许的最大内容长度

之前尝试改配置文件或者注册表,都没用…