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

webdav文件移动重命名失败 #6351

Open
4 tasks done
AoEiuV020 opened this issue Apr 15, 2024 · 9 comments
Open
4 tasks done

webdav文件移动重命名失败 #6351

AoEiuV020 opened this issue Apr 15, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@AoEiuV020
Copy link

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.33.0

Driver used / 使用的存储驱动

webdav

Describe the bug / 问题描述

webdav挂载后移动和重命名操作失败,
尝试了windows rclone和linux dav2fs都一样,
似乎偶尔能正常, 刚升级时试着移动几个文件正常, 过后再移动又失败了,

Reproduction / 复现链接

/dav

Config / 配置

{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "CEvh。。。q",
"token_expires_in": 48,
"database": {
"type": "sqlite3",
"host": "",
"port": 0,
"user": "",
"password": "",
"name": "",
"db_file": "data/data.db",
"table_prefix": "x_",
"ssl_mode": "",
"dsn": ""
},
"meilisearch": {
"host": "http://localhost:7700",
"api_key": "",
"index_prefix": ""
},
"scheme": {
"address": "0.0.0.0",
"http_port": 5244,
"https_port": -1,
"force_https": false,
"cert_file": "",
"key_file": "",
"unix_file": "",
"unix_file_perm": ""
},
"temp_dir": "data/temp",
"bleve_dir": "data/bleve",
"dist_dir": "",
"log": {
"enable": true,
"name": "data/log/log.log",
"max_size": 50,
"max_backups": 30,
"max_age": 28,
"compress": false
},
"delayed_start": 0,
"max_connections": 0,
"tls_insecure_skip_verify": true,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1
},
"transfer": {
"workers": 5,
"max_retry": 2
},
"upload": {
"workers": 5,
"max_retry": 0
},
"copy": {
"workers": 5,
"max_retry": 2
}
},
"cors": {
"allow_origins": [
""
],
"allow_methods": [
"
"
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
}
}

Logs / 日志

D:\aoeiuv020\mnt>rclone mount alias:/ W:
2024/04/15 11:14:11 NOTICE: webdav root '': --vfs-cache-mode writes or full is recommended for this remote as it can't stream
The service rclone has been started.
2024/04/15 11:14:28 ERROR : backup/android/jks/key.properties: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes
2024/04/15 11:14:40 ERROR : backup/android/jks/key.properties: Couldn't move: copy call failed: Locked: 423 Locked
2024/04/15 11:14:40 ERROR : backup/android/jks/TaikoSongs.properties: File.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:14:40 ERROR : backup/android/jks/key.properties: Dir.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:14:40 ERROR : IO error: copy call failed: Locked: 423 Locked
2024/04/15 11:17:45 ERROR : backup/android/jks/key.properties: Couldn't move: copy call failed: Locked: 423 Locked
2024/04/15 11:17:45 ERROR : backup/android/jks/TaikoSongs/key.properties: File.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:17:45 ERROR : backup/android/jks/key.properties: Dir.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:17:45 ERROR : IO error: copy call failed: Locked: 423 Locked
2024/04/15 11:18:15 ERROR : backup/android/jks/TaikoSongs.jks: Couldn't move: copy call failed: Locked: 423 Locked
2024/04/15 11:18:15 ERROR : backup/android/jks/TaikoSongs/TaikoSongs.jks: File.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:18:15 ERROR : backup/android/jks/TaikoSongs.jks: Dir.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:18:15 ERROR : IO error: copy call failed: Locked: 423 Locked
2024/04/15 11:28:03 ERROR : backup/android/jks/panovel.jks: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes
2024/04/15 11:28:03 ERROR : backup/android/jks/signing.properties: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes
2024/04/15 11:28:03 ERROR : backup/android/jks/signing.txt: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes
2024/04/15 11:28:25 ERROR : backup/android/jks/panovel.jks: Couldn't move: copy call failed: Locked: 423 Locked
2024/04/15 11:28:25 ERROR : backup/android/jks/PaNovel/panovel.jks: File.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:28:25 ERROR : backup/android/jks/panovel.jks: Dir.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:28:25 ERROR : IO error: copy call failed: Locked: 423 Locked
2024/04/15 11:28:50 ERROR : backup/android/jks/panovel.jks: Couldn't move: copy call failed: Locked: 423 Locked
2024/04/15 11:28:50 ERROR : backup/android/jks/PaNovel/panovel.jks: File.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:28:50 ERROR : backup/android/jks/panovel.jks: Dir.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:28:50 ERROR : IO error: copy call failed: Locked: 423 Locked
The service rclone has been stopped.
2024/04/15 11:29:01 ERROR : W:: Unmounted rclone mount

D:\aoeiuv020\mnt>rclone mount alias:/ W:
2024/04/15 11:29:03 NOTICE: webdav root '': --vfs-cache-mode writes or full is recommended for this remote as it can't stream
The service rclone has been started.
2024/04/15 11:29:49 ERROR : backup/android/jks/panovel.jks: Couldn't move: copy call failed: Locked: 423 Locked
2024/04/15 11:29:49 ERROR : backup/android/jks/PaNovel/panovel.jks: File.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:29:49 ERROR : backup/android/jks/panovel.jks: Dir.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:29:49 ERROR : IO error: copy call failed: Locked: 423 Locked
2024/04/15 11:30:37 ERROR : backup/android/jks/signing.properties: Couldn't move: copy call failed: Locked: 423 Locked
2024/04/15 11:30:37 ERROR : backup/android/jks/PaNovel/signing.properties: File.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:30:37 ERROR : backup/android/jks/signing.properties: Dir.Rename error: copy call failed: Locked: 423 Locked
2024/04/15 11:30:37 ERROR : IO error: copy call failed: Locked: 423 Locked

@AoEiuV020 AoEiuV020 added the bug Something isn't working label Apr 15, 2024
Copy link

welcome bot commented Apr 15, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

Copy link

@pongfcnkl
Copy link

webdav只能移动非跨盘,要移动跨盘只能改源码了

@AoEiuV020
Copy link
Author

@pongfcnkl 没有涉及云盘和跨盘之类的,就是最基本的本机存储开webdav,当前目录下重命名或者移动到子目录,报错,
alist网页操作是正常的, 就webdav不行,

@AoEiuV020
Copy link
Author

webdav上传和删除也是正常的, 权限都有给,
image

@pongfcnkl
Copy link

pongfcnkl commented Apr 15, 2024

@AoEiuV020
用admin移动呢?

@AoEiuV020
Copy link
Author

@pongfcnkl 怪了我现在怎么移动都正常,admin和普通账号都正常, 等再复现了再试试admin吧,感觉上应该是和账号无关的,

@xhofe
Copy link
Member

xhofe commented Apr 15, 2024

看日志是修改冲突 文件lock了

@AoEiuV020
Copy link
Author

@xhofe 看到了,可是没找到什么冲突,rclone是刚安装挂载的, 文件是刚上传的,文件夹是刚创建的, 到这里都正常,然后重命名或者移动文件就失败, 翻来覆去都失败,但现在又正常了,

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