Skip to content
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 2024.5.0 unable to start - docker-compose.yml is invalid #4130

Closed
1 task done
keithellis74 opened this issue May 26, 2024 · 2 comments
Closed
1 task done
Labels

Comments

@keithellis74
Copy link

Steps To Reproduce

  1. Bitwarden updated via cronscript as per documentation
  2. Bitwarden fails to start - docker-compose.yml errors
  3. Uninstalled Bitwarden ./bitwarden.sh uninstall removing bwdata directory
  4. Followed the Docker removal instructions here: https://docs.docker.com/engine/install/ubuntu/#uninstall-old-versions
  5. Completed clean install of Bitwarden on Ubuntu following the instructions here: https://bitwarden.com/help/install-on-premise-linux/

Expected Result

Bitwarden starting as per documentation

Actual Result

`bitwarden@vps786900:/opt/bitwarden$ ./bitwarden.sh start


| |__ () |__ ____ _ _ __ _| | ___ _ __
| '
| | \ \ /\ / / | '__/ _ |/ _ \ ' \
| |) | | | \ V V / (| | | | (| | / | | |
|_./||_| _/_/ _,|| _,_|_
|| ||

Open source password management solutions
Copyright 2015-2024, 8bit Solutions LLC
https://bitwarden.com, https://github.com/bitwarden

===================================================

bitwarden.sh version 2024.5.0
Docker version 26.1.3, build b72abbb
docker-compose version 1.25.3, build d4d1b42b

ERROR: The Compose file '/opt/bitwarden/bwdata/docker/docker-compose.yml' is invalid because:
Unsupported config option for networks: 'default'
Unsupported config option for services: 'web'
ERROR: The Compose file '/opt/bitwarden/bwdata/docker/docker-compose.yml' is invalid because:
Unsupported config option for services: 'api'
Unsupported config option for networks: 'default'`

Screenshots or Videos

No response

Additional Context

I have totally erased by Bitwarden install and re-installed following the Docker install and Bitwarden install instructions. I am unable to start Bitwarden, how can I resolve this please.

Build Version

2024.5.0

Environment

Self-Hosted

Environment Details

Ubuntu 22.04.4 LTS VPS
2GB Ram
40GB hard drive

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@daniellbw
Copy link

Hi @keithellis74 ,

I attempted to reproduce your issue and was unable to do so. I think your error could have its origin in a

This is a duplicate of #4078

Could you run which docker-compose and then if this exists then please delete this and try again.

We use GitHub issues as a place to track bugs and other development related issues. If your issue persists, please write us back using our “Contact support” form located on our Help Center (https://bitwarden.com/help/).

You can include a link to this issue in the message content.

Alternatively, you can also search for an answer in our help documentation or get help from other Bitwarden users on our community forums (https://community.bitwarden.com/c/support/).

The issue here will be closed.

Thanks!

@daniellbw daniellbw closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2024
@joxxxx
Copy link

joxxxx commented May 27, 2024

I had the exact same problem and removing /usr/local/bin/docker-compose did the trick ! Thanks a lot !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants