-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Self-Hosted Version
25.6.2
CPU Architecture
x86_64
Docker Version
20.10.24
Docker Compose Version
2.38.2
Machine Specification
- My system meets the minimum system requirements of Sentry
Steps to Reproduce
mkdir /etc/sentry
git clone --branch 25.6.2 --depth 1 https://github.com/getsentry/self-hosted.git /etc/sentry
chmod -R 777 /etc/sentry
cd /etc/sentry
DEBUG =1 ./install.sh --skip-user-creation --no-report-self-hosted-issues --skip-commit-check --skip-sse42-requirements
Expected Result
successful exec ./install.sh
Actual Result
Link with the full output
https://gist.github.com/erycson/899cdc2d8cc3b60488b4a624901d7e66
I want to record some important points that might not appear in the logs:
-
I’m running
./install.sh
inside a container, because I use Windows and.sh
scripts can’t be executed natively. I actually want it to run inside a container for portability, since I have a project that uses Sentry for everything. -
I always have to run the process twice, because on the first run I get the following error:
2025-07-15T11:49:26.714637Z INFO relay_config::config: generating new relay credentials
2025-07-15T11:49:30.158150Z ERROR relay_log::utils: error=no stored credentials
Failed to create relay credentials in relay/credentials.json.
--- credentials.json v ---------------------------------------
{"secret_key":"ASl0qN8XVaOLmDQjvs56SBsRrlLB0Dt5QL6d1kNqVGo","public_key":"a_PbDfiLyH46r5x25sDjvHflrCxB6vhI7i0otfy2kVE","id":"4cd262a4-2545-45fe-a6e4-a77606b48273"}
--- credentials.json ^ ---------------------------------------
- Then I run
./install.sh
again and it proceeds normally until it throws the following error (summarized), which is the reason I opened this issue:
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "/etc/sentry/entrypoint.sh": stat /etc/sentry/entrypoint.sh: no such file or directory: unknown
Error in install/set-up-and-migrate-database.sh:14.
'$dcr web upgrade --noinput --create-kafka-topics' exited with status 1
-> ./install.sh:main:42
--> install/set-up-and-migrate-database.sh:source:14
Event ID
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Status