mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-09 04:32:44 -05:00
Vaultwarden docker 1.29.2 won't start #5320
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 @daevidt on GitHub (Sep 1, 2023).
Subject of the issue
Vaultwarden 1.29.2 (docker) won't start after upgrade (docker image update).
Deployment environment
os version: Ubuntu 22.04.3 LTS
vaultwarden version: 1.29.2 (could not start)
Install method: docker image (latest)
Clients used: web vault, Android
Reverse proxy and version: Apache 2.4.52-1ubuntu4.6
MySQL/MariaDB or PostgreSQL version: N. A. (sqlite3)
Other relevant details:
Only accessible from an internal network (restricted in Apache and firewall)
.env file settings:
WEB_VAULT_ENABLED=false
SIGNUPS_ALLOWED=false
DOMAIN=https://...
USE_SENDMAIL=true
Steps to reproduce
$ docker stop vaultwarden
$ docker rm vaultwarden
$ docker pull vaultwarden/server:latest
$ docker run -d --restart unless-stopped --name vaultwarden -e bwrs.env -v /opt/bitwarden/bwrsdata:/data/ -p 449:80 vaultwarden/server:latest
Expected behaviour
the docker container should start
Actual behaviour
the docker container stuck in a restart loop
Troubleshooting data
$ docker logs vaultwarden
note: run with
RUST_BACKTRACE=1environment variable to display a backtracethread 'main' panicked at 'OS can't spawn worker thread: Operation not permitted (os error 1)', /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/scheduler/multi_thread/worker.rs:447:13
I tried to set RUST_BACKTRACE=1 in bwrs.env, but it made no difference..
@BlackDex commented on GitHub (Sep 1, 2023):
Please provide a
docker infooutput, i suspect you are running an older version of Docker which has some issues with newer container images.@grantcodes commented on GitHub (Sep 1, 2023):
Just confirming I ran into the same issue and reinstalling / upgrading docker following the official docs seems to have got Vaultwarden up and running for me again.
@jrkoiter commented on GitHub (Sep 1, 2023):
Same issue here. Rolled back to 1.29.1 for now, that works.