What is the problem you are having with rclone?
I log in to the FTP server link using megacmd and create an rclone crypt disk. However, when I copy or sync a folder, it duplicates it three times! This issue occurs with both stable and beta versions of rclone.
To reproduce the issue, I have created a folder named 'mydocs' containing two files:
- file01.txt
- file02.txt
After copying 'mydocs' to an empty folder named 'test', the output of the lsd command.
rclone --config=/config/xdg/config/rclone/rclone.conf lsd megaDoyleMediaENFTP:media/test
-1 2024-05-17 16:27:00 -1 mydocs
-1 2024-05-17 16:27:00 -1 mydocs
Run the command 'rclone version' and share the full output of the command.
rclone v1.67.0-beta.7966.96e39ea48
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.15.0-107-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.3
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
megacmd
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone --config=/config/xdg/config/rclone/rclone.conf copy /ShareWithDockersRU/downloads/complete/mydocs megaDoyleMediaENFTP:media/test/mydocs -vv --log-file /config/scripts/log.log
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[mega-ftp]
type = alias
remote = megaFTP:/XXX/XXX
[megaDoyleMediaENFTP]
type = crypt
remote = mega-ftp:
password = XXX
password2 = XXX
[megaFTP]
type = ftp
host = XXX
port = 4990
user =
pass = XXX
A log from the command that you were trying to run with the -vv
flag
2024/05/17 13:27:58 DEBUG : rclone: Version "v1.67.0-beta.7966.96e39ea48" starting with parameters ["rclone" "--config=/config/xdg/config/rclone/rclone.conf" "copy" "/ShareWithDockersRU/downloads/complete/mydocs" "megaDoyleMediaENFTP:media/test/mydocs" "-vv" "--log-file" "/config/scripts/log.log"]
2024/05/17 13:27:58 DEBUG : Creating backend with remote "/ShareWithDockersRU/downloads/complete/mydocs"
2024/05/17 13:27:58 DEBUG : Using config file from "/config/xdg/config/rclone/rclone.conf"
2024/05/17 13:27:58 DEBUG : Creating backend with remote "megaDoyleMediaENFTP:media/test/mydocs"
2024/05/17 13:27:58 DEBUG : Creating backend with remote "mega-ftp:d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay"
2024/05/17 13:27:58 DEBUG : Creating backend with remote "megaFTP:/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay"
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: Connecting to FTP server
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:4990")
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1559")
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:58 DEBUG : fs cache: renaming cache item "mega-ftp:d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay" to be canonical "megaFTP:/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay"
2024/05/17 13:27:58 DEBUG : fs cache: switching user supplied name "mega-ftp:d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay" for canonical name "megaFTP:/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay"
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1559")
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:58 DEBUG : file01.txt: Need to transfer - File not found at Destination
2024/05/17 13:27:58 DEBUG : file02.txt: Need to transfer - File not found at Destination
2024/05/17 13:27:58 DEBUG : Encrypted drive 'megaDoyleMediaENFTP:media/test/mydocs': Waiting for checks to finish
2024/05/17 13:27:58 DEBUG : Encrypted drive 'megaDoyleMediaENFTP:media/test/mydocs': Waiting for transfers to finish
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: Connecting to FTP server
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1559")
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:4990")
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1560")
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1559")
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1560")
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1559")
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1560")
2024/05/17 13:27:58 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: SetModTime is not supported
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1559")
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:59 ERROR : file01.txt: Failed to copy: update getinfo: object not found
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1559")
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: SetModTime is not supported
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1559")
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1560")
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1560")
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:59 DEBUG : file02.txt.lafisef7.partial: renamed to: file02.txt
2024/05/17 13:27:59 INFO : file02.txt: Copied (new)
2024/05/17 13:27:59 ERROR : Attempt 1/3 failed with 1 errors and: update getinfo: object not found
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1559")
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:59 DEBUG : file01.txt: Need to transfer - File not found at Destination
2024/05/17 13:27:59 DEBUG : Encrypted drive 'megaDoyleMediaENFTP:media/test/mydocs': Waiting for checks to finish
2024/05/17 13:27:59 DEBUG : file02.txt: Sizes identical
2024/05/17 13:27:59 DEBUG : file02.txt: Unchanged skipping
2024/05/17 13:27:59 DEBUG : Encrypted drive 'megaDoyleMediaENFTP:media/test/mydocs': Waiting for transfers to finish
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1560")
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1559")
2024/05/17 13:27:59 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:28:00 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: SetModTime is not supported
2024/05/17 13:28:00 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1560")
2024/05/17 13:28:00 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:28:00 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1559")
2024/05/17 13:28:00 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:28:00 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: dial("tcp","127.0.0.1:1559")
2024/05/17 13:28:00 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/05/17 13:28:00 DEBUG : file01.txt.wozemiq8.partial: renamed to: file01.txt
2024/05/17 13:28:00 INFO : file01.txt: Copied (new)
2024/05/17 13:28:00 ERROR : Attempt 2/3 succeeded
2024/05/17 13:28:00 INFO :
Transferred: 159 B / 159 B, 100%, 105 B/s, ETA 0s
Checks: 1 / 1, 100%
Transferred: 2 / 2, 100%
Elapsed time: 2.0s
2024/05/17 13:28:00 DEBUG : 6 go routines active
2024/05/17 13:28:00 DEBUG : ftp://127.0.0.1:4990/XXXXX/XXXXX/d7sydegf7ewhew7fey7efd/3e829hrf774dhf2dnsua/876dsa78dgasdyhay: closing 2 unused connections