Hi;
Same problem after 2026.3.0 update. Hosting on Synology DSM 7.3.2. Bitwarden-mssql logs:
”Login failed for user ‘sa’. Reason: Server is in script upgrade mode. Only administrator can connect at this time.”
Then it crashers:
”This program has encountered a fatal error and cannot continue running at…”
Restarting and the loop starts all over again.
I have exactly the same issue. I’m also hosting on Synology DSM 7.3.2. When MSSQL starts it attempts to update the database using script repl_upgrade.sql and then eventually crashes. It then just restarts and does the same thing again.
I see a message like this is in the log:
2026-03-22 13:07:16.18 Server Process 0:0:0 (0x260) Worker 0x0000000F06BAE180 appears to be non-yielding on Scheduler 3. Thread creation time: 13418658353746. Approx Thread CPU Used: kernel 52980 ms, user 13390 ms. Process Utilization 24%. System Idle 0%. Interval: 70010 ms.
It’s a Docker setup with the official MSSQL image from Bitwarden; it should be 100% compatible.
I also tried waiting longer after the update (the script has a built-in sleep for 60 seconds, but MSSQL crashes the same way even if it’s longer and no other connections are made).
I am also hosting on Synology (DS1621+) running DSM 7.3.2.
I did some research before rolling back, and it is risky rolling back databases to older versions (stop bitwarden before doing this). I restored my files to the previous day to ensure my stuff would be ok before doing it.
Inside bitwarden.sh line 67-70, change the COREVERSION and WEBVERSION to the 2026.2.1 which is the previous version.
# Please do not create pull requests modifying the version numbers.
COREVERSION=“2026.2.1”
WEBVERSION=“2026.2.1”
KEYCONNECTORVERSION=“2025.11.0”
After that, update docker-compose.yml all images to version 2026.2.1.
I then did a bitwarden.sh stop, then bitwarden.sh rebuild and then a bitwarden.sh start.
So you modified the updater script with old version numbers and it effectively performed the rollback for you? Or did you have to interfere with the git side of things as well?
Having reviewed the logs I could see that when MSSQL starts it attempts to upgrade the DB. This always failed and the database did a rollback each time. On that basis I felt it was probably safe to rollback to 2026.2.1 without doing any form of DB restoration.
I had multiple backups of my database and docker folders that I could make use of if this didn’t work.
I stopped everything (./bitwarden.sh stop), copied the existing Bitwarden.sh (cp Bitwarden.sh bitwarden2.sh), edited Bitwarden2.sh and changed both COREVERSION and WEBVERSION to 2026.2.1
I then ran ./bitwarden2.sh update
Everything is now working fine.
I’ve temporarily disabled my scheduled update script until I’m satisfied this issue is fixed.
Just a little concerned that I may now be running an instance with vulnerabilities, so hopefully they’ll sort things out soon
I encountered the same issue on my self-hosted system on Synology. Rolling back to 2026.2.1 per the instructions others have provided solved my issue as well.
Hi everyone, thanks for the detailed info! After looking at your Docker releases, it looks like engine 24.0.2 is a couple years old (and doesn’t provide support for cgroup v2, which Bitwarden requires).
Can you check to see if there are any updates available?
Don’t think it’s docker problem. Synology uses LTS version. Docker/container runs fine, MySQL is logging unaccessible because it’s in update mode. Nothing to do with docker layer.