mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Error when trying to export unencrypted organization vault via web interface #1365
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 (Sep 24, 2022).
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 (Sep 24, 2022):
Duplicate of #2760
@f1d094 commented on GitHub (Sep 24, 2022):
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?
@BlackDex commented on GitHub (Sep 24, 2022):
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 (Sep 24, 2022):
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 (Sep 24, 2022):
I would suggest to use the
latesttagged images instead oftesting