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

Unable to migrate MySQL database after updating to >= 2024.1 #3871

Closed
1 task done
TotallyMonica opened this issue Mar 4, 2024 · 2 comments
Closed
1 task done

Unable to migrate MySQL database after updating to >= 2024.1 #3871

TotallyMonica opened this issue Mar 4, 2024 · 2 comments
Labels
bug bw-unified-deploy An Issue related to Bitwarden unified deployment

Comments

@TotallyMonica
Copy link

Steps To Reproduce

  1. Set up Unified instance on <= 2023.12 utilizing a MySQL connector
  2. Pull a >= 2024.1 image
  3. Observe admin process crashing due to database migration issues

Expected Result

Database gets successfully migrated, with the container working successfully

Actual Result

Admin process perpetually crashes and relaunches upon unsuccessful DB migration

Screenshots or Videos

Relevant logs
docker-logs.txt
identity.log
notifications.log
api.log
admin.log

Additional Context

When working with a fresh database, this issue is not present, this appears to be exclusive to updating from a 2023.X to 2024.X installation

Githash Version

b3a6bf5-dirty

Environment Details

  • Operating System: Ubuntu 22.04 (Docker host), Debian 12 (MySQL Server)
  • Docker: 24.0.5
  • Hardware: Linode Shared CPU 4GB

Database Image

External MariaDB 10.11.6
Known buggy versions: 2024.1-beta, 2024.2-beta
Last known working: 2023.12-beta

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.
@TotallyMonica TotallyMonica added bug bw-unified-deploy An Issue related to Bitwarden unified deployment labels Mar 4, 2024
@holow29
Copy link

holow29 commented Mar 5, 2024

#3651 - doesn't seem like it will be fixed.

@Greenderella
Copy link
Member

Hi there!

Thank you for your report, it seems like it is a duplicate of #3651

You can attempt to drop the conflicting columns manually, following these steps: #3651 (comment)

This issue will now be closed.

Thanks!

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