Install.sh file error

I have met a error when i run ./install.sh

:arrow_forward: Parsing command line …

:arrow_forward: Setting up error handling …

:arrow_forward: Checking minimum requirements …
An error occurred, caught SIGERR on line 12
Cleaning up…

There is not any information provide,counld u please give some tips that can go ahead.
Thanks a lot !

Requirements is all checked

(√)* Docker 19.03.6+
(√)* Compose 1.24.1+
(√)* 4 CPU Cores
(√)* 8 GB RAM
(√)* 20 GB Free Disk Space

Can you do docker pull busybox and try again?

hi,i had docker pull busybox and try again,but still get the same result , any other suggestions?
thanks you !

Are you able to run docker run --rm busybox free -m 2>/dev/null | awk '/Mem/ {print $2}' without issues?

yes,without any issues,and server information is Linux 3.10.0-1062.12.1.el7.x86_64
Red Hat

Can you run the following commands in the onpremise directory and share the output:

set -x
export dc="docker-compose --no-ansi"
source ./install/check-minimum-requirements.sh

hello,Can you reply to my question? Thank you。https://forum.sentry.io/t/after-the-sentry-upgrade-no-more-catch-errors/13676

Sure!
the output as below,thanks!

  • source ./install/check-minimum-requirements.sh
    ++ echo ‘Checking minimum requirements …’
    Checking minimum requirements …
    ++ MIN_DOCKER_VERSION=19.03.6
    ++ MIN_COMPOSE_VERSION=1.24.1
    ++ MIN_RAM_HARD=3800
    ++ MIN_RAM_SOFT=7800
    ++ MIN_CPU_HARD=2
    ++ MIN_CPU_SOFT=4
    +++ docker version --format ‘{{.Server.Version}}’
    Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/version: dial unix /var/run/docker.sock: connect: permission denied
    ++ DOCKER_VERSION=
    +++ docker-compose --no-ansi --version
    +++ sed ‘s/docker-compose version (.{1,}),.*/\1/’
    ++ COMPOSE_VERSION=1.29.0
    +++ docker run --rm busybox free -m
    +++ awk ‘/Mem/ {print $2}’
    ++ RAM_AVAILABLE_IN_DOCKER=
    +++ docker run --rm busybox nproc --all
    docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/create: dial unix /var/run/docker.sock: connect: permission denied.
    See ‘docker run --help’.
    ++ CPU_AVAILABLE_IN_DOCKER=
    +++ ver
    +++ echo
    +++ awk -F. ‘{ printf("%d%03d%03d", $1,$2,$3); }’
    +++ ver 19.03.6
    +++ echo 19.03.6
    +++ awk -F. ‘{ printf("%d%03d%03d", $1,$2,$3); }’
    ++ [[ 0000000 -lt 19003006 ]]
    ++ echo 'FAIL: Expected minimum Docker version to be 19.03.6 but found ’
    FAIL: Expected minimum Docker version to be 19.03.6 but found
    ++ exit 1

It’s seem the docker version cause the fail,but i run docker -v ,the output is ‘Docker version 19.03.15, build 99e3ed8919’

This might be a bug in our version compare function, thanks for the help, I’ll look into this ASAP.

Ah, wait, I missed this error above. There is your problem :slight_smile:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.