mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Unable to download any attachments #2230
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @derritter88 on GitHub (Apr 3, 2025).
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Config:
Vaultwarden Build Version
1.33.2
Deployment method
Official Container Image
Custom deployment method
Official image deployed at Kubernetes
Reverse Proxy
1.27.4-1+ubuntu24.04.1+deb.sury.org+3
Host/Server Operating System
Linux
Operating System Version
Ubuntu 24.04
Clients
Web Vault, Browser Extension
Client Version
any
Steps To Reproduce
Expected Result
Download possible
Actual Result
Download not possible as 404 not found
Logs
Screenshots or Videos
No response
Additional Context
Interesting fact is the if you upload a new attachment and try to download this instantly it works.
Only for stuff I uploaded as attachment yesterday or earlier it is not working.
@BlackDex commented on GitHub (Apr 3, 2025):
Are those files still on the server then?
Looks like the files do not exist anymore.
Vaultwarden doesn't delete them on it's own, so something must have happened with your storage.
@derritter88 commented on GitHub (Apr 3, 2025):
They are stored at the database at the
attachementstable.@BlackDex commented on GitHub (Apr 3, 2025):
And how did you establish that?
Vaultwarden doesn't have a feature to store attachments inside the database as blobs. They are stored on disk as files in the data directory. If that isn't persistent, then that explains your missing files.
@derritter88 commented on GitHub (Apr 3, 2025):
Ahh okay.
Which is interessting as in previous times this worked out without a persistent volume (in Kubernetes context).
Will take a look into that and.
May I just ask why there is an attachment table at the database if it's not being used at all?