What is the problem you are having with rclone?
Connecting to a specific samba share gives error. With other smb servers, the same config works. Connecting to the share with other smb clients works.
Run the command 'rclone version' and share the full output of the command.
rclone v1.66.0
- os/version: alpine 3.19.1 (64 bit)
- os/kernel: 6.1.0-13-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.1
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
SMB/CIFS and SFTP
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone ls mysource:myshare -vv
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[mysource]
type = smb
host = XXX
user = XXX
pass = XXX
[mydest]
type = sftp
host = XXX
user = XXX
port = 22
pass = XXX
shell_type = unix
md5sum_command = md5sum
sha1sum_command = sha1sum
A log from the command that you were trying to run with the -vv
flag
2024/06/07 16:51:43 DEBUG : rclone: Version "v1.66.0" starting with parameters ["rclone" "ls" "mysource:myshare:" "-vv"]
2024/06/07 16:51:43 DEBUG : Creating backend with remote "mysource:myshare"
2024/06/07 16:51:43 DEBUG : Using config file from "/config/rclone/rclone.conf"
2024/06/07 16:51:43 DEBUG : pacer: low level retry 1/10 (error couldn't connect SMB: invalid response error: expected session id: 0, got 6270136581206573312)
2024/06/07 16:51:43 DEBUG : pacer: Rate limited, increasing sleep to 200ms
2024/06/07 16:51:43 DEBUG : pacer: low level retry 2/10 (error couldn't connect SMB: invalid response error: expected session id: 0, got 6414251769282429184)
2024/06/07 16:51:43 DEBUG : pacer: Rate limited, increasing sleep to 400ms
2024/06/07 16:51:43 DEBUG : pacer: low level retry 3/10 (error couldn't connect SMB: invalid response error: expected session id: 0, got 6558366957358285056)
2024/06/07 16:51:43 DEBUG : pacer: Rate limited, increasing sleep to 800ms
2024/06/07 16:51:44 DEBUG : pacer: low level retry 4/10 (error couldn't connect SMB: invalid response error: expected session id: 0, got 6702482145434140928)
2024/06/07 16:51:44 DEBUG : pacer: Rate limited, increasing sleep to 1.6s
2024/06/07 16:51:45 DEBUG : pacer: low level retry 5/10 (error couldn't connect SMB: invalid response error: expected session id: 0, got 6846597333509996800)
2024/06/07 16:51:45 DEBUG : pacer: Rate limited, increasing sleep to 2s
2024/06/07 16:51:46 DEBUG : pacer: low level retry 6/10 (error couldn't connect SMB: invalid response error: expected session id: 0, got 6990712521585852672)
2024/06/07 16:51:48 DEBUG : pacer: low level retry 7/10 (error couldn't connect SMB: invalid response error: expected session id: 0, got 7134827709661708544)
2024/06/07 16:51:50 DEBUG : pacer: low level retry 8/10 (error couldn't connect SMB: invalid response error: expected session id: 0, got 7278942897737564416)
2024/06/07 16:51:52 DEBUG : pacer: low level retry 9/10 (error couldn't connect SMB: invalid response error: expected session id: 0, got 7423058085813420288)
2024/06/07 16:51:54 DEBUG : pacer: low level retry 10/10 (error couldn't connect SMB: invalid response error: expected session id: 0, got 7567173273889276160)
2024/06/07 16:51:54 ERROR : : error listing: couldn't connect SMB: invalid response error: expected session id: 0, got 7567173273889276160
2024/06/07 16:51:54 DEBUG : 25 go routines active
2024/06/07 16:51:54 Failed to ls with 2 errors: last error was: couldn't connect SMB: invalid response error: expected session id: 0, got 7567173273889276160
I use the same rclone config to move files from mysource to mydest, and also rclone move fails with the same error.
Connecting to mysource:myshare using another samba client works.