Note: This page applies to SFTP Gateway version 2.x. Visit Here for documentation on version 3.x.
This article goes over the
Error in s3syncfolder error message, and its possible causes and solutions.
The error message
Error in s3syncfolder has to do with the
s3sync script, which is a one-way sync operation.
This does not apply to the
uploads folder -- it only applies to the
This error tends to show up when the
s3sync operation is not able to find the source S3 bucket and path.
Try manually running the command
s3sync. This might show output that you wouldn't otherwise see, since it's usually run via cron.
Check the EC2 instance's IAM profile and make sure that it has proper permissions to the S3 bucket.
Check the S3 service in the AWS console and verify that the S3 bucket and path exist. It's possible that the S3 bucket wasn't created due to a namespace collision or naming convention issue.
Check for available disk space, using the following command:
sudo su df -h
Make sure disk usage is not at 100%, since running out of disk space can cause unexpected issues.