Question

digitalocean spaces - rclone sync - fail

Posted April 12, 2020 550 views
DigitalOcean

Trying to get started replacing s3cmd with rclone for s3-compatible object storage.
I’ve completed “rclone config” for bucket1 and bucket2 but cannot get past the following error to start the sync.
~$rclone sync bucket1-name:2019-11/ bucket2-name:2020/
or
~$rclone sync bucket1-name:2019-11 bucket2-name:2020

Error message -
2020/04/12 12:54:04 ERROR : : error reading source directory: directory not found
2020/04/12 12:54:04 ERROR : S3 bucket 2020: not deleting files as there were IO errors
2020/04/12 12:54:04 ERROR : S3 bucket 2020: not deleting directories as there were IO errors
2020/04/12 12:54:04 ERROR : Attempt 1/3 failed with 1 errors and: directory not found
2020/04/12 12:54:04 ERROR : : error reading source directory: directory not found
2020/04/12 12:54:04 ERROR : S3 bucket 2020: not deleting files as there were IO errors
2020/04/12 12:54:04 ERROR : S3 bucket 2020: not deleting directories as there were IO errors
2020/04/12 12:54:04 ERROR : Attempt 2/3 failed with 1 errors and: directory not found
2020/04/12 12:54:05 ERROR : : error reading source directory: directory not found
2020/04/12 12:54:05 ERROR : S3 bucket 2020: not deleting files as there were IO errors
2020/04/12 12:54:05 ERROR : S3 bucket 2020: not deleting directories as there were IO errors
2020/04/12 12:54:05 ERROR : Attempt 3/3 failed with 1 errors and: directory not found
2020/04/12 12:54:05 Failed to sync: directory not found

Bucket2 definitely has a folder in it named “2020”. I am able to upload files to this folder.
Appreciate any guidance or follow up suggestions. Thanks.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello, @mflug

The issue is most probably with the path used in the rclone command. If the folder is present on the space than it’s most likely the path.

You can try with:

rclone sync bucket1-name:/2019-11 FullPathToFolder

I’m using Linux and the following command is working fine for me:

rclone sync space:/Books /home/sammy/books 

Additionally you can add -vvv for more verbose output. This can help us with the troubleshoot process.

Hope that this helps!
Regards,
Alex

Submit an Answer