mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
"Username or password is incorrect." after upgrade from 1.1.0 #819
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 @themightychris on GitHub (Sep 30, 2020).
I have a ~2 year old instance running I believe 1.1.0 from
mprasil/bitwarden:latestI tried dropping
bitwardenrs/server:latestinto mydocker-compose.ymland doingdocker-compose pull && docker-compose up -dand that seems to work, but the system ends up in a state where all existing logins result in "Username or password is incorrect."Migrations appear to run during startup:
Reverting to the old image and restoring the
/datadirectory gets things working again, but I'd like to figure out how to upgrade this instance and the database along with it. Are there any special steps I might be missing for this big version jump outside the automatic migrations?@BlackDex commented on GitHub (Sep 30, 2020):
What is the error you get? Either browser or bitwarden log, or both when you try to login?
@themightychris commented on GitHub (Oct 1, 2020):
@BlackDex the quote in the issue title is pasted verbatim from the container log, and I believe is the same wording I saw in the browser. If it didn't match exactly it was a clean "username/password wrong" error. Here's the container log from
upon new version to failed login:I'd have to break it again with an upgrade to confirm, given some tips on what to run / look for I could try again and collect more info to report back before reverting. thanks!
@BlackDex commented on GitHub (Oct 1, 2020):
i would have to try and do the same my self to figure out what could be the case here.
Rather busy the past few day's so don't know if i have the time.
@themightychris commented on GitHub (Oct 7, 2020):
What are the odds that migrating to mysql or postgres before migrating could help my situation or make debugging easier?
@BlackDex commented on GitHub (Oct 7, 2020):
i actually have no clue.
The problem is that you probably can't get a version that old with mysql any more.
Since mprasil's docker hub repo is empty now. That makes it hard for me to test also.
I Would have to try and build a that old version and test it.
@themightychris commented on GitHub (Oct 7, 2020):
@BlackDex if I set up a VM with a clone of my current database+image and a test user added, would you be interested in having a look?
@BlackDex commented on GitHub (Oct 7, 2020):
Do you have many users or orgs?
@BlackDex commented on GitHub (Oct 7, 2020):
@themightychris What i would need is probably a before and after sqlite database to spot the differences there with indeed a test user which would have access to the before database, and not to the after one.
Then those credentials and both databases would be enough for me.
@BlackDex commented on GitHub (Oct 8, 2020):
@themightychris Actually, if you have the old database with a working user for me, that would be enough also.
Since i can just start my dev instances here with that, and it will do the migration.
@BlackDex commented on GitHub (Oct 11, 2020):
@themightychris on the Matrix Chat there was someone which had similar issues and also uses docker-compose.
He did the following, and that resolved his issue.
Could you try the same steps and see if that resolves your issue as well?
@potvinp commented on GitHub (Oct 15, 2020):
Good morning,
I was having the same issue as @themightychris, and after running the commands you mentioned I no longer receive the error and everything appears to be running without issues. Thanks!
@BlackDex commented on GitHub (Nov 18, 2020):
@themightychris Were you able to solve the issue?
@BlackDex commented on GitHub (Dec 12, 2020):
Closing this ticket die to inactivity.
Also issue seems to be resolved by other user which has the same issue.