getsentry / self-hosted

Sentry, feature-complete and packaged up for low-volume deployments and proofs-of-concept
https://develop.sentry.dev/self-hosted/
Other
7.89k stars 1.77k forks source link

Error in install/ensure-relay-credentials.sh:29 #2414

Closed burgil closed 1 year ago

burgil commented 1 year ago

Self-Hosted Version

23.9.1

CPU Architecture

aarch64

Docker Version

Docker version 24.0.6, build ed223bc

Docker Compose Version

Docker Compose version v2.21.0

Steps to Reproduce

  1. WGET the latest project: wget https://github.com/getsentry/self-hosted/archive/refs/tags/23.9.1.zip
  2. made sure I have unzip: sudo apt install unzip Unzip it: unzip 23.9.1.zip and then delete it rm 23.9.1.zip
  3. Install Docker:
    for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
    sudo apt-get update
    sudo apt-get install ca-certificates curl gnupg
    sudo install -m 0755 -d /etc/apt/keyrings
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
    sudo chmod a+r /etc/apt/keyrings/docker.gpg
    echo   "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
    "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" |   sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
    sudo apt-get update
    sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
    sudo docker run hello-world
  4. CD into the project: cd self-hosted-23.9.1/
  5. Run sudo ./install.sh
  6. Build failed:
    exec /bin/bash: exec format error
    Error in install/ensure-relay-credentials.sh:29.
    '$creds generate --stdout > "$RELAY_CREDENTIALS_JSON".tmp' exited with status 1
    -> ./install.sh:main:26
    --> install/ensure-relay-credentials.sh:source:29
    
    ubuntu@main:~/self-hosted-23.9.1$ sudo ./install.sh
    ▶ Parsing command line ...

▶ Detecting Docker platform Detected Docker platform is linux/arm64

▶ Initializing Docker Compose ...

▶ Setting up error handling ...

0 building with "default" instance using docker driver

1 [internal] load .dockerignore

1 transferring context: 2B done

1 DONE 0.0s

2 [internal] load build definition from Dockerfile

2 transferring dockerfile: 292B done

2 DONE 0.0s

3 [internal] load metadata for docker.io/library/debian:bullseye-slim

3 DONE 2.2s

4 [1/2] FROM docker.io/library/debian:bullseye-slim@sha256:c618be84fc82aa8ba203abbb07218410b0f5b3c7cb6b4e7248fda7785d4f9946

4 resolve docker.io/library/debian:bullseye-slim@sha256:c618be84fc82aa8ba203abbb07218410b0f5b3c7cb6b4e7248fda7785d4f9946 0.0s done

4 sha256:c618be84fc82aa8ba203abbb07218410b0f5b3c7cb6b4e7248fda7785d4f9946 1.85kB / 1.85kB done

4 sha256:fe434fe10d82fb78bb8a9819f19a854c2d17ef87f2f7794ea0155bdb5ad89f08 529B / 529B done

4 sha256:3fa8a56f7bc99978173e7bd6de8e4d6112bcc40575c57efb01c7d690656ac741 1.48kB / 1.48kB done

4 sha256:fc521c5b98350f6fd8c72ace1e48558bb7b53cb3db201a2a3b42095401cd02f1 0B / 30.06MB 0.1s

4 sha256:fc521c5b98350f6fd8c72ace1e48558bb7b53cb3db201a2a3b42095401cd02f1 3.15MB / 30.06MB 0.2s

4 sha256:fc521c5b98350f6fd8c72ace1e48558bb7b53cb3db201a2a3b42095401cd02f1 30.06MB / 30.06MB 0.3s

4 sha256:fc521c5b98350f6fd8c72ace1e48558bb7b53cb3db201a2a3b42095401cd02f1 30.06MB / 30.06MB 0.4s done

4 extracting sha256:fc521c5b98350f6fd8c72ace1e48558bb7b53cb3db201a2a3b42095401cd02f1 0.1s

4 extracting sha256:fc521c5b98350f6fd8c72ace1e48558bb7b53cb3db201a2a3b42095401cd02f1 0.9s done

4 DONE 1.4s

5 [2/2] RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends jq && apt-get clean && rm -rf /var/lib/apt/lists/*

5 0.195 + apt-get update

5 0.595 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]

5 0.765 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]

5 0.831 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]

5 0.898 Get:4 http://deb.debian.org/debian bullseye/main arm64 Packages [8071 kB]

5 1.311 Get:5 http://deb.debian.org/debian-security bullseye-security/main arm64 Packages [243 kB]

5 1.312 Get:6 http://deb.debian.org/debian bullseye-updates/main arm64 Packages [14.9 kB]

5 2.025 Fetched 8537 kB in 2s (4809 kB/s)

5 2.025 Reading package lists...

5 2.489 + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends jq

5 2.499 Reading package lists...

5 2.959 Building dependency tree...

5 3.095 Reading state information...

5 3.255 The following additional packages will be installed:

5 3.255 libjq1 libonig5

5 3.297 The following NEW packages will be installed:

5 3.298 jq libjq1 libonig5

5 3.431 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.

5 3.431 Need to get 361 kB of archives.

5 3.431 After this operation, 1117 kB of additional disk space will be used.

5 3.431 Get:1 http://deb.debian.org/debian bullseye/main arm64 libonig5 arm64 6.9.6-1.1 [176 kB]

5 3.622 Get:2 http://deb.debian.org/debian bullseye/main arm64 libjq1 arm64 1.6-2.1 [121 kB]

5 3.641 Get:3 http://deb.debian.org/debian bullseye/main arm64 jq arm64 1.6-2.1 [64.5 kB]

5 3.799 debconf: delaying package configuration, since apt-utils is not installed

5 3.828 Fetched 361 kB in 0s (962 kB/s)

5 3.852 Selecting previously unselected package libonig5:arm64.

(Reading database ... 6656 files and directories currently installed.)

5 3.856 Preparing to unpack .../libonig5_6.9.6-1.1_arm64.deb ...

5 3.863 Unpacking libonig5:arm64 (6.9.6-1.1) ...

5 3.903 Selecting previously unselected package libjq1:arm64.

5 3.905 Preparing to unpack .../libjq1_1.6-2.1_arm64.deb ...

5 3.908 Unpacking libjq1:arm64 (1.6-2.1) ...

5 3.939 Selecting previously unselected package jq.

5 3.941 Preparing to unpack .../archives/jq_1.6-2.1_arm64.deb ...

5 3.944 Unpacking jq (1.6-2.1) ...

5 3.976 Setting up libonig5:arm64 (6.9.6-1.1) ...

5 3.986 Setting up libjq1:arm64 (1.6-2.1) ...

5 3.997 Setting up jq (1.6-2.1) ...

5 4.008 Processing triggers for libc-bin (2.31-13+deb11u6) ...

5 4.050 + apt-get clean

5 4.055 + rm -rf /var/lib/apt/lists/auxfiles /var/lib/apt/lists/deb.debian.org_debian-security_dists_bullseye-security_InRelease /var/lib/apt/lists/deb.debian.org_debian-security_dists_bullseye-security_main_binary-arm64_Packages.lz4 /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_InRelease /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_main_binary-arm64_Packages.lz4 /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_InRelease /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_main_binary-arm64_Packages.lz4 /var/lib/apt/lists/lock /var/lib/apt/lists/partial

5 DONE 4.3s

6 exporting to image

6 exporting layers 0.0s done

6 writing image sha256:1e846328fc9943cd12e33ed1e79d899d8e807350f0802a8157baaf4b0c478135 done

6 naming to docker.io/library/sentry-self-hosted-jq-local 0.0s done

6 DONE 0.0s

Hey, so ... we would love to automatically find out about issues with your Sentry instance so that we can improve the product. Turns out there is an app for that, called Sentry. Would you be willing to let us automatically send data about your instance upstream to Sentry for development and debugging purposes?

y / yes / 1 n / no / 0

(Btw, we send this to our own self-hosted Sentry instance, not to Sentry SaaS, so that we can be in this together.)

Here's the info we may collect:

Thirty (30) day retention. No marketing. Privacy policy at sentry.io/privacy.

y or n? n

Understood. To avoid this prompt in the future, use one of these flags:

--report-self-hosted-issues --no-report-self-hosted-issues

or set the REPORT_SELF_HOSTED_ISSUES environment variable:

REPORT_SELF_HOSTED_ISSUES=1 to send data REPORT_SELF_HOSTED_ISSUES=0 to not send data

▶ Checking for latest commit ... skipped

▶ Checking minimum requirements ... Found Docker version 24.0.6 Found Docker Compose version 2.21.0 Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox 8a0af25e8c2e: Pulling fs layer 8a0af25e8c2e: Verifying Checksum 8a0af25e8c2e: Download complete 8a0af25e8c2e: Pull complete Digest: sha256:3fbc632167424a6d997e74f52b878d7cc478225cffac6bc977eedfe51c7f4e79 Status: Downloaded newer image for busybox:latest

▶ Turning things off ...

▶ Creating volumes for persistent storage ... Created sentry-clickhouse. Created sentry-data. Created sentry-kafka. Created sentry-postgres. Created sentry-redis. Created sentry-symbolicator. Created sentry-zookeeper.

▶ Ensuring files from examples ... Creating sentry/sentry.conf.py ... Creating sentry/config.yml ... Creating symbolicator/config.yml ...

▶ Ensuring Relay credentials ... Creating relay/config.yml ... relay Pulling 9f1ecb66bc03 Pulling fs layer 70468f3fc5f6 Pulling fs layer 0546f789e4b6 Pulling fs layer 1e04816323ad Pulling fs layer 4f4fb700ef54 Pulling fs layer 192b130d0a1a Pulling fs layer 18289d3b0a22 Pulling fs layer 4539f31496d3 Pulling fs layer 1e04816323ad Waiting 4f4fb700ef54 Waiting 192b130d0a1a Waiting 18289d3b0a22 Waiting 4539f31496d3 Waiting 9f1ecb66bc03 Downloading [> ] 281.8kB/27.19MB 9f1ecb66bc03 Downloading [========================================> ] 22.02MB/27.19MB 0546f789e4b6 Downloading [========> ] 733B/4.486kB 0546f789e4b6 Downloading [==================================================>] 4.486kB/4.486kB 0546f789e4b6 Verifying Checksum 0546f789e4b6 Download complete 9f1ecb66bc03 Verifying Checksum 9f1ecb66bc03 Download complete 9f1ecb66bc03 Extracting [> ] 294.9kB/27.19MB 70468f3fc5f6 Downloading [> ] 51.51kB/5.136MB 9f1ecb66bc03 Extracting [============> ] 6.783MB/27.19MB 70468f3fc5f6 Downloading [====> ] 512.9kB/5.136MB 9f1ecb66bc03 Extracting [=======================> ] 12.98MB/27.19MB 9f1ecb66bc03 Extracting [================================> ] 17.69MB/27.19MB 70468f3fc5f6 Downloading [=========> ] 1MB/5.136MB 9f1ecb66bc03 Extracting [============================================> ] 24.18MB/27.19MB 70468f3fc5f6 Downloading [===================> ] 2.024MB/5.136MB 4f4fb700ef54 Downloading [==================================================>] 32B/32B 4f4fb700ef54 Verifying Checksum 4f4fb700ef54 Download complete 9f1ecb66bc03 Extracting [==============================================> ] 25.07MB/27.19MB 70468f3fc5f6 Downloading [===============================> ] 3.257MB/5.136MB 70468f3fc5f6 Verifying Checksum 70468f3fc5f6 Download complete 1e04816323ad Download complete 9f1ecb66bc03 Extracting [================================================> ] 26.25MB/27.19MB 9f1ecb66bc03 Extracting [=================================================> ] 27.13MB/27.19MB 9f1ecb66bc03 Extracting [==================================================>] 27.19MB/27.19MB 9f1ecb66bc03 Pull complete 70468f3fc5f6 Extracting [> ] 65.54kB/5.136MB 70468f3fc5f6 Extracting [===============================================> ] 4.915MB/5.136MB 70468f3fc5f6 Extracting [==================================================>] 5.136MB/5.136MB 70468f3fc5f6 Pull complete 0546f789e4b6 Extracting [==================================================>] 4.486kB/4.486kB 0546f789e4b6 Extracting [==================================================>] 4.486kB/4.486kB 0546f789e4b6 Pull complete 192b130d0a1a Downloading [> ] 167.4kB/16.46MB 1e04816323ad Extracting [==================================================>] 139B/139B 1e04816323ad Extracting [==================================================>] 139B/139B 1e04816323ad Pull complete 4f4fb700ef54 Extracting [==================================================>] 32B/32B 4f4fb700ef54 Extracting [==================================================>] 32B/32B 4f4fb700ef54 Pull complete 192b130d0a1a Downloading [==========> ] 3.302MB/16.46MB 4539f31496d3 Downloading [======================================> ] 734B/960B 4539f31496d3 Downloading [==================================================>] 960B/960B 4539f31496d3 Verifying Checksum 4539f31496d3 Download complete 192b130d0a1a Downloading [===================> ] 6.284MB/16.46MB 18289d3b0a22 Downloading [> ] 537.5kB/147.5MB 192b130d0a1a Downloading [=================================> ] 11.06MB/16.46MB 18289d3b0a22 Downloading [> ] 1.619MB/147.5MB 192b130d0a1a Verifying Checksum 192b130d0a1a Download complete 192b130d0a1a Extracting [> ] 196.6kB/16.46MB 192b130d0a1a Extracting [=============================> ] 9.634MB/16.46MB 18289d3b0a22 Downloading [=> ] 3.224MB/147.5MB 192b130d0a1a Extracting [==================================================>] 16.46MB/16.46MB 192b130d0a1a Pull complete 18289d3b0a22 Downloading [=> ] 5.367MB/147.5MB 18289d3b0a22 Downloading [===> ] 9.09MB/147.5MB 18289d3b0a22 Downloading [=====> ] 14.97MB/147.5MB 18289d3b0a22 Downloading [========> ] 24.61MB/147.5MB 18289d3b0a22 Downloading [=============> ] 39.06MB/147.5MB 18289d3b0a22 Downloading [================> ] 49.72MB/147.5MB 18289d3b0a22 Downloading [======================> ] 66.32MB/147.5MB 18289d3b0a22 Downloading [==========================> ] 78.08MB/147.5MB 18289d3b0a22 Downloading [===============================> ] 92.04MB/147.5MB 18289d3b0a22 Downloading [======================================> ] 114.6MB/147.5MB 18289d3b0a22 Downloading [==============================================> ] 137.6MB/147.5MB 18289d3b0a22 Verifying Checksum 18289d3b0a22 Download complete 18289d3b0a22 Extracting [> ] 557.1kB/147.5MB 18289d3b0a22 Extracting [==========> ] 30.08MB/147.5MB 18289d3b0a22 Extracting [====================> ] 59.05MB/147.5MB 18289d3b0a22 Extracting [==============================> ] 88.57MB/147.5MB 18289d3b0a22 Extracting [======================================> ] 114.2MB/147.5MB 18289d3b0a22 Extracting [===============================================> ] 139.8MB/147.5MB 18289d3b0a22 Extracting [==================================================>] 147.5MB/147.5MB 18289d3b0a22 Pull complete 4539f31496d3 Extracting [==================================================>] 960B/960B 4539f31496d3 Extracting [==================================================>] 960B/960B 4539f31496d3 Pull complete relay Pulled Network sentry-self-hosted_default Creating Network sentry-self-hosted_default Created Volume "sentry-self-hosted_sentry-smtp" Creating Volume "sentry-self-hosted_sentry-smtp" Created Volume "sentry-self-hosted_sentry-smtp-log" Creating Volume "sentry-self-hosted_sentry-smtp-log" Created Volume "sentry-self-hosted_sentry-vroom" Creating Volume "sentry-self-hosted_sentry-vroom" Created Volume "sentry-self-hosted_sentry-zookeeper-log" Creating Volume "sentry-self-hosted_sentry-zookeeper-log" Created Volume "sentry-self-hosted_sentry-clickhouse-log" Creating Volume "sentry-self-hosted_sentry-clickhouse-log" Created Volume "sentry-self-hosted_sentry-nginx-cache" Creating Volume "sentry-self-hosted_sentry-nginx-cache" Created Volume "sentry-self-hosted_sentry-secrets" Creating Volume "sentry-self-hosted_sentry-secrets" Created Volume "sentry-self-hosted_sentry-kafka-log" Creating Volume "sentry-self-hosted_sentry-kafka-log" Created exec /bin/bash: exec format error Error in install/ensure-relay-credentials.sh:29. '$creds generate --stdout > "$RELAY_CREDENTIALS_JSON".tmp' exited with status 1 -> ./install.sh:main:26 --> install/ensure-relay-credentials.sh:source:29

Cleaning up...


### Expected Result

The build should not fail and the self-hosted should start up on the web port assigned.

### Actual Result

The build failed:

ubuntu@main:~/self-hosted-23.9.1$ ls -1 sentry_install_log-*.txt | tail -1 | xargs cat ▶ Parsing command line ...

▶ Detecting Docker platform Detected Docker platform is linux/arm64

▶ Initializing Docker Compose ...

▶ Setting up error handling ...

0 building with "default" instance using docker driver

1 [internal] load .dockerignore

1 transferring context: 2B done

1 DONE 0.0s

2 [internal] load build definition from Dockerfile

2 transferring dockerfile: 292B done

2 DONE 0.0s

3 [internal] load metadata for docker.io/library/debian:bullseye-slim

3 DONE 2.2s

4 [1/2] FROM docker.io/library/debian:bullseye-slim@sha256:c618be84fc82aa8ba203abbb07218410b0f5b3c7cb6b4e7248fda7785d4f9946

4 resolve docker.io/library/debian:bullseye-slim@sha256:c618be84fc82aa8ba203abbb07218410b0f5b3c7cb6b4e7248fda7785d4f9946 0.0s done

4 sha256:c618be84fc82aa8ba203abbb07218410b0f5b3c7cb6b4e7248fda7785d4f9946 1.85kB / 1.85kB done

4 sha256:fe434fe10d82fb78bb8a9819f19a854c2d17ef87f2f7794ea0155bdb5ad89f08 529B / 529B done

4 sha256:3fa8a56f7bc99978173e7bd6de8e4d6112bcc40575c57efb01c7d690656ac741 1.48kB / 1.48kB done

4 sha256:fc521c5b98350f6fd8c72ace1e48558bb7b53cb3db201a2a3b42095401cd02f1 0B / 30.06MB 0.1s

4 sha256:fc521c5b98350f6fd8c72ace1e48558bb7b53cb3db201a2a3b42095401cd02f1 3.15MB / 30.06MB 0.2s

4 sha256:fc521c5b98350f6fd8c72ace1e48558bb7b53cb3db201a2a3b42095401cd02f1 30.06MB / 30.06MB 0.3s

4 sha256:fc521c5b98350f6fd8c72ace1e48558bb7b53cb3db201a2a3b42095401cd02f1 30.06MB / 30.06MB 0.4s done

4 extracting sha256:fc521c5b98350f6fd8c72ace1e48558bb7b53cb3db201a2a3b42095401cd02f1 0.1s

4 extracting sha256:fc521c5b98350f6fd8c72ace1e48558bb7b53cb3db201a2a3b42095401cd02f1 0.9s done

4 DONE 1.4s

5 [2/2] RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends jq && apt-get clean && rm -rf /var/lib/apt/lists/*

5 0.195 + apt-get update

5 0.595 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]

5 0.765 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]

5 0.831 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]

5 0.898 Get:4 http://deb.debian.org/debian bullseye/main arm64 Packages [8071 kB]

5 1.311 Get:5 http://deb.debian.org/debian-security bullseye-security/main arm64 Packages [243 kB]

5 1.312 Get:6 http://deb.debian.org/debian bullseye-updates/main arm64 Packages [14.9 kB]

5 2.025 Fetched 8537 kB in 2s (4809 kB/s)

5 2.025 Reading package lists...

5 2.489 + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends jq

5 2.499 Reading package lists...

5 2.959 Building dependency tree...

5 3.095 Reading state information...

5 3.255 The following additional packages will be installed:

5 3.255 libjq1 libonig5

5 3.297 The following NEW packages will be installed:

5 3.298 jq libjq1 libonig5

5 3.431 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.

5 3.431 Need to get 361 kB of archives.

5 3.431 After this operation, 1117 kB of additional disk space will be used.

5 3.431 Get:1 http://deb.debian.org/debian bullseye/main arm64 libonig5 arm64 6.9.6-1.1 [176 kB]

5 3.622 Get:2 http://deb.debian.org/debian bullseye/main arm64 libjq1 arm64 1.6-2.1 [121 kB]

5 3.641 Get:3 http://deb.debian.org/debian bullseye/main arm64 jq arm64 1.6-2.1 [64.5 kB]

5 3.799 debconf: delaying package configuration, since apt-utils is not installed

5 3.828 Fetched 361 kB in 0s (962 kB/s)

5 3.852 Selecting previously unselected package libonig5:arm64.

(Reading database ... 6656 files and directories currently installed.)

5 3.856 Preparing to unpack .../libonig5_6.9.6-1.1_arm64.deb ...

5 3.863 Unpacking libonig5:arm64 (6.9.6-1.1) ...

5 3.903 Selecting previously unselected package libjq1:arm64.

5 3.905 Preparing to unpack .../libjq1_1.6-2.1_arm64.deb ...

5 3.908 Unpacking libjq1:arm64 (1.6-2.1) ...

5 3.939 Selecting previously unselected package jq.

5 3.941 Preparing to unpack .../archives/jq_1.6-2.1_arm64.deb ...

5 3.944 Unpacking jq (1.6-2.1) ...

5 3.976 Setting up libonig5:arm64 (6.9.6-1.1) ...

5 3.986 Setting up libjq1:arm64 (1.6-2.1) ...

5 3.997 Setting up jq (1.6-2.1) ...

5 4.008 Processing triggers for libc-bin (2.31-13+deb11u6) ...

5 4.050 + apt-get clean

5 4.055 + rm -rf /var/lib/apt/lists/auxfiles /var/lib/apt/lists/deb.debian.org_debian-security_dists_bullseye-security_InRelease /var/lib/apt/lists/deb.debian.org_debian-security_dists_bullseye-security_main_binary-arm64_Packages.lz4 /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_InRelease /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_main_binary-arm64_Packages.lz4 /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_InRelease /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_main_binary-arm64_Packages.lz4 /var/lib/apt/lists/lock /var/lib/apt/lists/partial

5 DONE 4.3s

6 exporting to image

6 exporting layers 0.0s done

6 writing image sha256:1e846328fc9943cd12e33ed1e79d899d8e807350f0802a8157baaf4b0c478135 done

6 naming to docker.io/library/sentry-self-hosted-jq-local 0.0s done

6 DONE 0.0s

Hey, so ... we would love to automatically find out about issues with your Sentry instance so that we can improve the product. Turns out there is an app for that, called Sentry. Would you be willing to let us automatically send data about your instance upstream to Sentry for development and debugging purposes?

y / yes / 1 n / no / 0

(Btw, we send this to our own self-hosted Sentry instance, not to Sentry SaaS, so that we can be in this together.)

Here's the info we may collect:

Thirty (30) day retention. No marketing. Privacy policy at sentry.io/privacy.

y or n? Understood. To avoid this prompt in the future, use one of these flags:

--report-self-hosted-issues --no-report-self-hosted-issues

or set the REPORT_SELF_HOSTED_ISSUES environment variable:

REPORT_SELF_HOSTED_ISSUES=1 to send data REPORT_SELF_HOSTED_ISSUES=0 to not send data

▶ Checking for latest commit ... skipped

▶ Checking minimum requirements ... Found Docker version 24.0.6 Found Docker Compose version 2.21.0 Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox 8a0af25e8c2e: Pulling fs layer 8a0af25e8c2e: Verifying Checksum 8a0af25e8c2e: Download complete 8a0af25e8c2e: Pull complete Digest: sha256:3fbc632167424a6d997e74f52b878d7cc478225cffac6bc977eedfe51c7f4e79 Status: Downloaded newer image for busybox:latest

▶ Turning things off ...

▶ Creating volumes for persistent storage ... Created sentry-clickhouse. Created sentry-data. Created sentry-kafka. Created sentry-postgres. Created sentry-redis. Created sentry-symbolicator. Created sentry-zookeeper.

▶ Ensuring files from examples ... Creating sentry/sentry.conf.py ... Creating sentry/config.yml ... Creating symbolicator/config.yml ...

▶ Ensuring Relay credentials ... Creating relay/config.yml ... relay Pulling 9f1ecb66bc03 Pulling fs layer 70468f3fc5f6 Pulling fs layer 0546f789e4b6 Pulling fs layer 1e04816323ad Pulling fs layer 4f4fb700ef54 Pulling fs layer 192b130d0a1a Pulling fs layer 18289d3b0a22 Pulling fs layer 4539f31496d3 Pulling fs layer 1e04816323ad Waiting 4f4fb700ef54 Waiting 192b130d0a1a Waiting 18289d3b0a22 Waiting 4539f31496d3 Waiting 9f1ecb66bc03 Downloading [> ] 281.8kB/27.19MB 9f1ecb66bc03 Downloading [========================================> ] 22.02MB/27.19MB 0546f789e4b6 Downloading [========> ] 733B/4.486kB 0546f789e4b6 Downloading [==================================================>] 4.486kB/4.486kB 0546f789e4b6 Verifying Checksum 0546f789e4b6 Download complete 9f1ecb66bc03 Verifying Checksum 9f1ecb66bc03 Download complete 9f1ecb66bc03 Extracting [> ] 294.9kB/27.19MB 70468f3fc5f6 Downloading [> ] 51.51kB/5.136MB 9f1ecb66bc03 Extracting [============> ] 6.783MB/27.19MB 70468f3fc5f6 Downloading [====> ] 512.9kB/5.136MB 9f1ecb66bc03 Extracting [=======================> ] 12.98MB/27.19MB 9f1ecb66bc03 Extracting [================================> ] 17.69MB/27.19MB 70468f3fc5f6 Downloading [=========> ] 1MB/5.136MB 9f1ecb66bc03 Extracting [============================================> ] 24.18MB/27.19MB 70468f3fc5f6 Downloading [===================> ] 2.024MB/5.136MB 4f4fb700ef54 Downloading [==================================================>] 32B/32B 4f4fb700ef54 Verifying Checksum 4f4fb700ef54 Download complete 9f1ecb66bc03 Extracting [==============================================> ] 25.07MB/27.19MB 70468f3fc5f6 Downloading [===============================> ] 3.257MB/5.136MB 70468f3fc5f6 Verifying Checksum 70468f3fc5f6 Download complete 1e04816323ad Download complete 9f1ecb66bc03 Extracting [================================================> ] 26.25MB/27.19MB 9f1ecb66bc03 Extracting [=================================================> ] 27.13MB/27.19MB 9f1ecb66bc03 Extracting [==================================================>] 27.19MB/27.19MB 9f1ecb66bc03 Pull complete 70468f3fc5f6 Extracting [> ] 65.54kB/5.136MB 70468f3fc5f6 Extracting [===============================================> ] 4.915MB/5.136MB 70468f3fc5f6 Extracting [==================================================>] 5.136MB/5.136MB 70468f3fc5f6 Pull complete 0546f789e4b6 Extracting [==================================================>] 4.486kB/4.486kB 0546f789e4b6 Extracting [==================================================>] 4.486kB/4.486kB 0546f789e4b6 Pull complete 192b130d0a1a Downloading [> ] 167.4kB/16.46MB 1e04816323ad Extracting [==================================================>] 139B/139B 1e04816323ad Extracting [==================================================>] 139B/139B 1e04816323ad Pull complete 4f4fb700ef54 Extracting [==================================================>] 32B/32B 4f4fb700ef54 Extracting [==================================================>] 32B/32B 4f4fb700ef54 Pull complete 192b130d0a1a Downloading [==========> ] 3.302MB/16.46MB 4539f31496d3 Downloading [======================================> ] 734B/960B 4539f31496d3 Downloading [==================================================>] 960B/960B 4539f31496d3 Verifying Checksum 4539f31496d3 Download complete 192b130d0a1a Downloading [===================> ] 6.284MB/16.46MB 18289d3b0a22 Downloading [> ] 537.5kB/147.5MB 192b130d0a1a Downloading [=================================> ] 11.06MB/16.46MB 18289d3b0a22 Downloading [> ] 1.619MB/147.5MB 192b130d0a1a Verifying Checksum 192b130d0a1a Download complete 192b130d0a1a Extracting [> ] 196.6kB/16.46MB 192b130d0a1a Extracting [=============================> ] 9.634MB/16.46MB 18289d3b0a22 Downloading [=> ] 3.224MB/147.5MB 192b130d0a1a Extracting [==================================================>] 16.46MB/16.46MB 192b130d0a1a Pull complete 18289d3b0a22 Downloading [=> ] 5.367MB/147.5MB 18289d3b0a22 Downloading [===> ] 9.09MB/147.5MB 18289d3b0a22 Downloading [=====> ] 14.97MB/147.5MB 18289d3b0a22 Downloading [========> ] 24.61MB/147.5MB 18289d3b0a22 Downloading [=============> ] 39.06MB/147.5MB 18289d3b0a22 Downloading [================> ] 49.72MB/147.5MB 18289d3b0a22 Downloading [======================> ] 66.32MB/147.5MB 18289d3b0a22 Downloading [==========================> ] 78.08MB/147.5MB 18289d3b0a22 Downloading [===============================> ] 92.04MB/147.5MB 18289d3b0a22 Downloading [======================================> ] 114.6MB/147.5MB 18289d3b0a22 Downloading [==============================================> ] 137.6MB/147.5MB 18289d3b0a22 Verifying Checksum 18289d3b0a22 Download complete 18289d3b0a22 Extracting [> ] 557.1kB/147.5MB 18289d3b0a22 Extracting [==========> ] 30.08MB/147.5MB 18289d3b0a22 Extracting [====================> ] 59.05MB/147.5MB 18289d3b0a22 Extracting [==============================> ] 88.57MB/147.5MB 18289d3b0a22 Extracting [======================================> ] 114.2MB/147.5MB 18289d3b0a22 Extracting [===============================================> ] 139.8MB/147.5MB 18289d3b0a22 Extracting [==================================================>] 147.5MB/147.5MB 18289d3b0a22 Pull complete 4539f31496d3 Extracting [==================================================>] 960B/960B 4539f31496d3 Extracting [==================================================>] 960B/960B 4539f31496d3 Pull complete relay Pulled Network sentry-self-hosted_default Creating Network sentry-self-hosted_default Created Volume "sentry-self-hosted_sentry-smtp" Creating Volume "sentry-self-hosted_sentry-smtp" Created Volume "sentry-self-hosted_sentry-smtp-log" Creating Volume "sentry-self-hosted_sentry-smtp-log" Created Volume "sentry-self-hosted_sentry-vroom" Creating Volume "sentry-self-hosted_sentry-vroom" Created Volume "sentry-self-hosted_sentry-zookeeper-log" Creating Volume "sentry-self-hosted_sentry-zookeeper-log" Created Volume "sentry-self-hosted_sentry-clickhouse-log" Creating Volume "sentry-self-hosted_sentry-clickhouse-log" Created Volume "sentry-self-hosted_sentry-nginx-cache" Creating Volume "sentry-self-hosted_sentry-nginx-cache" Created Volume "sentry-self-hosted_sentry-secrets" Creating Volume "sentry-self-hosted_sentry-secrets" Created Volume "sentry-self-hosted_sentry-kafka-log" Creating Volume "sentry-self-hosted_sentry-kafka-log" Created exec /bin/bash: exec format error Error in install/ensure-relay-credentials.sh:29. '$creds generate --stdout > "$RELAY_CREDENTIALS_JSON".tmp' exited with status 1 -> ./install.sh:main:26 --> install/ensure-relay-credentials.sh:source:29

Cleaning up...

sudo docker compose logs ubuntu@main:~/self-hosted-23.9.1$ (no logs)



### Event ID

_No response_
burgil commented 1 year ago

I was able to make progress on wsl, ironically, with the same instructions I gave that failed on oracle arm cpus. I initially failed to use wsl because I had an old version of docker so my docker instructions and specifically that: for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done fixed my problem and let me self host sentry.io on windows. In theory. I've yet to test if it works I was just able to progress past this specific issue