What is the problem you are having with rclone?
I am doing "rclone sync" with a remote served by "rclone serve ftp". It shows errors as if it is not connecting to the specified port 9005, but some random ports:
It shows errors as if it is not connecting to the specified port 9005, but some random ports.
Run the command 'rclone version' and share the full output of the command.
rclone version
rclone v1.62.2
- os/version: userful 8 (64 bit)
- os/kernel: 4.18.0-448.el8.userful.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
FTP, with clone ftp serve:
sudo rclone serve ftp --addr :9005 --user ha --pass 1234 /var/source-content/
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync --interactive /var/source-content/ ha_peer:/
The rclone config contents with secrets removed.
Editing existing "ha_peer" remote with options:
- type: ftp
- host: 192.168.163.99
- user: ha
- port: 9005
- pass: *** ENCRYPTED ***
A log from the command with the -vv
flag
2023/05/18 12:56:39 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "sync" "-vv" "/var/source-content/" "ha_peer:/"]
2023/05/18 12:56:39 DEBUG : Creating backend with remote "/var/source-content/"
2023/05/18 12:56:39 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/05/18 12:56:39 DEBUG : fs cache: renaming cache item "/var/source-content/" to be canonical "/var/source-content"
2023/05/18 12:56:39 DEBUG : Creating backend with remote "ha_peer:/"
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: Connecting to FTP server
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: dial("tcp","192.168.163.99:9005")
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: > dial: conn=*fshttp.timeoutConn, err=<nil>
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: dial("tcp","192.168.163.99:30511")
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: > dial: conn=<nil>, err=dial tcp 192.168.163.99:30511: connect: no route to host
2023/05/18 12:56:39 ERROR : ftp://192.168.163.99:9005: error reading destination root directory: dial tcp 192.168.163.99:30511: connect: no route to host
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: Waiting for checks to finish
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: Waiting for transfers to finish
2023/05/18 12:56:39 ERROR : ftp://192.168.163.99:9005: not deleting files as there were IO errors
2023/05/18 12:56:39 ERROR : ftp://192.168.163.99:9005: not deleting directories as there were IO errors
2023/05/18 12:56:39 ERROR : Attempt 1/3 failed with 1 errors and: dial tcp 192.168.163.99:30511: connect: no route to host
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: dial("tcp","192.168.163.99:30715")
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: > dial: conn=<nil>, err=dial tcp 192.168.163.99:30715: connect: no route to host
2023/05/18 12:56:39 ERROR : ftp://192.168.163.99:9005: error reading destination root directory: dial tcp 192.168.163.99:30715: connect: no route to host
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: Waiting for checks to finish
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: Waiting for transfers to finish
2023/05/18 12:56:39 ERROR : ftp://192.168.163.99:9005: not deleting files as there were IO errors
2023/05/18 12:56:39 ERROR : ftp://192.168.163.99:9005: not deleting directories as there were IO errors
2023/05/18 12:56:39 ERROR : Attempt 2/3 failed with 1 errors and: dial tcp 192.168.163.99:30715: connect: no route to host
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: dial("tcp","192.168.163.99:30974")
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: > dial: conn=<nil>, err=dial tcp 192.168.163.99:30974: connect: no route to host
2023/05/18 12:56:39 ERROR : ftp://192.168.163.99:9005: error reading destination root directory: dial tcp 192.168.163.99:30974: connect: no route to host
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: Waiting for checks to finish
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: Waiting for transfers to finish
2023/05/18 12:56:39 ERROR : ftp://192.168.163.99:9005: not deleting files as there were IO errors
2023/05/18 12:56:39 ERROR : ftp://192.168.163.99:9005: not deleting directories as there were IO errors
2023/05/18 12:56:39 ERROR : Attempt 3/3 failed with 1 errors and: dial tcp 192.168.163.99:30974: connect: no route to host
2023/05/18 12:56:39 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.0s
2023/05/18 12:56:39 DEBUG : 3 go routines active
2023/05/18 12:56:39 DEBUG : ftp://192.168.163.99:9005: closing 1 unused connections
2023/05/18 12:56:39 Failed to sync: dial tcp 192.168.163.99:30974: connect: no route to host