Uploads disappear #20

Closed
opened 2024-07-11 18:51:04 +00:00 by tma · 2 comments
Owner

Uploads disappear, seemingly after a build. This is probably because I made an error in the compose. payload uploads is a docker volume

Uploads disappear, seemingly after a build. This is probably because I made an error in the compose. payload uploads is a docker volume
Owner

I think when this problem happened with payload+astro it was because the uploads docker volume was being mounted in a different path inside the container to where Payload was actually storing uploaded files.

So, the fix is likely:

  1. Upload a file
  2. Get a shell in the container
  3. Locate the uploaded file
  4. Change the mountpoint for the payload_uploads volume to the value from step 3
I think when this problem happened with payload+astro it was because the uploads docker volume was being mounted in a different path inside the container to where Payload was actually storing uploaded files. So, the fix is likely: 1. Upload a file 2. Get a shell in the container 3. Locate the uploaded file 4. Change the [mountpoint for the `payload_uploads` volume](https://git.autonomic.zone/autonomic-cooperative/nextload/src/branch/main/docker-compose.yml#L21) to the value from step 3
Author
Owner

Yes, indeed that was the culprit!

Yes, indeed that was the culprit!
tma closed this issue 2024-07-11 19:43:08 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: autonomic-cooperative/nextload#20
No description provided.