Question

digitalocean spaces - rclone sync - fail

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.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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