Media on S3 compatible does not get deleted #3686
Unanswered
nezaboravi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Looks like I have all set properly, and files are getting uploaded on DO Spaces.
With previous ( I think previous media library) library removing and uploading works.
Now, is little bit changed in version 11, so we are using as per documentation, $media->delete();
However, file is not really deleted from DO spaces. It si removed from Media model tho.
Note that uploading does work.
Here is the piece of code:
No error is catch, but media is still on DO, not removed.
Beta Was this translation helpful? Give feedback.
All reactions