What is the problem you are having with rclone?
when I upload chunker file to webdav server (Alist), got error.
What is your rclone version (output from rclone version
)
root@debian:~# rclone -V
rclone v1.67.0
- os/version: debian 11.10 (64 bit)
- os/kernel: 5.10.0-31-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.4
- go/linking: static
- go/tags: none
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Debian12 64bit
Which cloud storage system are you using? (eg Google Drive)
webdav(by Alist) -> 123pan(www.123pan.com)
Test 1:
Config rclone with chunker storage, upload file to webdav server, got error.
[webdav]
type = webdav
url = http://xxxxx:5244/dav/[chunker]
type = chunker
remote = webdav:/123pan/test
chunk_size =3800M
hash_type = sha1
name_format = *.#
root@debian:~# rclone copy test10.txt chunker:/ -vv
2024/08/11 16:56:49 DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "copy" "test10.txt" "chunker:/" "-vv"]
2024/08/11 16:56:49 DEBUG : Creating backend with remote "test10.txt"
2024/08/11 16:56:49 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/08/11 16:56:49 DEBUG : fs cache: adding new entry for parent of "test10.txt", "/root"
2024/08/11 16:56:49 DEBUG : Creating backend with remote "chunker:/"
2024/08/11 16:56:49 DEBUG : Creating backend with remote "webdav:/123pan/test"
2024/08/11 16:56:49 DEBUG : found headers:
2024/08/11 16:56:49 DEBUG : fs cache: renaming cache item "webdav:/123pan/test" to be canonical "webdav:123pan/test"
2024/08/11 16:56:49 DEBUG : Reset feature "ListR"
2024/08/11 16:56:49 DEBUG : test10.txt: Need to transfer - File not found at Destination
2024/08/11 16:56:49 DEBUG : test10.txt: skip slow SHA1 on source file, hashing in-transit
2024/08/11 16:56:50 DEBUG : test10.txt: Update will use the normal upload strategy (no chunks)
2024/08/11 16:56:53 ERROR : test10.txt.1_1vq7jj: Couldn't move: copy NewObject failed: object not found
2024/08/11 16:56:53 ERROR : test10.txt.1_1vq7jj: Failed to remove temporary chunk: Not Found: 404 Not Found
2024/08/11 16:56:53 ERROR : test10.txt: Failed to copy: copy NewObject failed: object not found
2024/08/11 16:56:53 ERROR : Attempt 1/3 failed with 1 errors and: copy NewObject failed: object not found
2024/08/11 16:56:53 DEBUG : test10.txt: Need to transfer - File not found at Destination
2024/08/11 16:56:53 DEBUG : test10.txt: skip slow SHA1 on source file, hashing in-transit
2024/08/11 16:56:53 DEBUG : test10.txt: Update will use the normal upload strategy (no chunks)
2024/08/11 16:56:54 ERROR : test10.txt.1_1vqbdf: Couldn't move: copy NewObject failed: object not found
2024/08/11 16:56:54 ERROR : test10.txt.1_1vqbdf: Failed to remove temporary chunk: Not Found: 404 Not Found
2024/08/11 16:56:54 ERROR : test10.txt: Failed to copy: copy NewObject failed: object not found
2024/08/11 16:56:54 ERROR : Attempt 2/3 failed with 1 errors and: copy NewObject failed: object not found
2024/08/11 16:56:54 DEBUG : test10.txt: Need to transfer - File not found at Destination
2024/08/11 16:56:54 DEBUG : test10.txt: skip slow SHA1 on source file, hashing in-transit
2024/08/11 16:56:55 DEBUG : test10.txt: Update will use the normal upload strategy (no chunks)
2024/08/11 16:56:56 ERROR : test10.txt.1_1vqcq8: Couldn't move: copy NewObject failed: object not found
2024/08/11 16:56:56 ERROR : test10.txt.1_1vqcq8: Failed to remove temporary chunk: Not Found: 404 Not Found
2024/08/11 16:56:56 ERROR : test10.txt: Failed to copy: copy NewObject failed: object not found
2024/08/11 16:56:56 ERROR : Attempt 3/3 failed with 1 errors and: copy NewObject failed: object not found
2024/08/11 16:56:56 INFO :
Transferred: 33 B / 33 B, 100%, 5 B/s, ETA 0s
Errors: 1 (retrying may help)
Checks: 3 / 3, 100%
Elapsed time: 6.6s
2024/08/11 16:56:56 DEBUG : 8 go routines active
2024/08/11 16:56:56 Failed to copy: copy NewObject failed: object not found
Test 2:
directly upload file to webdav server to the same folder , no error.
[webdav]
type = webdav
url = http://xxxxx:5244/dav/
root@debian:~# rclone copy test13.txt webdav:/123pan/test/ -vv
2024/08/11 16:59:23 DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "copy" "test13.txt" "webdav:/123pan/test/" "-vv"]
2024/08/11 16:59:23 DEBUG : Creating backend with remote "test13.txt"
2024/08/11 16:59:23 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/08/11 16:59:23 DEBUG : fs cache: adding new entry for parent of "test13.txt", "/root"
2024/08/11 16:59:23 DEBUG : Creating backend with remote "webdav:/123pan/test/"
2024/08/11 16:59:23 DEBUG : found headers:
2024/08/11 16:59:23 DEBUG : fs cache: renaming cache item "webdav:/123pan/test/" to be canonical "webdav:123pan/test"
2024/08/11 16:59:23 DEBUG : test13.txt: Need to transfer - File not found at Destination
2024/08/11 16:59:23 DEBUG : test13.txt: Update will use the normal upload strategy (no chunks)
2024/08/11 16:59:24 INFO : test13.txt: Copied (new)
2024/08/11 16:59:24 INFO :
Transferred: 11 B / 11 B, 100%, 0 B/s, ETA -
Transferred: 1 / 1, 100%
Elapsed time: 0.7s
2024/08/11 16:59:24 DEBUG : 8 go routines active
Test 3:
Config rclone with crypt storage, upload file to webdav server, no error.
[webdav]
type = webdav
url = http://xxxxx:5244/dav/[crypt]
type = crypt
remote =webdav:/123pan/test/
filename_encryption = standard
directory_name_encryption = true
password = ......
password2 = ......
root@debian:~# rclone copy test10.txt crypt:/ -vv
2024/08/11 17:00:30 DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "copy" "test10.txt" "crypt:/" "-vv"]
2024/08/11 17:00:30 DEBUG : Creating backend with remote "test10.txt"
2024/08/11 17:00:30 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/08/11 17:00:30 DEBUG : fs cache: adding new entry for parent of "test10.txt", "/root"
2024/08/11 17:00:30 DEBUG : Creating backend with remote "crypt:/"
2024/08/11 17:00:30 DEBUG : Creating backend with remote "webdav:/123pan/test"
2024/08/11 17:00:30 DEBUG : found headers:
2024/08/11 17:00:30 DEBUG : fs cache: renaming cache item "webdav:/123pan/test" to be canonical "webdav:123pan/test"
2024/08/11 17:00:30 DEBUG : fs cache: switching user supplied name "webdav:/123pan/test" for canonical name "webdav:123pan/test"
2024/08/11 17:00:30 DEBUG : test10.txt: Need to transfer - File not found at Destination
2024/08/11 17:00:30 DEBUG : test10.txt: Update will use the normal upload strategy (no chunks)
2024/08/11 17:00:32 INFO : test10.txt: Copied (new)
2024/08/11 17:00:32 INFO :
Transferred: 59 B / 59 B, 100%, 58 B/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 1.2s
2024/08/11 17:00:32 DEBUG : 8 go routines active