#Images Disappear on Payload Cloud After Some Time When Using @payloadcms/storage-s3

14 messages · Page 1 of 1 (latest)

spice whale
#

Hi team,
I hope you're all doing well.
I'm experiencing an issue where images stored via the @payloadcms/storage-s3 plugin become missing after some time on Payload Cloud. The images are no longer accessible until I redeploy the app, at which point they reappear. I'm looking for a reliable solution to ensure the images remain visible and accessible permanently without needing to redeploy
How can I resolve this to ensure long-term visibility and stability of images hosted via S3?

spice whale
#

this is my code

slender wedge
#

When you say "no longer accessible" are you meaning they are there but you can't access them? Or they are completely gone from the S3 bucket? Or you can see them in S3 Bucket in AWS but they aren't appearing in the Admin Dashboard?

spice whale
#

@slender wedge The images are not deleted from the S3 bucket — they remain visible on AWS. However, they become inaccessible in the Payload CMS dashboard until the app is redeployed. After redeployment, the images appear and function as expected again.

slender wedge
#

Can I see your media collection config?

spice whale
#

sure

#

please see

slender wedge
#

Are there any logs in the console when you try to load them and they don't appear?

spice whale
#

Title: Authorize access to Google Drive
[2025-07-12T19:45:23]
Slug: authorize-access-to-google-drive
[2025-07-12T19:45:23]
ID: 67923fe62c9d61faa2509a53
[2025-07-12T19:45:23]
Category ID: 679212f5bcc135a8c9867714
[2025-07-12T19:45:23]
Response from server: {
[2025-07-12T19:45:23]
taskUid: 270,
[2025-07-12T19:45:23]
indexUid: 'articles',
[2025-07-12T19:45:23]
status: 'enqueued',
[2025-07-12T19:45:23]
type: 'documentAdditionOrUpdate',
[2025-07-12T19:45:23]
enqueuedAt: '2025-07-12T19:45:23.431404165Z'
[2025-07-12T19:45:23]
}

#

this type of logs show

crude bough
#

What version of payload are you on? There recently were some messages related to S3 issues in the most recent version, and subsequent comments that they were resolved by serving the images directly from S3.

spice whale
#

i am using "payload": "3.28.1",

crude bough