What is the problem you are having with rclone?
Receiving "error reading source directory: directory not found" when trying to copy or sync from ftp server to unraid server
What is your rclone version (output from rclone version
)
- rclone v1.53.3
- os/arch: linux/amd64
- go version: go1.15.5
Which OS you are using and how many bits (eg Windows 7, 64 bit)
UNRAID V6.8.3
Which cloud storage system are you using? (eg Google Drive)
Xbox 360 JTAG FTP -> UNRAID Share
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync Xbox360: /mnt/user/X360 --dry-run
The rclone config contents with secrets removed.
[Xbox360]
type = ftp
host = 192.168.0.9
user = ***
port = 15
pass = ***
tls = false
explicit_tls = false
A log from the command with the -vv
flag
root@Tower:~# rclone sync Xbox360: /mnt/user/X360 --dry-run -vv
2020/11/22 13:58:31 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "sync" "Xbox360:" "/mnt/user/X360" "--dry-run" "-vv"]
2020/11/22 13:58:31 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf"
2020/11/22 13:58:31 DEBUG : Creating backend with remote "Xbox360:"
2020/11/22 13:58:31 DEBUG : ftp://192.168.0.9:15: Connecting to FTP server
2020/11/22 13:58:31 DEBUG : Creating backend with remote "/mnt/user/X360"
2020/11/22 13:58:31 DEBUG : ftp://192.168.0.9:15: Connecting to FTP server
2020/11/22 13:58:31 DEBUG : ftp://192.168.0.9:15: Connecting to FTP server
2020/11/22 13:58:31 DEBUG : ftp://192.168.0.9:15: Connecting to FTP server
2020/11/22 13:58:31 DEBUG : ftp://192.168.0.9:15: Connecting to FTP server
2020/11/22 13:58:31 DEBUG : ftp://192.168.0.9:15: Connecting to FTP server
2020/11/22 13:58:31 DEBUG : ftp://192.168.0.9:15: Connecting to FTP server
2020/11/22 13:58:31 ERROR : Game: error reading source directory: directory not found
2020/11/22 13:58:31 ERROR : SysExt: error reading source directory: directory not found
2020/11/22 13:58:31 ERROR : HddX: error reading source directory: directory not found
2020/11/22 13:58:31 ERROR : Usb0: error reading source directory: directory not found
Additional Troubleshooting
I tried many formats using quotes, different / locations. rclone is able to connect fine to the ftp server and read directories. Copy instead of sync results in the same error and so does removing dry run.
The below bug seems similar but none of my directories are empty. Directories are:
- Game: Files and Folders present
- Hdd1: Files and Folders present
- HddX: Only Folders present
- SysExt: Files and Folders present
- System: Only Files present
- Usb0: Only Files present
- Usb1: Files and Folders present
/t/ftp-empty-directory-yields-directory-not-found-error/12069/6
root@Tower:~# rclone lsd Xbox360: -vv
2020/11/22 13:59:20 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "lsd" "Xbox360:" "-vv"]
2020/11/22 13:59:20 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf"
2020/11/22 13:59:20 DEBUG : Creating backend with remote "Xbox360:"
2020/11/22 13:59:20 DEBUG : ftp://192.168.0.9:15: Connecting to FTP server
-1 1999-12-31 16:00:00 -1 Game
-1 1999-12-31 16:00:00 -1 Hdd1
-1 1999-12-31 16:00:00 -1 HddX
-1 1999-12-31 16:00:00 -1 SysExt
-1 1999-12-31 16:00:00 -1 System
-1 1999-12-31 16:00:00 -1 Usb0
-1 1999-12-31 16:00:00 -1 Usb1
2020/11/22 13:59:20 DEBUG : 2 go routines active