I am having a problem with Digital Ocean object storage #3380
Unanswered
pratikbarman
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.
Uh oh!
There was an error while loading. Please reload this page.
-
$media = $yourModel ->addMedia($pathToImage) ->storingConversionsOnDisk('s3') ->toMediaCollection('images', 's3');
when storingConversionsOnDisk is s3 toMediaCollection disk s3 getting error:
Unable to list contents for 'thumbnail/71/responsive-images/', deep listing Reason: Error executing "ListObjects" on "https://mystge.blr1.digitaloceanspaces.com/localhost/?prefix=thumbnail%2F71%2Fresponsive-images%2F&encoding-type=url"; AWS HTTP error: Client error:
GET https://mystge.blr1.digitaloceanspaces.com/localhost/?prefix=thumbnail%2F71%2Fresponsive-images%2F&encoding-type=url` resulted in a404 Not Found
response:NoSuchKey
mystge<Re (truncated...) NoSuchKey (client): -NoSuchKey
mystgetx00000e3c04ff3be8472a2-006506f4f6-1c629b-blr1a1c629b-blr1a-blr1-zg01`but when i set ->toMediaCollection("thumb", "public");` it work properly. but i want both store to s3. wasabi.com, Contabo object storage works fine both store s3.
Version: "spatie/laravel-medialibrary": "^10.3",
Beta Was this translation helpful? Give feedback.
All reactions