Cannot update db - sql not accessible

OS: Ubuntu 18.04
VM: Yes
Disk: 60 GB
CPU: 2
RAM: 5 GB
Docker Version: 19.03.12
Compose Version: 1.24.0

Hello Bitwarden Community,

So i’ve tried to update my Bitwarden instance, but when in comes to the db upgrade process it fails with:

bitwarden-admin | fail: Bit.Admin.HostedServices.DatabaseMigrationHostedService[0]
bitwarden-admin | Database failed to migrate.
bitwarden-admin | System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server)

I cannot make out why is has problems connecting to the database.

1 Like

Same problem here, did you find a way to solve that ?