Has Bitwarden just trashed the iOS app for self hosted users? Recently I noticed the entire UI changed and I get the above error (and I haven’t logged into my VM running Bitwarden for months, so nothing has willingly been changed on the backend).
Immediately, after entering an email in the app, the error appears. I’ve tried uninstalling the iOS app and adding it back again.
It seems like the error appears instantly. It doesn’t wait for any http requests. The cert is trusted in iOS’ root trust store.
What’s happened? This is pretty disappointing, and I hope it’s a simple fix.
@abc Sorry, I’m not familiar with self-hosting myself.
@Fifty Since @abc is self-hosting, the experience of the last days show, that the login problems “vanish” after the server update, so for now I presume, there are different problems for the two of you.
Not fixed yet, but found I disabled updates to docker-compose.yml to force keeping the mssql container dead (since I use external MSSQL)… maybe since 2019 this file has drifted quite a bit. I am going to take the opportunity to do a fresh install, or just move over to the Helm chart.
Should be, but in the opposite order: updateself then update.
I suspect that your issue may be related to the above, although I do not have sufficient expertise to troubleshoot this further. What version is your external MSSQL server (2019 is required, 2022 recommended)?
Quick one… I migrated to Kubernetes (yes! was quick). When trying to login I see this in the admin pod’s logs:
Bit.Admin.Auth.Jobs.DeleteAuthRequestsJob[2]
Error performing DeleteAuthRequestsJob.
Microsoft.Data.SqlClient.SqlException (0x80131904): Could not find stored procedure 'dbo.AuthRequest_DeleteIfExpired'.
This smells to me like the backend has changed a lot and there are new DB stored procedures that aren’t in my (five year old) SQL database… best course of action here? I’d like to run some sort of DB migration without trashing the entire thing (trashing = export vault to json, import again on fresh DB).
I would strongly recommend contacting the Support team. They have experience with various migration scenarios, and may be able to offer advice.
In the meantime, perhaps it might be worth it to spin up a new database just to check if the iOS incompatibility issue has been resolved with the updated back end?
Solution (for people with external MSSQL - about 45 mins of work…)
Go ahead and nuke your bwdata
Get the latest install script
Modify the version lines in bitwarden.sh to add a variable $ver for the version numbers for CORE/WEB/KEY… (we’re gonna be changing these value loads soon)
go ahead and set your $ver above to a release around then.
run ./bitwarden.sh updatedb
keep incrementing the version number until you get to a fairly modern version, and keep trying the app, browser extension and web portal until one of them works