docker-compose-plugin is missing as dependency

Open Beginner friendly
#830 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
bash, docker

Research direction

Start in bbb-install.sh by finding the Docker installation and PostgreSQL startup paths, then reproduce the failure on Ubuntu 22.04.5 with docker-ce installed using --no-install-recommends. Ensure the installation handles the missing docker-compose-plugin dependency, and verify that the PostgreSQL startup command completes successfully.

Written by the indexing model from the issue text.

Description

Describe the bug
The installation script bbb-install.sh at some time wants to start postgresql using docker compose .... This fails if the package docker-compose-plugin is not installed. That in turn is the case on a fresh Ubuntu 22.04.5 installation if one installs docker-ce using the --no-install-recommends switch, which I've done as "Latest version of docker installed" is part of the "Minimum server requirements".

Installation type
Installation was done using the bbb-install.sh script.

Firewall and IP address type
n/a

Console output

unknown shorthand flag: 'f' in -f                                                                                     
                                                                                                                      
Usage:  docker [OPTIONS] COMMAND [ARG...]                                                                             
                                                                                                                      
Run 'docker --help' for more information                                                                              
bbb-install: Waiting for the Postgres DB to start...                                                                  
unknown shorthand flag: 'f' in -f                                                                                     
                                                                                                                      
Usage:  docker [OPTIONS] COMMAND [ARG...]                                                                             
                                                                                                                      
Run 'docker --help' for more information                                                                              
bbb-install: failed to start Postgres service - retry to resolve

Additional context
Using the install script without prior installation of Docker the recommended packages - and so docker-compose-plugin are installed and the installation went through without any problem. If docker-ce is already installed there's no need for the install script to install it again and so no "recommendations" are installed further.

Dominant language
Shell
Stars
660
Forks
560
Avg merge
15h 30m
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bigbluebutton/bbb-install

All issues in bigbluebutton/bbb-install

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.