Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [BUG] - Attachment docker volume bind missing? #1708

Open
B4rtware opened this issue Dec 19, 2023 · 0 comments
Open

🐛 [BUG] - Attachment docker volume bind missing? #1708

B4rtware opened this issue Dec 19, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@B4rtware
Copy link
Contributor

Description

I have upgraded from 0.10.2 to 0.11.0 and lost my attachments (images) I had inside a table (not a big issue).
Using something like

docker run -d --name undb -p 4000:4000 --platform linux/x86_64 -v ~/.undb/:/var/opt/.undb -v ~/.undb/attachments/:/undb/attachments ghcr.io/undb-xyz/undb:latest

should prevent it since mounting also the attachment folder. I don't know if there are other persistent folders which needs to be mounted. Or moving the attachment folder inside of the docker to /var/opt/.undb could also be an option.

Reproduction URL

No response

Reproduction steps

1. Start a docker container via the provided command in the readme
2. Create a table with an attachment field and upload an image
3. Stop the container `docker stop <container id>`
4. Delete the container `docker rm <container id>`
5. Start a docker container via the provided command in the readme

Now the attachment cant be resolved anymore.

Screenshots

No response

Logs

No response

Browsers

Chrome

@B4rtware B4rtware added the bug Something isn't working label Dec 19, 2023
@nichenqin nichenqin self-assigned this Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants