Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【BUG】无法删除文件等2个问题 #472

Closed
callng opened this issue Jun 15, 2020 · 5 comments
Closed

【BUG】无法删除文件等2个问题 #472

callng opened this issue Jun 15, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@callng
Copy link

callng commented Jun 15, 2020

问题1

如果要删除的文件过多(不能确定文件数(此次bug触发:>300个文件)),会无法删除,报错如下图:
bug
存储策略:又拍云(应该不是又拍云问题),数据库:sqlite(性能问题?)
建议文件删除时,如果文件很多那么做批次删除处理不要集中在一个地址提交删除请求。

问题2

无法打开txt,php这类可以直接在cloudreve打开编辑的文件,但jpg这类图片文件可以正常访问,报错如下图:
bug1
存储方式:又拍云,数据库:sqlite

@callng
Copy link
Author

callng commented Jun 15, 2020

无法打开txt,php这类可以直接在cloudreve编辑的文件,但可以正常下载,下载的文件没有破坏。

@callng
Copy link
Author

callng commented Jun 15, 2020

在提个【建议】列表加载文件不建议一次性加载完毕,因为这样如果列表文件数过多(>1000)会造成浏览器卡顿的现象。如果列表文件过多建议分批次加载文件,每次加载数量(<500?)防止浏览器卡顿(Google Chrome)

@caspershw
Copy link

删除报错的问题应该是SQLite的问题,更换mysql应该可以解决,或者等作者修复。
文件无法打开的问题,可以F12打开Network选项卡,查看具体错误。
分页加载文件列表已经在计划了(cloudreve/frontend#12)

@HFO4 HFO4 added the bug Something isn't working label Jun 17, 2020
@callng
Copy link
Author

callng commented Jun 30, 2020

@hicasper 文件无法打开的问题,目前只有又拍云出现过,开启调试模式后就是如问题2 那截图一样

@HFO4
Copy link
Member

HFO4 commented Jul 1, 2020

@hicasper 文件无法打开的问题,目前只有又拍云出现过,开启调试模式后就是如问题2 那截图一样

是的,这个是又拍策略的bug

codesnas added a commit to codesnas/Cloudreve that referenced this issue May 18, 2021
@callng callng closed this as completed Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants