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

Fix/check requirements debug #72

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

Kronk74
Copy link

@Kronk74 Kronk74 commented Jan 13, 2025

Hello,

I had an issue in my server and it was due to yq version... If yq is installed but not with the good version, the script is doing nothing.

Here is a purpose to check better this requirements.

See you,

tools/tools.sh Outdated
exit 1
fi
echo "[$0] ***** Checking required tools... *****"
REQUIRED_TOOLS=("docker" "docker compose" "yq" "jq")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some installations use "docker-compose" v2 binary, so the naming may be wrong here if someone's using "docker-compose" instead of "docker compose".
Maybe we should enforce versions checks only for yq and jq for the time being.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact we could load the env var $DOCKER_COMPOSE_BINARY (which is defined in .env) to determine it.

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

Successfully merging this pull request may close these issues.

2 participants