Closed
Description
Self-Hosted Version
25.3.0
CPU Architecture
x86_64
Docker Version
26.1.3
Docker Compose Version
2.34.0
Machine Specification
- My system meets the minimum system requirements of Sentry
Steps to Reproduce
1、exec ./install.sh
Expected Result
successful exec ./install.sh
Actual Result
[root@localhost sentry]# sudo ./install.sh
...
...
...
Container sentry-self-hosted-redis-1 Healthy
Container sentry-self-hosted-kafka-1 Healthy
Container sentry-self-hosted-snuba-api-1 Starting
Container sentry-self-hosted-memcached-1 Started
Container sentry-self-hosted-symbolicator-1 Started
Container sentry-self-hosted-smtp-1 Started
Container sentry-self-hosted-snuba-api-1 Started
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: exec: "/etc/sentry/entrypoint.sh": permission denied: unknown
Error in install/set-up-and-migrate-database.sh:14.
'$dcr web shell -c "
from django.db import connection
with connection.cursor() as cursor:
cursor.execute('ALTER TABLE IF EXISTS sentry_groupedmessage DROP CONSTRAINT IF EXISTS sentry_groupedmessage_project_id_id_515aaa7e_uniq;')
cursor.execute('DROP INDEX IF EXISTS sentry_groupedmessage_project_id_id_515aaa7e_uniq;')
"' exited with status 1
-> ./install.sh:main:36
--> install/set-up-and-migrate-database.sh:source:14
Cleaning up...
[root@localhost sentry]#
dc-detect-version.sh
if [ "${GITHUB_ACTIONS:-}" = "true" ]; then
_group="::group::"
_endgroup="::endgroup::"
else
_group="▶ "
_endgroup=""
fi
echo "${_group}Initializing Docker Compose ..."
# To support users that are symlinking to docker-compose
# dc_base="$(docker compose version --short &>/dev/null && echo 'docker compose' || echo 'docker-compose')"
dc_base="$(docker-compose version --short &>/dev/null && echo 'docker-compose' || echo 'docker compose')"
dc_base_standalone="$(docker-compose version --short &>/dev/null && echo 'docker-compose' || echo '')"
COMPOSE_VERSION=$([ -n "$dc_base" ] && $dc_base version --short || echo '')
STANDALONE_COMPOSE_VERSION=$([ -n "$dc_base_standalone" ] && $dc_base_standalone version --short &>/dev/null || echo '')
echo "Compose Version: ${COMPOSE_VERSION}"
echo "Standalone Compose Version: ${STANDALONE_COMPOSE_VERSION}"
if [[ -z "$COMPOSE_VERSION" && -z "$STANDALONE_COMPOSE_VERSION" ]]; then
echo "FAIL: Docker Compose is required to run self-hosted"
exit 1
fi
if [[ -z "$COMPOSE_VERSION" ]] || [[ -n "$STANDALONE_COMPOSE_VERSION" ]] && ! vergte ${COMPOSE_VERSION//v/} ${STANDALONE_COMPOSE_VERSION//v/}; then
COMPOSE_VERSION="${STANDALONE_COMPOSE_VERSION}"
dc_base="$dc_base_standalone"
fi
if [[ "$(basename $0)" = "install.sh" ]]; then
dc="$dc_base --ansi never --env-file ${_ENV}"
else
dc="$dc_base --ansi never"
fi
proxy_args="--build-arg http_proxy=${http_proxy:-} --build-arg https_proxy=${https_proxy:-} --build-arg no_proxy=${no_proxy:-}"
dcr="$dc run --pull=never --rm"
dcb="$dc build $proxy_args"
dbuild="docker build $proxy_args"
echo "${_endgroup}"
Event ID
No response
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status
Status
Waiting for: Product Owner