the install.sh script does not check for the docker compose plugin
Self-Hosted Version
25.5.0
CPU Architecture
x86_64
Docker Version
25.0.8
Docker Compose Version
v2.33.1
Machine Specification
- [x] My system meets the minimum system requirements of Sentry
Steps to Reproduce
The install.sh script now depends on the docker compose plugin (as opposed to docker-compose), but does not check if it exists.
parts of the install.sh script like install/upgrade-clickhouse.sh will not function without this plugin installed.
Expected Result
At the beginning on the install.sh run, we check for things like:
▶ Checking minimum requirements ...
Found Docker version 25.0.8
Found Docker Compose version 2.36.1
We should add a check for the docker compose plugin as well
Actual Result
the scripts depending on docker compose will fail without the plugin installed.
Event ID
No response
specifically, docker compose ps -a did not work on my system until I installed the docker compose plugin with the following steps:
#!/bin/bash
sudo mkdir -p /usr/local/lib/docker/cli-plugins
sudo curl -sL https://github.com/docker/compose/releases/latest/download/docker-compose-linux-"$(uname -m)" \
-o /usr/local/lib/docker/cli-plugins/docker-compose
# Set ownership to root and make executable
test -f /usr/local/lib/docker/cli-plugins/docker-compose \
&& sudo chown root:root /usr/local/lib/docker/cli-plugins/docker-compose
test -f /usr/local/lib/docker/cli-plugins/docker-compose \
&& sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose
May I fix this one?
May I fix this one?
@SinaVosooghi yes sure go ahead.