遇到的问题:
当上传文件大于100m(没有精确测试)时,文件上传完成后会卡“处理中”。
我已经修改了nginx限制为102400m并reload,php的配置也改了,都没有用,请问是什么情况呀,应该做何调整
其他信息:
1. 系统为debian 11
2.配合宝塔进行nginx反代
3.存储策略为默认
4. F12h后控制台的信息如下:
[Cloudreve-uploader][debug] new plupload.Uploader(option)
uploader_local.js:131 [Cloudreve-uploader][debug] bind Init event
uploader_local.js:131 [Cloudreve-uploader][debug] bind FilesAdded event
uploader_local.js:131 [Cloudreve-uploader][debug] bind BeforeUpload event
uploader_local.js:131 [Cloudreve-uploader][debug] bind UploadProgress event
uploader_local.js:131 [Cloudreve-uploader][debug] bind ChunkUploaded event
uploader_local.js:131 [Cloudreve-uploader][debug] bind Error event
uploader_local.js:131 [Cloudreve-uploader][debug] bind FileUploaded event
moxie.js:1482 Instantiating FileInput...
moxie.js:1482 Trying runtime: html5
moxie.js:1482 {accept: Array(1), multiple: false, required_caps: {…}, container: div#container.jss446, runtime_order: 'html5', …}
moxie.js:1482 default mode: browser
moxie.js:1482 selected mode: browser
moxie.js:1482 Runtime 'html5' initialized
uploader_local.js:131 [Cloudreve-uploader][debug] invoke uploader.init()
uploader_local.js:131 [Cloudreve-uploader][debug] init uploader end
moxie.js:1482 Instantiating FileInput...
moxie.js:1482 Trying runtime: html5
moxie.js:1482 {accept: Array(1), multiple: true, required_caps: {…}, container: div#container.jss446, runtime_order: 'html5', …}
moxie.js:1482 default mode: browser
moxie.js:1482 selected mode: browser
moxie.js:1482 Runtime 'html5' initialized
moxie.js:1482 Instantiating FileDrop...
moxie.js:1482 Trying runtime: html5
moxie.js:1482 {accept: Array(1), required_caps: {…}, runtime_order: 'html5', preferred_caps: {…}, swf_url: 'js/Moxie.swf', …}
moxie.js:1482 default mode: browser
moxie.js:1482 selected mode: browser
moxie.js:1482 Runtime 'html5' initialized
uploader_local.js:131 [Cloudreve-uploader][debug] Init event activated
uploader_local.js:131 [Cloudreve-uploader][debug] FilesAdded event activated
uploader_local.js:131 [Cloudreve-uploader][debug] auto_start: true
uploader_local.js:131 [Cloudreve-uploader][debug] files: [PluploadFile]
uploader_local.js:131 [Cloudreve-uploader][debug] BeforeUpload event activated
uploader_local.js:131 [Cloudreve-uploader][debug] uploader.runtime: html5
uploader_local.js:131 [Cloudreve-uploader][debug] chunk_size: 0
uploader_local.js:131 [Cloudreve-uploader][debug] putPolicy: oss
uploader_local.js:131 [Cloudreve-uploader][debug] get uphosts from: https://uc.qbox.me/v1/query?ak=undefined&bucket=undefined
uploader_local.js:131 [Cloudreve-uploader][debug] resetUploadUrl: /api/v3/file/upload
uploader_local.js:131 [Cloudreve-uploader][debug] directUpload because uploader.runtime !== 'html5' || uploader.runtime !== 'flash' || !chunk_size
uploader_local.js:131 [Cloudreve-uploader][debug] directUpload multipart_params_obj: {key: 'test.mp4', token: 'token'}
uploader_local.js:131 [Cloudreve-uploader][debug] invoke up.start()
moxie.js:7643 POST https://disk.jackwebsite0.one/api/v3/file/upload 413
send @ moxie.js:7643
exec @ moxie.js:2332
shimExec @ moxie.js:2502
exec @ moxie.js:2520
exec @ moxie.js:5631
_doXHR @ moxie.js:5669
send @ moxie.js:5320
uploadChunk @ plupload.dev.js:1828
uploadNextChunk @ plupload.dev.js:1663
onUploadFile @ plupload.dev.js:1856
dispatchEvent @ plupload.dev.js:2425
trigger @ moxie.js:2155
(anonymous) @ uploader_local.js:1366
getNewUpToken @ uploader_local.js:796
(anonymous) @ uploader_local.js:1244
dispatchEvent @ plupload.dev.js:2425
trigger @ moxie.js:2155
uploadNext @ plupload.dev.js:1035
start @ plupload.dev.js:2164
(anonymous) @ uploader_local.js:1076
setTimeout (async)
(anonymous) @ uploader_local.js:1075
dispatchEvent @ plupload.dev.js:2425
trigger @ moxie.js:2155
(anonymous) @ plupload.dev.js:2328
(anonymous) @ moxie.js:353
setTimeout (async)
(anonymous) @ plupload.dev.js:2295
(anonymous) @ moxie.js:353
(anonymous) @ plupload.dev.js:2244
(anonymous) @ plupload.dev.js:783
(anonymous) @ plupload.dev.js:2239
callNext @ moxie.js:351
(anonymous) @ moxie.js:353
(anonymous) @ plupload.dev.js:2244
(anonymous) @ plupload.dev.js:808
(anonymous) @ plupload.dev.js:2239
callNext @ moxie.js:351
(anonymous) @ moxie.js:353
(anonymous) @ plupload.dev.js:2244
(anonymous) @ plupload.dev.js:765
(anonymous) @ plupload.dev.js:2239
callNext @ moxie.js:351
inSeries @ moxie.js:357
filterFile @ plupload.dev.js:2250
(anonymous) @ plupload.dev.js:2286
callNext @ moxie.js:351
inSeries @ moxie.js:357
addFile @ plupload.dev.js:2325
fileInput.onchange @ plupload.dev.js:1234
(anonymous) @ moxie.js:2171
(anonymous) @ moxie.js:2087
callNext @ moxie.js:351
inSeries @ moxie.js:357
dispatchEvent @ moxie.js:2092
trigger @ moxie.js:2155
onChange @ moxie.js:7086
uploader_local.js:131 [Cloudreve-uploader][error] Error event activated
uploader_local.js:131 [Cloudreve-uploader][error] err: {code: -200, message: 'HTTP 错误。', file: PluploadFile, response: '<html>\r\n<head><title>413 Request Entity Too Large<…disable MSIE and Chrome friendly error page -->\r\n', status: 413, …}
VM212:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at QiniuJsSDK.parseJSON (uploader_local.js:524:36)
at plupload.Uploader.<anonymous> (uploader_local.js:1537:61)
at plupload.Uploader.dispatchEvent (plupload.dev.js:2425:44)
at plupload.Uploader.trigger (moxie.js:2155:30)
at handleError (plupload.dev.js:1600:28)
at XMLHttpRequest.xhr.onload (plupload.dev.js:1689:29)
at XMLHttpRequest.<anonymous> (moxie.js:2171:17)
at Array.<anonymous> (moxie.js:2087:22)
at callNext (moxie.js:351:13)