You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERRO[2025-12-01 10:25:58] PUT /dav/百度网盘/.ARW open /opt/openlist/data/temp/file-2847855481: no such file or directory
ERRO[2025-12-01 10:25:59] failed put /百度网盘/我的照片/: open /opt/openlist/data/temp/file-3127749071: no such file or directory
ERRO[2025-12-01 10:25:59] failed put /百度网盘/我的照片/**: open /opt/openlist/data/temp/file-912647548: no such file or directory
Activity
github-actions commentedon Dec 1, 2025
感谢您联系OpenList。我们会尽快回复您。
Thanks for contacting OpenList. We will reply to you as soon as possible.
yanghanbin commentedon Dec 1, 2025
临时文件过大的,建议有一个清理机制吧,超过多少时间的清理掉
temp目录自动重建吧,当然一般也没人去删除这个目录
jyxjjj commentedon Dec 1, 2025
ljcbaby commentedon Dec 1, 2025
https://doc.oplist.org/configuration/configuration#temp-dir
jyxjjj commentedon Dec 1, 2025
抱歉是我看错了,但是systemd-tmpfiles命令可以根据 /etc/tmpfiles.d/tmp.conf 的设置管理任何路径。
参考配置:
另外非常建议将此temp路径设置为或链接到系统tmp目录。
[-][BUG] 磁盘已满和temp目录问题[/-][+][Feature] 清理temp目录[/+]yanghanbin commentedon Dec 1, 2025
实际上在运行中的temp目录问题,一般不会考虑删除temp目录后,重启服务,当然这种场景极小,也可以不考虑
我这边之所以出现这种问题,是因为我设置的定时任务是部分时间同步,就可能出现下载/上传的大文件占着空间的问题
后期我会调整下这一块的规则
KirCute commentedon Dec 4, 2025
上面的讨论都在于如何修改temp文件夹的位置,我觉得方向错了,temp文件夹下的临时文件都是“先下载,后上传”的复制过程中先下载完毕但还未上传完毕的文件,按理来说上传完毕后就会自动删除,上传完毕后本地文件没有自动删除显然是bug
Brokye commentedon Dec 4, 2025
在解压大量文件时也会出现temp文件夹过大导致服务器硬盘爆满,原因是下载的快和上传慢,这样会慢慢把temp叠的很大,应该加一个机制当temp大于一个容量时,限制下载速度。此外我还在批量解压大量文件时遇到有些临时文件解压完后不会上传,而是一直留在temp里,重启才能恢复。我遇到的是一个9G以上的压缩包,解压出来9个1g的分包,解压完成后一直留在temp里也没上传。