Docker mounted local folders sync returns directory not found

What is the problem you are having with rclone?

I've set up a RClone docker container on my QNAP NAS and mounted 2 local folders to it.
One of it is an external hard disk connected via USB to the NAS.
Both mounted directories are accessible via command line in the docker instance.
Both mounted directories return their contents via the command rclone ls /location/of/local

What is your rclone version (output from rclone version)

1.51.0
Latest docker image

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Linux QNAP NAS running docker via "container station"

Which cloud storage system are you using? (eg Google Drive)

None, only local folders

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone sync -vv probeersellocal probeersel
or even
rclone copy -vv probeersellocal probeersel

probeersel = the, mounted in Docker, external hard drive connect to the NAS
probeersellocal = the, mounted in Docker, local folder on the NAS

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

2020/03/27 13:24:18 DEBUG : Using config file from "/config/rclone/rclone.conf"                                                                                                                                                      
2020/03/27 13:24:18 ERROR : : error reading source directory: directory not found                                      
2020/03/27 13:24:18 INFO  : Local file system at /data/probeersel: Waiting for checks to finish                    
2020/03/27 13:24:18 INFO  : Local file system at /data/probeersel: Waiting for transfers to finish                 
2020/03/27 13:24:18 ERROR : Local file system at /data/probeersel: not deleting files as there were IO errors                                                                                                                                                                     
2020/03/27 13:24:18 ERROR : Local file system at /data/probeersel: not deleting directories as there were IO errors                                                                                                                                                         
2020/03/27 13:24:18 ERROR : Attempt 1/3 failed with 1 errors and: directory not found                               
2020/03/27 13:24:18 ERROR : : error reading source directory: directory not found                                      
2020/03/27 13:24:18 INFO  : Local file system at /data/probeersel: Waiting for checks to finish                    
2020/03/27 13:24:18 INFO  : Local file system at /data/probeersel: Waiting for transfers to finish                 
2020/03/27 13:24:18 ERROR : Local file system at /data/probeersel: not deleting files as there were IO errors                                                                                                                                                                     
2020/03/27 13:24:18 ERROR : Local file system at /data/probeersel: not deleting directories as there were IO errors                                                                                                                                                         
2020/03/27 13:24:18 ERROR : Attempt 2/3 failed with 1 errors and: directory not found                               
2020/03/27 13:24:18 ERROR : : error reading source directory: directory not found                                      
2020/03/27 13:24:18 INFO  : Local file system at /data/probeersel: Waiting for checks to finish                    
2020/03/27 13:24:18 INFO  : Local file system at /data/probeersel: Waiting for transfers to finish                 
2020/03/27 13:24:18 ERROR : Local file system at /data/probeersel: not deleting files as there were IO errors                                                                                                                                                                     
2020/03/27 13:24:18 ERROR : Local file system at /data/probeersel: not deleting directories as there were IO errors                                                                                                                                                         
2020/03/27 13:24:18 ERROR : Attempt 3/3 failed with 1 errors and: directory not found                               
2020/03/27 13:24:18 Failed to sync: directory not found```

I found the solution to my issue.

Due to a bad understanding of me how "remotes" work in RClone I had set it up incorrectly.

The correct command for me for the above would be:
rclone copy probeersellocal:/home/mylocaldir probeersel:/myremotedir_Iwantto_BackupTo

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.