mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-24 09:03:15 -05:00
[GH-ISSUE #2853] 1.26.0-alpine Docker image fails to start #18171
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 @jheiselman on GitHub (Oct 21, 2022).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2853
Subject of the issue
Image version for vaultwarden/alpine:latest fails to start with error logged "Command not found: /start.sh".
Deployment environment
vaultwarden version: 1.26.0
Install method: Docker image vaultwarden/alpine:latest as of 20 October, 2022
Clients used: NA
Reverse proxy and version: NA
MySQL/MariaDB or PostgreSQL version: NA
Other relevant details:
Steps to reproduce
docker run vaultwarden/alpine:1.26.0
Expected behaviour
Service should startup
Actual behaviour
Service fails to start with error "Command not found: /start.sh"
Troubleshooting data
Reverting to 1.25.2-alpine works properly
@jheiselman commented on GitHub (Oct 21, 2022):
For what it's worth, the /start.sh script does appear to be in the image and indeed runs when called directly.
@BlackDex commented on GitHub (Oct 21, 2022):
See #2656
@jheiselman commented on GitHub (Oct 21, 2022):
Okay, so a bind mount is no longer acceptable. That's fine, however, documentation needs to be updated.
https://github.com/dani-garcia/vaultwarden/wiki/Starting-a-Container still guides users to created a bind mount.
Further, the volume check that is mentioned as fixed in 1.25.2 apparently isn't as I am currently running 1.25.2-alpine with a bind mount without issue.
@BlackDex commented on GitHub (Oct 21, 2022):
A bind mount is fine, that is what I'm using my self and no need for that env value.
If you can post your docker/docker-compose config, maybe we can help spotting something wrong.