question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

S3 file deletes are not working

See original GitHub issue

Let me know how to provide more details. I just

  1. created a new record in my new document that looks like this
    AudioFile.add({
    name: { type: Types.Name, required: true, index:true },
    creator: { type: Types.Relationship, ref: 'User', index: true },
    audioFile : {type: Types.S3File},
    createdAt: { type: Date, default: Date.now },
    categories: { type: Types.Relationship, ref: 'AudioFileCategory', many: true, index:true }
});
  1. I went to the admin page and ‘Uploaded File’
  2. I hit save
  3. I verified my file in s3
  4. I hit ‘Remove File’
  5. I hit save see no errors
  6. My file is still in s3

Anyways, I’m pretty new to Keystone so any help is appreciated.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rnjailambacommented, Mar 9, 2016

@creynders How are things looking at the moment ?

0reactions
mxstbrcommented, Apr 29, 2016

Sadly, this got a bit stuck. We’ll get to it eventually, but right now we have other priorities (admin interface). This is well on our radar though and we’re looking into it actively!

Read more comments on GitHub >

github_iconTop Results From Across the Web

aws s3 delete object not working - Stack Overflow
Deletes the specified object in the specified bucket. Once deleted, the object can only be restored if versioning was enabled when the object ......
Read more >
Deleting a single object - Amazon Simple Storage Service
Because all objects in your S3 bucket incur storage costs, you should delete objects that you no longer need. For example, if you...
Read more >
Troubleshoot failed request to delete an Amazon S3 bucket
1. Open the Amazon S3 console. · 2. Open the bucket that you want to delete by choosing the bucket's name. · 3....
Read more >
Can't delete file on amazon S3 - Laracasts
Should not be the case :-/ , just a guess, may be you are trying to delete it twice? Login to aws console...
Read more >
amazon-s3-developer-guide/delete-or-empty-bucket.md at ...
The code deletes all objects, regardless of whether the bucket has versioning enabled or not, and then it deletes the bucket. To just...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found