-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bitwarden.sh calls "docker compose" instead of "docker-compose" #5043
Comments
Accidentally opened this issue on the unified deployment instead of self-host but I don't see where self-host bugs would be reported. |
I have this issue on self-hosted as well. |
I have the same issue as well @Exportedthought |
I am also using a Synology device. |
For my situation I simply went through the bitwarden.sh and run.sh scripts and modified any section that referenced "docker compose" to have the dash, as in "docker-compose". I did have to run the ./bitwarden.sh updateself first to get the most recent version of the script and then do the necessary modifications since updateself will replace ./bitwarden.sh. I also had to comment out the function call downloadRunFile in the case statement to ensure it didn't replace those modifications as well. Also note, I ran the update first normally (that's how I ran into issues in the first place) so the modifications that I made are all assuming the latest scripts, I'm not sure all of this is the recommended way to handle this but I'll leave it all here anyways. I would also like to warn that these modifications will certainly be cleared out if another attempt to updateself is performed and the normal update procedures are followed so this is not a real solution. |
Thanks for the update. |
Agree, thank you |
Steps To Reproduce
Attempt to update bitwarden self-hosted
All as the bitwarden user with permissions required to access docker, per the bitwarden self-host documentation.
Expected Result
Script execution/update completion.
Actual Result
Error is received, see below:
docker: 'compose' is not a docker command.
See 'docker --help'
Screenshots or Videos
No response
Additional Context
After manually changing the bitwarden.sh script and the run.sh scripts to use "docker-compose" instead of "docker compose" I was able to get everything to update. It is unclear if this is something self-induced or something wrong with my environment but it seems like the docker compose entries within run.sh/bitwarden.sh should be docker-compose or at least should check as bitwarden.sh seemed to do this previously.
Githash Version
6862a9b
Environment Details
Database Image
No response
Issue-Link
#2480
Issue Tracking Info
The text was updated successfully, but these errors were encountered: