mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 17:23:04 +03:00
Error when trying to export unencrypted organization vault via web interface #1049
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 @f1d094 on GitHub.
Subject of the issue
Plaintext export of personal vault data works as expected. It is also possible to create an encrypted_json export of organization data. Plaintext exports of Organization vaults fail for both .csv and .json.
Encrypted exports are not useful for disaster recovery, where it is entirely possible the encryption key may be lost, preventing re-import of an encrypted .json file.
Unencrypted exports are essential for proper backups
Deployment environment
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden:
Steps to reproduce
After logging in as the Organization owner, then Organizations -> MyOrganization -> Tools -> Export Vault
Expected behaviour
Unencrypted .json file with organization vault data
Actual behaviour
Selecting File Format "Encrypted .json" and entering Master Password returns encrypted .json file.
Selecting ".json" or ".csv" produces "An unexpected error has occured" in the GUI
Troubleshooting data
With extended logging enabled and LOG_LEVEL=info, the following appears in the log
Setting LOG_LEVEL=debug and trying again produces identical output in the log.
Trying to do export with bw cli results in same issues as #2760
@BlackDex commented on GitHub:
Yes it is the same. It's the exact same endpoint (and I changed the title).
And bug or enhancement sometimes are synonyms 😉
@f1d094 commented on GitHub:
What is the last known-good version if I wanted to roll back? This was my first effort with bitwarden/vaultwarden
@BlackDex commented on GitHub:
Duplicate of #2760
@BlackDex commented on GitHub:
I would suggest to use the
latesttagged images instead oftesting@f1d094 commented on GitHub:
Is this the same? #2760 only speaks to cli. I am unable to create backups via GUI. This should be a bug, not an enhancement, no?