What is the problem you are having with rclone?
Rclone is able to upload to my Box remote fine if I attempt to push it directly to the the remote without the chunker layer. However, when attempting to copy something through the chunker layer, it gives me 403 errors regardless of filesize being greater or smaller than the threshold (4.9GB).
Run the command 'rclone version' and share the full output of the command.
rclone v1.64.0-beta.7174.3ed4a2e96
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.15.0-78-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21rc3
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Box > Chunker
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
The following fails, when using a file of 20 kb:
rclone copy "./Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt" "box_chunker:Media/TV/Hindi_HD/Devon Ke Dev. Mahadev (2011) [imdb-tt2147999]/Season 32/" -vv
----
2023/07/27 21:04:50 DEBUG : rclone: Version "v1.64.0-beta.7174.3ed4a2e96" starting with parameters ["rclone" "copy" "./Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt" "box_chunker:Media/TV/Hindi_HD/Devon Ke Dev. Mahadev (2011) [imdb-tt2147999]/Season 32/" "-vv"]
2023/07/27 21:04:50 DEBUG : Creating backend with remote "./Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt"
2023/07/27 21:04:50 DEBUG : Using config file from "/home/vash/.config/rclone/rclone.conf"
2023/07/27 21:04:50 DEBUG : fs cache: adding new entry for parent of "./Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt", "/home/vash"
2023/07/27 21:04:50 DEBUG : Creating backend with remote "box_chunker:Media/TV/Hindi_HD/Devon Ke Dev. Mahadev (2011) [imdb-tt2147999]/Season 32/"
2023/07/27 21:04:50 DEBUG : Creating backend with remote "box:Media/TV/Hindi_HD/Devon Ke Dev. Mahadev (2011) [imdb-tt2147999]/Season 32"
2023/07/27 21:04:53 DEBUG : Reset feature "ListR"
2023/07/27 21:04:53 DEBUG : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt: Need to transfer - File not found at Destination
2023/07/27 21:04:54 DEBUG : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt: skip slow MD5 on source file, hashing in-transit
2023/07/27 21:05:00 DEBUG : Couldn't decode error response: EOF
2023/07/27 21:05:00 ERROR : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt - [Chunk 00001]_hn7s86: Couldn't move: Error "403 Forbidden" (403)
2023/07/27 21:05:01 ERROR : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt - [Chunk 00001]_hn7s86: Failed to remove temporary chunk: Error "not_found" (404): Not Found ([123 34 101 114 114 111 114 115 34 58 91 123 34 114 101 97 115 111 110 34 58 34 105 110 118 97 108 105 100 95 112 97 114 97 109 101 116 101 114 34 44 34 110 97 109 101 34 58 34 102 105 108 101 34 44 34 109 101 115 115 97 103 101 34 58 34 73 110 118 97 108 105 100 32 118 97 108 117 101 32 39 49 50 54 56 49 52 55 50 49 54 56 49 55 39 46 32 39 102 105 108 101 39 32 119 105 116 104 32 118 97 108 117 101 32 39 49 50 54 56 49 52 55 50 49 54 56 49 55 39 32 110 111 116 32 102 111 117 110 100 34 125 93 125])
2023/07/27 21:05:01 ERROR : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt: Failed to copy: Error "403 Forbidden" (403)
2023/07/27 21:05:01 ERROR : Attempt 1/3 failed with 1 errors and: Error "403 Forbidden" (403)
2023/07/27 21:05:02 DEBUG : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt: Need to transfer - File not found at Destination
2023/07/27 21:05:02 DEBUG : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt: skip slow MD5 on source file, hashing in-transit
2023/07/27 21:05:06 DEBUG : Couldn't decode error response: EOF
2023/07/27 21:05:06 ERROR : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt - [Chunk 00001]_hn80i1: Couldn't move: Error "403 Forbidden" (403)
2023/07/27 21:05:08 ERROR : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt - [Chunk 00001]_hn80i1: Failed to remove temporary chunk: Error "not_found" (404): Not Found ([123 34 101 114 114 111 114 115 34 58 91 123 34 114 101 97 115 111 110 34 58 34 105 110 118 97 108 105 100 95 112 97 114 97 109 101 116 101 114 34 44 34 110 97 109 101 34 58 34 102 105 108 101 34 44 34 109 101 115 115 97 103 101 34 58 34 73 110 118 97 108 105 100 32 118 97 108 117 101 32 39 49 50 54 56 49 50 56 49 57 48 50 52 55 39 46 32 39 102 105 108 101 39 32 119 105 116 104 32 118 97 108 117 101 32 39 49 50 54 56 49 50 56 49 57 48 50 52 55 39 32 110 111 116 32 102 111 117 110 100 34 125 93 125])
2023/07/27 21:05:08 ERROR : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt: Failed to copy: Error "403 Forbidden" (403)
2023/07/27 21:05:08 ERROR : Attempt 2/3 failed with 1 errors and: Error "403 Forbidden" (403)
2023/07/27 21:05:08 DEBUG : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt: Need to transfer - File not found at Destination
2023/07/27 21:05:09 DEBUG : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt: skip slow MD5 on source file, hashing in-transit
2023/07/27 21:05:12 DEBUG : Couldn't decode error response: EOF
2023/07/27 21:05:12 ERROR : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt - [Chunk 00001]_hn87we: Couldn't move: Error "403 Forbidden" (403)
2023/07/27 21:05:14 ERROR : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt - [Chunk 00001]_hn87we: Failed to remove temporary chunk: Error "not_found" (404): Not Found ([123 34 101 114 114 111 114 115 34 58 91 123 34 114 101 97 115 111 110 34 58 34 105 110 118 97 108 105 100 95 112 97 114 97 109 101 116 101 114 34 44 34 110 97 109 101 34 58 34 102 105 108 101 34 44 34 109 101 115 115 97 103 101 34 58 34 73 110 118 97 108 105 100 32 118 97 108 117 101 32 39 49 50 54 56 49 53 50 54 51 57 48 48 53 39 46 32 39 102 105 108 101 39 32 119 105 116 104 32 118 97 108 117 101 32 39 49 50 54 56 49 53 50 54 51 57 48 48 53 39 32 110 111 116 32 102 111 117 110 100 34 125 93 125])
2023/07/27 21:05:14 ERROR : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt: Failed to copy: Error "403 Forbidden" (403)
2023/07/27 21:05:14 ERROR : Attempt 3/3 failed with 1 errors and: Error "403 Forbidden" (403)
2023/07/27 21:05:14 INFO :
Transferred: 60.158 KiB / 60.158 KiB, 100%, 2.969 KiB/s, ETA 0s
Errors: 1 (retrying may help)
Checks: 3 / 3, 100%
Elapsed time: 23.2s
2023/07/27 21:05:14 DEBUG : 8 go routines active
2023/07/27 21:05:14 Failed to copy: Error "403 Forbidden" (403)
The following works, using the same 20 kb file:
rclone copy "./Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt" "box:Media/TV/Hindi_HD/Devon Ke Dev. Mahadev (2011) [imdb-tt2147999]/Season 32/" -vv
----
2023/07/27 21:05:57 DEBUG : rclone: Version "v1.64.0-beta.7174.3ed4a2e96" starting with parameters ["rclone" "copy" "./Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt" "box:Media/TV/Hindi_HD/Devon Ke Dev. Mahadev (2011) [imdb-tt2147999]/Season 32/" "-vv"]
2023/07/27 21:05:57 DEBUG : Creating backend with remote "./Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt"
2023/07/27 21:05:57 DEBUG : Using config file from "/home/vash/.config/rclone/rclone.conf"
2023/07/27 21:05:57 DEBUG : fs cache: adding new entry for parent of "./Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt", "/home/vash"
2023/07/27 21:05:57 DEBUG : Creating backend with remote "box:Media/TV/Hindi_HD/Devon Ke Dev. Mahadev (2011) [imdb-tt2147999]/Season 32/"
2023/07/27 21:06:00 DEBUG : fs cache: renaming cache item "box:Media/TV/Hindi_HD/Devon Ke Dev. Mahadev (2011) [imdb-tt2147999]/Season 32/" to be canonical "box:Media/TV/Hindi_HD/Devon Ke Dev. Mahadev (2011) [imdb-tt2147999]/Season 32"
2023/07/27 21:06:00 DEBUG : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt: Need to transfer - File not found at Destination
2023/07/27 21:06:02 DEBUG : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt: sha1 = b058bd701acc17ad57a277d5c6fed23a06f6a0bd OK
2023/07/27 21:06:02 INFO : Devon Ke Dev. Mahadev (2011) - S32E02 - Kartikey vows to fight Lohitang [HDTV-720p][AAC 2.0][h264].srt: Copied (new)
2023/07/27 21:06:02 INFO :
Transferred: 20.053 KiB / 20.053 KiB, 100%, 20.049 KiB/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 5.2s
2023/07/27 21:06:02 DEBUG : 8 go routines active
The following fails, using a file that is 4.95 gb:
rclone copy ./tautulli.tar box_chunker: -vv
----
2023/07/27 21:23:21 DEBUG : rclone: Version "v1.64.0-beta.7174.3ed4a2e96" starting with parameters ["rclone" "copy" "./tautulli.tar" "box_chunker:" "-vv"]
2023/07/27 21:23:21 DEBUG : Creating backend with remote "./tautulli.tar"
2023/07/27 21:23:21 DEBUG : Using config file from "/home/vash/.config/rclone/rclone.conf"
2023/07/27 21:23:21 DEBUG : fs cache: adding new entry for parent of "./tautulli.tar", "/mnt/local/Backups/Saltbox/opt"
2023/07/27 21:23:21 DEBUG : Creating backend with remote "box_chunker:"
2023/07/27 21:23:21 DEBUG : Creating backend with remote "box:"
2023/07/27 21:23:21 DEBUG : Reset feature "ListR"
2023/07/27 21:23:21 DEBUG : tautulli.tar: Need to transfer - File not found at Destination
2023/07/27 21:23:22 DEBUG : tautulli.tar: skip slow MD5 on source file, hashing in-transit
2023/07/27 21:23:23 DEBUG : tautulli.tar - [Chunk 00001]_ho2khm: Multipart upload session started for 79 parts of size 64Mi
2023/07/27 21:23:23 DEBUG : tautulli.tar - [Chunk 00001]_ho2khm: Uploading part 1/79 offset 0/4.900Gi part size 64Mi
...
2023/07/27 21:14:02 DEBUG : tautulli.tar - [Chunk 00001]_hnj9c1: Uploading part 79/79 offset 4.875Gi/4.900Gi part size 64Mi
2023/07/27 21:14:07 DEBUG : tautulli.tar - [Chunk 00001]_hnj9c1: commit multipart upload failed 1/100 - trying again in 9 seconds (not ready yet)
2023/07/27 21:14:19 DEBUG : tautulli.tar - [Chunk 00002]_hnj9c1: Multipart upload session started for 8 parts of size 8Mi
2023/07/27 21:14:19 DEBUG : tautulli.tar - [Chunk 00002]_hnj9c1: Uploading part 1/8 offset 0/56.541Mi part size 8Mi
...
2023/07/27 21:14:21 DEBUG : tautulli.tar - [Chunk 00002]_hnj9c1: Uploading part 8/8 offset 56Mi/56.541Mi part size 8Mi
2023/07/27 21:14:29 DEBUG : Couldn't decode error response: EOF
2023/07/27 21:14:29 ERROR : tautulli.tar - [Chunk 00001]_hnj9c1: Couldn't move: Error "403 Forbidden" (403)
2023/07/27 21:14:29 DEBUG : Couldn't decode error response: EOF
2023/07/27 21:14:29 ERROR : tautulli.tar - [Chunk 00001]_hnj9c1: Couldn't move: Error "403 Forbidden" (403)
2023/07/27 21:14:31 ERROR : tautulli.tar: Failed to copy: Error "403 Forbidden" (403)
2023/07/27 21:14:31 ERROR : Attempt 3/3 failed with 2 errors and: Error "403 Forbidden" (403)
2023/07/27 21:14:31 INFO :
Transferred: 14.866 GiB / 14.866 GiB, 100%, 40.413 MiB/s, ETA 0s
Errors: 2 (retrying may help)
Checks: 6 / 6, 100%
Elapsed time: 7m52.4s
2023/07/27 21:14:31 DEBUG : 7 go routines active
2023/07/27 21:14:31 Failed to copy with 2 errors: last error was: Error "403 Forbidden" (403)
The following works, using the same 4.95 gb file:
rclone copy ./tautulli.tar box: -vv
----
2023/07/27 21:24:09 DEBUG : rclone: Version "v1.64.0-beta.7174.3ed4a2e96" starting with parameters ["rclone" "copy" "./tautulli.tar" "box:" "-vv"]
2023/07/27 21:24:09 DEBUG : Creating backend with remote "./tautulli.tar"
2023/07/27 21:24:09 DEBUG : Using config file from "/home/vash/.config/rclone/rclone.conf"
2023/07/27 21:24:09 DEBUG : fs cache: adding new entry for parent of "./tautulli.tar", "/mnt/local/Backups/Saltbox/opt"
2023/07/27 21:24:09 DEBUG : Creating backend with remote "box:"
2023/07/27 21:24:10 DEBUG : tautulli.tar: Need to transfer - File not found at Destination
2023/07/27 21:24:11 DEBUG : tautulli.tar: Multipart upload session started for 80 parts of size 64Mi
2023/07/27 21:24:11 DEBUG : tautulli.tar: Uploading part 1/80 offset 0/4.955Gi part size 64Mi
...
2023/07/27 21:26:21 DEBUG : tautulli.tar: Uploading part 80/80 offset 4.938Gi/4.955Gi part size 64Mi
2023/07/27 21:26:26 DEBUG : tautulli.tar: commit multipart upload failed 1/100 - trying again in 5 seconds (not ready yet)
2023/07/27 21:26:32 DEBUG : tautulli.tar: sha1 = 527bc68af05c663f33fc16bc7d175e635faf2995 OK
2023/07/27 21:26:32 INFO : tautulli.tar: Copied (new)
2023/07/27 21:26:32 INFO :
Transferred: 4.955 GiB / 4.955 GiB, 100%, 18.681 MiB/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 2m22.8s
2023/07/27 21:26:32 DEBUG : 8 go routines active
The rclone config contents with secrets removed.
[box]
type = box
client_id = [redacted]
access_token = [redacted]
box_sub_type = enterprise
root_folder_id = [redacted]
[box_chunker]
type = chunker
remote = box:
chunk_size = 4.900Gi
name_format = * - [Chunk #####]