-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asset Sync Incorrectly Reading Bucket as Empty and Uploading All Files Every Sync. #134
Comments
You still having this issue? Am not able to replicate this at present. Perhaps you can fire over some more detail, like:
|
Yes. I'm using it with AWS |
+1 having the same problem with version 0.5.0... I'm using middleman-sync which uses asset_sync and my entire website is being synced each time. |
@1ndivisible @negarnil having trouble recreating this. Any chance either of you could do the following to help me recreate?
|
Hello david, I'm facing the same issue when I sync my middleman blog (using the middleman-sync gem which uses asset_sync) with my S3 bucket. I run My blog is small in size but I'm working in other middleman blog for a client and every single sync to S3 uploads ~ 1 gb of data and it takes 1 hour or more no matter how many files I modified. I can't give you access to my personal blog repository but can send you a zip file (without my S3 keys) to [email protected]. |
Hi David, Sorry for missing this. Can send you everything but my AWS keys if it would be useful? I've tried using a fresh bucket and a bucket on an alternative S3 Account and problem is replicated across both. |
@negarnil @stationkeeping sure, if you can provide an archive of a sample app via email / dropbox that's cool. You could setup a user on AWS using IAM that has access to only that bucket. Or a representative sample of the assets in the original bucket. |
+1 on this - we have the same issue with heroku and a major production app. we use s3 as well. i cannot provide source or access to repo. |
I am using Asset Sync 0.5.0 with an S3 Bucket. Every time I sync it uploads every file, regardless of whether it already exists in the bucket.
Logging inside storage.rb I can see that ignore_existing_remote_files? is definitely set to false, and get_remote_files is definitely called, however despite the fact my bucket is full of files, bucket.files has a count of zero, so all files are uploaded as if the bucket was empty.
At this point there is the following comment:
fixes: #16
(work-around for fog/fog#596)
Is this possibly a regression?
The text was updated successfully, but these errors were encountered: