Update Problem 2022.10.0

Hallo,

when i try to update my self-hosted bitwarden instanz from 2022.9.1 to 2022.10.0, i got the following error:

docker: Error response from daemon: Container 6a352c582011060f9e945d59812013babeda78320c1657ca150281e59295ab05 is restarting, wait until the container is running.

and
docker logs bitwarden-mssql
/opt/mssql/bin/sqlservr: Error: The secrets directory [/var/opt/mssql/secrets/] could not be created. File: LinuxDirectory.cpp:523 [Status: 0xC0000022 Access Denied errno = 0xD(13) Permission denied]

after some research without a result i have done this:

Solution

mkdir bwdata/mssql/data/var/opt/mssql/secrets
chown nobody.nogroup bwdata/mssql/data/var/opt/mssql/secrets
vi bwdata/docker/docker-compose.override.yml

version: ‘3’

services:
mssql:
volumes:
- …/mssql/secrets:/var/opt/mssql/secrets

./bitwarden.sh update
./bitwarden.sh restart

My favorite problem reports also provide the solution ! :+1:

@derseher Thanks for reporting and providing a solution.

There also seems to be a report on Github, but with a different solution.