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

Bitwarden database will randomly "wipe" itself removing all logins and organizations #3033

Open
1 task done
ipiqadm opened this issue Jun 21, 2023 · 1 comment
Open
1 task done
Labels
bug bw-unified-deploy An Issue related to Bitwarden unified deployment

Comments

@ipiqadm
Copy link

ipiqadm commented Jun 21, 2023

Steps To Reproduce

  1. Use Bitwarden self-hosted Unified docker normally e.g. adding passwords, setting up organization folders etc...
  2. Sign in after a period of time and try to access data
  3. Sign in works normally as credential information is saved, but no logins or organization data is shown in either the web or browser extension.

Expected Result

All login information and organization information would remain intact.

Actual Result

All data is gone including organization information along with billing sync data

Screenshots or Videos

No response

Additional Context

Initially saw this behavior due to how the "docker image prune" command was being ran with having the docker image down/offline. Which of course would lead to the database being wiped accidently. However, recently have seen this database wipe problem occur without having made any docker updates or performed and docker changes for many weeks.

A full VM image of the system that experienced the Bitwarden "wiped" database is available if there are certain logs that can be investigated. Had to restore production system back to an image 10 days old.

Githash Version

7f8b6c0-dirty

Environment Details

-Ubuntu Server 22.04
-Docker Compose

Database Image

mariadb:10

Issue-Link

#2480

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@ipiqadm ipiqadm added bug bw-unified-deploy An Issue related to Bitwarden unified deployment labels Jun 21, 2023
@keithhubner
Copy link
Collaborator

Hi,
Thank you for logging this issue, I will look to reproduce this locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bw-unified-deploy An Issue related to Bitwarden unified deployment
Projects
None yet
Development

No branches or pull requests

3 participants
@keithhubner @ipiqadm and others