-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Description
What is the problem you are having with rclone?
I get Move Rename failed: 553 Can't rename file. error while syncing on FTP remote. Files that are allready on the remote and that have changed produce the error.
What is your rclone version (output from rclone version)
$ rclone version
rclone v1.63.1
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 4.4.0-19041-Microsoft (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.6
- go/linking: static
- go/tags: none
- v1.60.1 does not produce the error (files are replaced succefully)
- v1.61.0 to v1.62.2 (included) produce other errors discussed in FTP - Failed to create file system for "target:/TEST": unsupported LIST line #6879
- v1.63.* all produces the same error (the one discussed here)
Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
Ubuntu 22.04 (64bit) in WSL Windows 10 (64bit)
Which cloud storage system are you using? (e.g. Google Drive)
FTP server from FTP Serveur WiFi Android app.
The command you were trying to run (e.g. rclone copy /tmp remote:tmp)
$ echo foo > test/test.txt
$ rclone sync test phone:test
$ echo bar > test/test.txt
$ rclone sync test phone:test
2023/09/03 16:49:27 ERROR : test.txt.makebav8.partial: partial file rename failed: Move Rename failed: 553 Can't rename file.
2023/09/03 16:49:27 ERROR : ftp://***.***.***.***:****/test: not deleting files as there were IO errors
2023/09/03 16:49:27 ERROR : ftp://***.***.***.***:****/test: not deleting directories as there were IO errors
2023/09/03 16:49:27 ERROR : Attempt 1/3 failed with 1 errors and: Move Rename failed: 553 Can't rename file.
2023/09/03 16:49:28 ERROR : test.txt.xirivom4.partial: partial file rename failed: Move Rename failed: 553 Can't rename file.
2023/09/03 16:49:28 ERROR : ftp://***.***.***.***:****/test: not deleting files as there were IO errors
2023/09/03 16:49:28 ERROR : ftp://***.***.***.***:****/test: not deleting directories as there were IO errors
2023/09/03 16:49:28 ERROR : Attempt 2/3 failed with 1 errors and: Move Rename failed: 553 Can't rename file.
2023/09/03 16:49:28 ERROR : test.txt.zaliqol3.partial: partial file rename failed: Move Rename failed: 553 Can't rename file.
2023/09/03 16:49:28 ERROR : ftp://***.***.***.***:****/test: not deleting files as there were IO errors
2023/09/03 16:49:28 ERROR : ftp://***.***.***.***:****/test: not deleting directories as there were IO errors
2023/09/03 16:49:28 ERROR : Attempt 3/3 failed with 1 errors and: Move Rename failed: 553 Can't rename file.
2023/09/03 16:49:28 Failed to sync: Move Rename failed: 553 Can't rename file.
rclone delete,rclone deletefileandrclone purgecommands do not produce the error (the file/directory are succesfully removed).rclone movecommand does not produce the error (the file/directory are succesfully moved).
A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)
$ rclone sync -vv --dump bodies test phone:test
2023/09/03 16:49:52 DEBUG : rclone: Version "v1.63.1" starting with parameters ["rclone" "sync" "-vv" "--dump" "bodies" "test" "phone:test"]
2023/09/03 16:49:52 DEBUG : Creating backend with remote "test"
2023/09/03 16:49:52 DEBUG : Using config file from "******/.config/rclone/rclone.conf"
2023/09/03 16:49:52 DEBUG : fs cache: renaming cache item "test" to be canonical "******/test/test"
2023/09/03 16:49:52 DEBUG : Creating backend with remote "phone:test"
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: Connecting to FTP server
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: dial("tcp","***.***.***.***:****")
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: > dial: conn=*fshttp.timeoutConn, err=<nil>
2023/09/03 16:49:52 DEBUG : FTP Rx: "220 Service ready for new user."
2023/09/03 16:49:52 DEBUG : FTP Tx: "USER acces"
2023/09/03 16:49:52 DEBUG : FTP Rx: "331 User name okay, need password for acces."
2023/09/03 16:49:52 DEBUG : FTP Tx: PASS *****
2023/09/03 16:49:52 DEBUG : FTP Rx: "230 User logged in, proceed."
2023/09/03 16:49:52 DEBUG : FTP Tx: "FEAT"
2023/09/03 16:49:52 DEBUG : FTP Rx: "211-Extensions supported"
2023/09/03 16:49:52 DEBUG : FTP Rx: " SIZE"
2023/09/03 16:49:52 DEBUG : FTP Rx: " MDTM"
2023/09/03 16:49:52 DEBUG : FTP Rx: " REST STREAM"
2023/09/03 16:49:52 DEBUG : FTP Rx: " LANG en;zh-tw;ja;is"
2023/09/03 16:49:52 DEBUG : FTP Rx: " MLST Size;Modify;Type;Perm"
2023/09/03 16:49:52 DEBUG : FTP Rx: " AUTH SSL"
2023/09/03 16:49:52 DEBUG : FTP Rx: " AUTH TLS"
2023/09/03 16:49:52 DEBUG : FTP Rx: " MODE Z"
2023/09/03 16:49:52 DEBUG : FTP Rx: " UTF8"
2023/09/03 16:49:52 DEBUG : FTP Rx: " TVFS"
2023/09/03 16:49:52 DEBUG : FTP Rx: " MD5"
2023/09/03 16:49:52 DEBUG : FTP Rx: " MMD5"
2023/09/03 16:49:52 DEBUG : FTP Rx: " MFMT"
2023/09/03 16:49:52 DEBUG : FTP Rx: "211 End"
2023/09/03 16:49:52 DEBUG : FTP Tx: "TYPE I"
2023/09/03 16:49:52 DEBUG : FTP Rx: "200 Command TYPE okay."
2023/09/03 16:49:52 DEBUG : FTP Tx: "OPTS UTF8 ON"
2023/09/03 16:49:52 DEBUG : FTP Rx: "200 Command OPTS okay."
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLST test"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250-"
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=3452;Modify=20230903144923.000;Type=dir; test"
2023/09/03 16:49:52 DEBUG : FTP Rx: ""
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/09/03 16:49:52 DEBUG : FTP Tx: "EPSV"
2023/09/03 16:49:52 DEBUG : FTP Rx: "229 Entering Passive Mode (|||40825|)"
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: dial("tcp","***.***.***.***:40825")
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: > dial: conn=*fshttp.timeoutConn, err=<nil>
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLSD test"
2023/09/03 16:49:52 DEBUG : FTP Rx: "150 File status okay; about to open data connection."
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=4;Modify=20230903144745.000;Type=file; test.txt"
2023/09/03 16:49:52 DEBUG : FTP Rx: "226 Closing data connection."
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: Waiting for checks to finish
2023/09/03 16:49:52 DEBUG : test.txt: Modification times differ by -1m32.8769287s: 2023-09-03 16:49:17.8769287 +0200 CEST, 2023-09-03 14:47:45 +0000 UTC
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: Waiting for transfers to finish
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLST test"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250-"
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=3452;Modify=20230903144923.000;Type=dir; test"
2023/09/03 16:49:52 DEBUG : FTP Rx: ""
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/09/03 16:49:52 DEBUG : FTP Tx: "EPSV"
2023/09/03 16:49:52 DEBUG : FTP Rx: "229 Entering Passive Mode (|||33091|)"
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: dial("tcp","***.***.***.***:33091")
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: > dial: conn=*fshttp.timeoutConn, err=<nil>
2023/09/03 16:49:52 DEBUG : FTP Tx: "STOR test/test.txt.pesasap2.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "150 File status okay; about to open data connection."
2023/09/03 16:49:52 DEBUG : FTP Rx: "226 Transfer complete."
2023/09/03 16:49:52 DEBUG : FTP Tx: "MFMT 20230903144917 test/test.txt.pesasap2.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "213 ModifyTime=20230903144917; test/test.txt.pesasap2.partial"
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLST test/test.txt.pesasap2.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250-"
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=4;Modify=20230903144917.000;Type=file; test.txt.pesasap2.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: ""
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLST test"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250-"
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=3452;Modify=20230903144947.000;Type=dir; test"
2023/09/03 16:49:52 DEBUG : FTP Rx: ""
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/09/03 16:49:52 DEBUG : FTP Tx: "RNFR test/test.txt.pesasap2.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "350 Requested file action pending further information."
2023/09/03 16:49:52 DEBUG : FTP Tx: "RNTO test/test.txt"
2023/09/03 16:49:52 DEBUG : FTP Rx: "553 Can't rename file."
2023/09/03 16:49:52 DEBUG : FTP Tx: "NOOP"
2023/09/03 16:49:52 DEBUG : FTP Rx: "200 Command NOOP okay."
2023/09/03 16:49:52 ERROR : test.txt.pesasap2.partial: partial file rename failed: Move Rename failed: 553 Can't rename file.
2023/09/03 16:49:52 INFO : test.txt.pesasap2.partial: Removing failed copy
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLST test/test.txt.pesasap2.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250-"
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=4;Modify=20230903144917.000;Type=file; test.txt.pesasap2.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: ""
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/09/03 16:49:52 DEBUG : FTP Tx: "DELE test/test.txt.pesasap2.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, deleted /test/test.txt.pesasap2.partial."
2023/09/03 16:49:52 ERROR : ftp://***.***.***.***:****/test: not deleting files as there were IO errors
2023/09/03 16:49:52 ERROR : ftp://***.***.***.***:****/test: not deleting directories as there were IO errors
2023/09/03 16:49:52 ERROR : Attempt 1/3 failed with 1 errors and: Move Rename failed: 553 Can't rename file.
2023/09/03 16:49:52 DEBUG : FTP Tx: "EPSV"
2023/09/03 16:49:52 DEBUG : FTP Rx: "229 Entering Passive Mode (|||45239|)"
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: dial("tcp","***.***.***.***:45239")
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: > dial: conn=*fshttp.timeoutConn, err=<nil>
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLSD test"
2023/09/03 16:49:52 DEBUG : FTP Rx: "150 File status okay; about to open data connection."
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=4;Modify=20230903144745.000;Type=file; test.txt"
2023/09/03 16:49:52 DEBUG : FTP Rx: "226 Closing data connection."
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: Waiting for checks to finish
2023/09/03 16:49:52 DEBUG : test.txt: Modification times differ by -1m32.8769287s: 2023-09-03 16:49:17.8769287 +0200 CEST, 2023-09-03 14:47:45 +0000 UTC
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: Waiting for transfers to finish
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLST test"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250-"
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=3452;Modify=20230903144947.000;Type=dir; test"
2023/09/03 16:49:52 DEBUG : FTP Rx: ""
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/09/03 16:49:52 DEBUG : FTP Tx: "EPSV"
2023/09/03 16:49:52 DEBUG : FTP Rx: "229 Entering Passive Mode (|||34971|)"
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: dial("tcp","***.***.***.***:34971")
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: > dial: conn=*fshttp.timeoutConn, err=<nil>
2023/09/03 16:49:52 DEBUG : FTP Tx: "STOR test/test.txt.tagixat9.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "150 File status okay; about to open data connection."
2023/09/03 16:49:52 DEBUG : FTP Rx: "226 Transfer complete."
2023/09/03 16:49:52 DEBUG : FTP Tx: "MFMT 20230903144917 test/test.txt.tagixat9.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "213 ModifyTime=20230903144917; test/test.txt.tagixat9.partial"
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLST test/test.txt.tagixat9.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250-"
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=4;Modify=20230903144917.000;Type=file; test.txt.tagixat9.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: ""
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLST test"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250-"
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=3452;Modify=20230903144947.000;Type=dir; test"
2023/09/03 16:49:52 DEBUG : FTP Rx: ""
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/09/03 16:49:52 DEBUG : FTP Tx: "RNFR test/test.txt.tagixat9.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "350 Requested file action pending further information."
2023/09/03 16:49:52 DEBUG : FTP Tx: "RNTO test/test.txt"
2023/09/03 16:49:52 DEBUG : FTP Rx: "553 Can't rename file."
2023/09/03 16:49:52 DEBUG : FTP Tx: "NOOP"
2023/09/03 16:49:52 DEBUG : FTP Rx: "200 Command NOOP okay."
2023/09/03 16:49:52 ERROR : test.txt.tagixat9.partial: partial file rename failed: Move Rename failed: 553 Can't rename file.
2023/09/03 16:49:52 INFO : test.txt.tagixat9.partial: Removing failed copy
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLST test/test.txt.tagixat9.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250-"
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=4;Modify=20230903144917.000;Type=file; test.txt.tagixat9.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: ""
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/09/03 16:49:52 DEBUG : FTP Tx: "DELE test/test.txt.tagixat9.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, deleted /test/test.txt.tagixat9.partial."
2023/09/03 16:49:52 ERROR : ftp://***.***.***.***:****/test: not deleting files as there were IO errors
2023/09/03 16:49:52 ERROR : ftp://***.***.***.***:****/test: not deleting directories as there were IO errors
2023/09/03 16:49:52 ERROR : Attempt 2/3 failed with 1 errors and: Move Rename failed: 553 Can't rename file.
2023/09/03 16:49:52 DEBUG : FTP Tx: "EPSV"
2023/09/03 16:49:52 DEBUG : FTP Rx: "229 Entering Passive Mode (|||41179|)"
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: dial("tcp","***.***.***.***:41179")
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: > dial: conn=*fshttp.timeoutConn, err=<nil>
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLSD test"
2023/09/03 16:49:52 DEBUG : FTP Rx: "150 File status okay; about to open data connection."
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=4;Modify=20230903144745.000;Type=file; test.txt"
2023/09/03 16:49:52 DEBUG : FTP Rx: "226 Closing data connection."
2023/09/03 16:49:52 DEBUG : test.txt: Modification times differ by -1m32.8769287s: 2023-09-03 16:49:17.8769287 +0200 CEST, 2023-09-03 14:47:45 +0000 UTC
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: Waiting for checks to finish
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: Waiting for transfers to finish
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLST test"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250-"
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=3452;Modify=20230903144947.000;Type=dir; test"
2023/09/03 16:49:52 DEBUG : FTP Rx: ""
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/09/03 16:49:52 DEBUG : FTP Tx: "EPSV"
2023/09/03 16:49:52 DEBUG : FTP Rx: "229 Entering Passive Mode (|||38795|)"
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: dial("tcp","***.***.***.***:38795")
2023/09/03 16:49:52 DEBUG : ftp://***.***.***.***:****/test: > dial: conn=*fshttp.timeoutConn, err=<nil>
2023/09/03 16:49:52 DEBUG : FTP Tx: "STOR test/test.txt.fuzihus0.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "150 File status okay; about to open data connection."
2023/09/03 16:49:52 DEBUG : FTP Rx: "226 Transfer complete."
2023/09/03 16:49:52 DEBUG : FTP Tx: "MFMT 20230903144917 test/test.txt.fuzihus0.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "213 ModifyTime=20230903144917; test/test.txt.fuzihus0.partial"
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLST test/test.txt.fuzihus0.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250-"
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=4;Modify=20230903144917.000;Type=file; test.txt.fuzihus0.partial"
2023/09/03 16:49:52 DEBUG : FTP Rx: ""
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/09/03 16:49:52 DEBUG : FTP Tx: "MLST test"
2023/09/03 16:49:52 DEBUG : FTP Rx: "250-"
2023/09/03 16:49:52 DEBUG : FTP Rx: "Size=3452;Modify=20230903144947.000;Type=dir; test"
2023/09/03 16:49:52 DEBUG : FTP Rx: ""
2023/09/03 16:49:52 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/09/03 16:49:52 DEBUG : FTP Tx: "RNFR test/test.txt.fuzihus0.partial"
2023/09/03 16:49:53 DEBUG : FTP Rx: "350 Requested file action pending further information."
2023/09/03 16:49:53 DEBUG : FTP Tx: "RNTO test/test.txt"
2023/09/03 16:49:53 DEBUG : FTP Rx: "553 Can't rename file."
2023/09/03 16:49:53 DEBUG : FTP Tx: "NOOP"
2023/09/03 16:49:53 DEBUG : FTP Rx: "200 Command NOOP okay."
2023/09/03 16:49:53 ERROR : test.txt.fuzihus0.partial: partial file rename failed: Move Rename failed: 553 Can't rename file.
2023/09/03 16:49:53 INFO : test.txt.fuzihus0.partial: Removing failed copy
2023/09/03 16:49:53 DEBUG : FTP Tx: "MLST test/test.txt.fuzihus0.partial"
2023/09/03 16:49:53 DEBUG : FTP Rx: "250-"
2023/09/03 16:49:53 DEBUG : FTP Rx: "Size=4;Modify=20230903144917.000;Type=file; test.txt.fuzihus0.partial"
2023/09/03 16:49:53 DEBUG : FTP Rx: ""
2023/09/03 16:49:53 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/09/03 16:49:53 DEBUG : FTP Tx: "DELE test/test.txt.fuzihus0.partial"
2023/09/03 16:49:53 DEBUG : FTP Rx: "250 Requested file action okay, deleted /test/test.txt.fuzihus0.partial."
2023/09/03 16:49:53 ERROR : ftp://***.***.***.***:****/test: not deleting files as there were IO errors
2023/09/03 16:49:53 ERROR : ftp://***.***.***.***:****/test: not deleting directories as there were IO errors
2023/09/03 16:49:53 ERROR : Attempt 3/3 failed with 1 errors and: Move Rename failed: 553 Can't rename file.
2023/09/03 16:49:53 INFO :
Transferred: 12 B / 12 B, 100%, 0 B/s, ETA -
Errors: 1 (retrying may help)
Checks: 3 / 3, 100%
Elapsed time: 1.0s
2023/09/03 16:49:53 DEBUG : 6 go routines active
2023/09/03 16:49:53 DEBUG : ftp://***.***.***.***:****/test: closing 1 unused connections
2023/09/03 16:49:53 DEBUG : FTP Tx: "QUIT"
2023/09/03 16:49:53 Failed to sync: Move Rename failed: 553 Can't rename file.
aubertc and blaylockbk
Metadata
Metadata
Assignees
Labels
No labels