Skip to content

Instantly share code, notes, and snippets.

@Cloud-Mak
Created March 30, 2023 08:51
Show Gist options
  • Save Cloud-Mak/4b1a4033766070deb561960ea4245f64 to your computer and use it in GitHub Desktop.
Save Cloud-Mak/4b1a4033766070deb561960ea4245f64 to your computer and use it in GitHub Desktop.
install.sh - sentry
dukaan@sentry:~/self-hosted-22.6.0$ sudo ./install.sh
▶ Parsing command line ...
▶ Initializing Docker Compose ...
▶ Setting up error handling ...
▶ Checking for latest commit ...
skipped
▶ Checking minimum requirements ...
Found Docker version 20.10.17
Found Docker Compose version 1.29.2
▶ Turning things off ...
Stopping sentry-self-hosted_nginx_1 ...
Stopping sentry-self-hosted_relay_1 ...
Stopping sentry-self-hosted_subscription-consumer-events_1 ...
Stopping sentry-self-hosted_post-process-forwarder_1 ...
Stopping sentry-self-hosted_ingest-consumer_1 ...
Stopping sentry-self-hosted_web_1 ...
Stopping sentry-self-hosted_worker_1 ...
Stopping sentry-self-hosted_sentry-cleanup_1 ...
Stopping sentry-self-hosted_cron_1 ...
Stopping sentry-self-hosted_subscription-consumer-transactions_1 ...
Stopping sentry-self-hosted_snuba-transactions-cleanup_1 ...
Stopping sentry-self-hosted_snuba-cleanup_1 ...
Stopping sentry-self-hosted_symbolicator-cleanup_1 ...
Stopping sentry-self-hosted_snuba-sessions-consumer_1 ...
Stopping sentry-self-hosted_snuba-transactions-consumer_1 ...
Stopping sentry-self-hosted_snuba-subscription-consumer-events_1 ...
Stopping sentry-self-hosted_snuba-subscription-consumer-transactions_1 ...
Stopping sentry-self-hosted_snuba-outcomes-consumer_1 ...
Stopping sentry-self-hosted_snuba-api_1 ...
Stopping sentry-self-hosted_snuba-consumer_1 ...
Stopping sentry-self-hosted_snuba-replacer_1 ...
Stopping sentry-self-hosted_postgres_1 ...
Stopping sentry-self-hosted_symbolicator_1 ...
Stopping sentry-self-hosted_memcached_1 ...
Stopping sentry-self-hosted_smtp_1 ...
Stopping sentry-self-hosted_kafka_1 ...
Stopping sentry-self-hosted_clickhouse_1 ...
Stopping sentry-self-hosted_zookeeper_1 ...
Stopping sentry-self-hosted_redis_1 ...
Stopping sentry-self-hosted_subscription-consumer-events_1 ... done
Stopping sentry-self-hosted_subscription-consumer-transactions_1 ... done
Stopping sentry-self-hosted_post-process-forwarder_1 ... done
Stopping sentry-self-hosted_nginx_1 ... done
Stopping sentry-self-hosted_ingest-consumer_1 ... done
Stopping sentry-self-hosted_cron_1 ... done
Stopping sentry-self-hosted_worker_1 ... done
Stopping sentry-self-hosted_relay_1 ... done
Stopping sentry-self-hosted_web_1 ... done
Stopping sentry-self-hosted_snuba-cleanup_1 ... done
Stopping sentry-self-hosted_snuba-transactions-cleanup_1 ... done
Stopping sentry-self-hosted_symbolicator-cleanup_1 ... done
Stopping sentry-self-hosted_sentry-cleanup_1 ... done
Stopping sentry-self-hosted_snuba-outcomes-consumer_1 ... done
Stopping sentry-self-hosted_smtp_1 ... done
Stopping sentry-self-hosted_snuba-subscription-consumer-transactions_1 ... done
Stopping sentry-self-hosted_postgres_1 ... done
Stopping sentry-self-hosted_snuba-sessions-consumer_1 ... done
Stopping sentry-self-hosted_snuba-consumer_1 ... done
Stopping sentry-self-hosted_snuba-transactions-consumer_1 ... done
Stopping sentry-self-hosted_snuba-replacer_1 ... done
Stopping sentry-self-hosted_snuba-subscription-consumer-events_1 ... done
Stopping sentry-self-hosted_memcached_1 ... done
Stopping sentry-self-hosted_snuba-api_1 ... done
Stopping sentry-self-hosted_clickhouse_1 ... done
Stopping sentry-self-hosted_kafka_1 ... done
Stopping sentry-self-hosted_zookeeper_1 ... done
Stopping sentry-self-hosted_symbolicator_1 ... done
Stopping sentry-self-hosted_redis_1 ... done
Removing sentry-self-hosted_nginx_1 ...
Removing sentry-self-hosted_relay_1 ...
Removing sentry-self-hosted_subscription-consumer-events_1 ...
Removing sentry-self-hosted_post-process-forwarder_1 ...
Removing sentry-self-hosted_ingest-consumer_1 ...
Removing sentry-self-hosted_web_1 ...
Removing sentry-self-hosted_worker_1 ...
Removing sentry-self-hosted_sentry-cleanup_1 ...
Removing sentry-self-hosted_cron_1 ...
Removing sentry-self-hosted_subscription-consumer-transactions_1 ...
Removing sentry-self-hosted_snuba-transactions-cleanup_1 ...
Removing sentry-self-hosted_snuba-cleanup_1 ...
Removing sentry-self-hosted_geoipupdate_1 ...
Removing sentry-self-hosted_symbolicator-cleanup_1 ...
Removing sentry-self-hosted_snuba-sessions-consumer_1 ...
Removing sentry-self-hosted_snuba-transactions-consumer_1 ...
Removing sentry-self-hosted_snuba-subscription-consumer-events_1 ...
Removing sentry-self-hosted_snuba-subscription-consumer-transactions_1 ...
Removing sentry-self-hosted_snuba-outcomes-consumer_1 ...
Removing sentry-self-hosted_snuba-api_1 ...
Removing sentry-self-hosted_snuba-consumer_1 ...
Removing sentry-self-hosted_snuba-replacer_1 ...
Removing sentry-self-hosted_postgres_1 ...
Removing sentry-self-hosted_symbolicator_1 ...
Removing sentry-self-hosted_memcached_1 ...
Removing sentry-self-hosted_smtp_1 ...
Removing sentry-self-hosted_kafka_1 ...
Removing sentry-self-hosted_clickhouse_1 ...
Removing sentry-self-hosted_zookeeper_1 ...
Removing sentry-self-hosted_redis_1 ...
Removing sentry-self-hosted_symbolicator_1 ... done
Removing sentry-self-hosted_nginx_1 ... done
Removing sentry-self-hosted_subscription-consumer-events_1 ... done
Removing sentry-self-hosted_memcached_1 ... done
Removing sentry-self-hosted_kafka_1 ... done
Removing sentry-self-hosted_snuba-subscription-consumer-transactions_1 ... done
Removing sentry-self-hosted_subscription-consumer-transactions_1 ... done
Removing sentry-self-hosted_snuba-api_1 ... done
Removing sentry-self-hosted_relay_1 ... done
Removing sentry-self-hosted_snuba-replacer_1 ... done
Removing sentry-self-hosted_postgres_1 ... done
Removing sentry-self-hosted_snuba-consumer_1 ... done
Removing sentry-self-hosted_redis_1 ... done
Removing sentry-self-hosted_snuba-sessions-consumer_1 ... done
Removing sentry-self-hosted_web_1 ... done
Removing sentry-self-hosted_symbolicator-cleanup_1 ... done
Removing sentry-self-hosted_snuba-outcomes-consumer_1 ... done
Removing sentry-self-hosted_geoipupdate_1 ... done
Removing sentry-self-hosted_snuba-transactions-cleanup_1 ... done
Removing sentry-self-hosted_sentry-cleanup_1 ... done
Removing sentry-self-hosted_clickhouse_1 ... done
Removing sentry-self-hosted_ingest-consumer_1 ... done
Removing sentry-self-hosted_snuba-cleanup_1 ... done
Removing sentry-self-hosted_smtp_1 ... done
Removing sentry-self-hosted_snuba-subscription-consumer-events_1 ... done
Removing sentry-self-hosted_snuba-transactions-consumer_1 ... done
Removing sentry-self-hosted_zookeeper_1 ... done
Removing sentry-self-hosted_worker_1 ... done
Removing sentry-self-hosted_post-process-forwarder_1 ... done
Removing sentry-self-hosted_cron_1 ... done
Removing network sentry-self-hosted_default
Removing network sentry_onpremise_default
Network sentry_onpremise_default not found.
▶ 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 ...
../sentry/sentry.conf.py already exists, skipped creation.
../sentry/config.yml already exists, skipped creation.
../symbolicator/config.yml already exists, skipped creation.
▶ Ensuring Relay credentials ...
../relay/config.yml already exists, skipped creation.
../relay/credentials.json already exists, skipped creation.
▶ Generating secret key ...
▶ Replacing TSDB ...
▶ Fetching and updating Docker images ...
Some service image(s) must be built from source by running:
docker-compose build worker web symbolicator-cleanup sentry-cleanup ingest-consumer snuba-cleanup subscription-consumer-transactions cron post-process-forwarder snuba-transactions-cleanup subscription-consumer-events
nightly: Pulling from getsentry/sentry
Digest: sha256:8707f0abe013761cc6739c9f9adad97d6c52615931197ca77ebd72d98eb0f901
Status: Image is up to date for getsentry/sentry:nightly
docker.io/getsentry/sentry:nightly
▶ Building and tagging Docker images ...
Building web
Sending build context to Docker daemon 31.74kB
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : FROM ${SENTRY_IMAGE}
---> 1a1c87dcfd82
Step 3/5 : COPY . /usr/src/sentry
---> Using cache
---> 3ad9af22bb52
Step 4/5 : RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then /usr/src/sentry/enhance-image.sh; fi
---> Using cache
---> 869fa2b6303f
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://github.com/getsentry/self-hosted#enhance-sentry-image"; pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> bfe7139afb4a
Successfully built bfe7139afb4a
Successfully tagged sentry-self-hosted-local:latest
smtp uses an image, skipping
memcached uses an image, skipping
redis uses an image, skipping
postgres uses an image, skipping
zookeeper uses an image, skipping
kafka uses an image, skipping
clickhouse uses an image, skipping
geoipupdate uses an image, skipping
snuba-api uses an image, skipping
snuba-consumer uses an image, skipping
snuba-outcomes-consumer uses an image, skipping
snuba-sessions-consumer uses an image, skipping
snuba-transactions-consumer uses an image, skipping
snuba-replacer uses an image, skipping
snuba-subscription-consumer-events uses an image, skipping
snuba-subscription-consumer-transactions uses an image, skipping
symbolicator uses an image, skipping
relay uses an image, skipping
nginx uses an image, skipping
Building snuba-cleanup
Sending build context to Docker daemon 3.584kB
Step 1/6 : ARG BASE_IMAGE
Step 2/6 : FROM ${BASE_IMAGE}
---> d4dc659215b9
Step 3/6 : USER 0
---> Using cache
---> 27de72229eb5
Step 4/6 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
---> Using cache
---> f879610f7669
Step 5/6 : COPY entrypoint.sh /entrypoint.sh
---> Using cache
---> c581410ab6ee
Step 6/6 : ENTRYPOINT ["/entrypoint.sh"]
---> Using cache
---> 430462344323
Successfully built 430462344323
Successfully tagged snuba-cleanup-self-hosted-local:latest
Building snuba-transactions-cleanup
Sending build context to Docker daemon 3.584kB
Step 1/6 : ARG BASE_IMAGE
Step 2/6 : FROM ${BASE_IMAGE}
---> d4dc659215b9
Step 3/6 : USER 0
---> Using cache
---> 27de72229eb5
Step 4/6 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
---> Using cache
---> f879610f7669
Step 5/6 : COPY entrypoint.sh /entrypoint.sh
---> Using cache
---> c581410ab6ee
Step 6/6 : ENTRYPOINT ["/entrypoint.sh"]
---> Using cache
---> 430462344323
Successfully built 430462344323
Successfully tagged snuba-cleanup-self-hosted-local:latest
Building symbolicator-cleanup
Sending build context to Docker daemon 3.584kB
Step 1/6 : ARG BASE_IMAGE
Step 2/6 : FROM ${BASE_IMAGE}
---> 930df4461051
Step 3/6 : USER 0
---> Using cache
---> 04839d2a76ff
Step 4/6 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
---> Using cache
---> 1784fb461e80
Step 5/6 : COPY entrypoint.sh /entrypoint.sh
---> Using cache
---> 61abb6a336a4
Step 6/6 : ENTRYPOINT ["/entrypoint.sh"]
---> Using cache
---> 5196b09b2580
Successfully built 5196b09b2580
Successfully tagged symbolicator-cleanup-self-hosted-local:latest
Building web
Sending build context to Docker daemon 31.74kB
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : FROM ${SENTRY_IMAGE}
---> 1a1c87dcfd82
Step 3/5 : COPY . /usr/src/sentry
---> Using cache
---> 3ad9af22bb52
Step 4/5 : RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then /usr/src/sentry/enhance-image.sh; fi
---> Using cache
---> 869fa2b6303f
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://github.com/getsentry/self-hosted#enhance-sentry-image"; pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> bfe7139afb4a
Successfully built bfe7139afb4a
Successfully tagged sentry-self-hosted-local:latest
Building cron
Sending build context to Docker daemon 31.74kB
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : FROM ${SENTRY_IMAGE}
---> 1a1c87dcfd82
Step 3/5 : COPY . /usr/src/sentry
---> Using cache
---> 3ad9af22bb52
Step 4/5 : RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then /usr/src/sentry/enhance-image.sh; fi
---> Using cache
---> 869fa2b6303f
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://github.com/getsentry/self-hosted#enhance-sentry-image"; pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> bfe7139afb4a
Successfully built bfe7139afb4a
Successfully tagged sentry-self-hosted-local:latest
Building worker
Sending build context to Docker daemon 31.74kB
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : FROM ${SENTRY_IMAGE}
---> 1a1c87dcfd82
Step 3/5 : COPY . /usr/src/sentry
---> Using cache
---> 3ad9af22bb52
Step 4/5 : RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then /usr/src/sentry/enhance-image.sh; fi
---> Using cache
---> 869fa2b6303f
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://github.com/getsentry/self-hosted#enhance-sentry-image"; pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> bfe7139afb4a
Successfully built bfe7139afb4a
Successfully tagged sentry-self-hosted-local:latest
Building ingest-consumer
Sending build context to Docker daemon 31.74kB
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : FROM ${SENTRY_IMAGE}
---> 1a1c87dcfd82
Step 3/5 : COPY . /usr/src/sentry
---> Using cache
---> 3ad9af22bb52
Step 4/5 : RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then /usr/src/sentry/enhance-image.sh; fi
---> Using cache
---> 869fa2b6303f
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://github.com/getsentry/self-hosted#enhance-sentry-image"; pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> bfe7139afb4a
Successfully built bfe7139afb4a
Successfully tagged sentry-self-hosted-local:latest
Building post-process-forwarder
Sending build context to Docker daemon 31.74kB
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : FROM ${SENTRY_IMAGE}
---> 1a1c87dcfd82
Step 3/5 : COPY . /usr/src/sentry
---> Using cache
---> 3ad9af22bb52
Step 4/5 : RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then /usr/src/sentry/enhance-image.sh; fi
---> Using cache
---> 869fa2b6303f
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://github.com/getsentry/self-hosted#enhance-sentry-image"; pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> bfe7139afb4a
Successfully built bfe7139afb4a
Successfully tagged sentry-self-hosted-local:latest
Building subscription-consumer-events
Sending build context to Docker daemon 31.74kB
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : FROM ${SENTRY_IMAGE}
---> 1a1c87dcfd82
Step 3/5 : COPY . /usr/src/sentry
---> Using cache
---> 3ad9af22bb52
Step 4/5 : RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then /usr/src/sentry/enhance-image.sh; fi
---> Using cache
---> 869fa2b6303f
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://github.com/getsentry/self-hosted#enhance-sentry-image"; pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> bfe7139afb4a
Successfully built bfe7139afb4a
Successfully tagged sentry-self-hosted-local:latest
Building subscription-consumer-transactions
Sending build context to Docker daemon 31.74kB
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : FROM ${SENTRY_IMAGE}
---> 1a1c87dcfd82
Step 3/5 : COPY . /usr/src/sentry
---> Using cache
---> 3ad9af22bb52
Step 4/5 : RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then /usr/src/sentry/enhance-image.sh; fi
---> Using cache
---> 869fa2b6303f
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://github.com/getsentry/self-hosted#enhance-sentry-image"; pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> bfe7139afb4a
Successfully built bfe7139afb4a
Successfully tagged sentry-self-hosted-local:latest
Building sentry-cleanup
Sending build context to Docker daemon 3.584kB
Step 1/6 : ARG BASE_IMAGE
Step 2/6 : FROM ${BASE_IMAGE}
---> bfe7139afb4a
Step 3/6 : USER 0
---> Using cache
---> ecf12eb983c7
Step 4/6 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
---> Using cache
---> 085d26f50758
Step 5/6 : COPY entrypoint.sh /entrypoint.sh
---> Using cache
---> 2fc98f119c86
Step 6/6 : ENTRYPOINT ["/entrypoint.sh"]
---> Using cache
---> 4896ca20640f
Successfully built 4896ca20640f
Successfully tagged sentry-cleanup-self-hosted-local:latest
Docker images built.
▶ Setting up Zookeeper ...
Creating network "sentry-self-hosted_default" with the default driver
Creating sentry-self-hosted_zookeeper_run ...
Creating sentry-self-hosted_zookeeper_run ... done
Creating sentry-self-hosted_zookeeper_run ...
Creating sentry-self-hosted_zookeeper_run ... done
Creating sentry-self-hosted_zookeeper_run ...
Creating sentry-self-hosted_zookeeper_run ... done
▶ Downloading and installing wal2json ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5418 100 5418 0 0 13238 0 --:--:-- --:--:-- --:--:-- 13246
▶ Bootstrapping and migrating Snuba ...
Creating sentry-self-hosted_zookeeper_1 ...
Creating sentry-self-hosted_redis_1 ...
Creating sentry-self-hosted_clickhouse_1 ...
Creating sentry-self-hosted_redis_1 ... done
Creating sentry-self-hosted_clickhouse_1 ... done
Creating sentry-self-hosted_zookeeper_1 ... done
Creating sentry-self-hosted_kafka_1 ...
Creating sentry-self-hosted_kafka_1 ... done
Creating sentry-self-hosted_snuba-api_run ...
Creating sentry-self-hosted_snuba-api_run ... done
2023-03-30 08:24:56,729 Initializing Snuba...
2023-03-30 08:24:59,568 Snuba initialization took 2.840455876663327s
2023-03-30 08:25:00,003 Initializing Snuba...
2023-03-30 08:25:02,720 Snuba initialization took 2.7178413718938828s
2023-03-30 08:25:02,721 Attempting to connect to Kafka (attempt 0)...
2023-03-30 08:25:02,829 Connected to Kafka on attempt 0
2023-03-30 08:25:02,830 Creating Kafka topics...
Creating sentry-self-hosted_snuba-api_run ...
Creating sentry-self-hosted_snuba-api_run ... done
2023-03-30 08:25:06,137 Initializing Snuba...
2023-03-30 08:25:08,908 Snuba initialization took 2.7727375645190477s
2023-03-30 08:25:09,308 Initializing Snuba...
2023-03-30 08:25:12,041 Snuba initialization took 2.733394503593445s
Finished running migrations
▶ Creating additional Kafka topics ...
▶ Ensuring proper PostgreSQL version ...
▶ Setting up / migrating database ...
Creating sentry-self-hosted_memcached_1 ...
Creating sentry-self-hosted_symbolicator_1 ...
Creating sentry-self-hosted_smtp_1 ...
Creating sentry-self-hosted_postgres_1 ...
Creating sentry-self-hosted_snuba-outcomes-consumer_1 ...
Creating sentry-self-hosted_snuba-subscription-consumer-transactions_1 ...
Creating sentry-self-hosted_snuba-subscription-consumer-events_1 ...
Creating sentry-self-hosted_snuba-transactions-consumer_1 ...
Creating sentry-self-hosted_snuba-consumer_1 ...
Creating sentry-self-hosted_snuba-replacer_1 ...
Creating sentry-self-hosted_snuba-api_1 ...
Creating sentry-self-hosted_snuba-sessions-consumer_1 ...
Creating sentry-self-hosted_snuba-outcomes-consumer_1 ... done
Creating sentry-self-hosted_snuba-subscription-consumer-transactions_1 ... done
Creating sentry-self-hosted_memcached_1 ... done
Creating sentry-self-hosted_snuba-subscription-consumer-events_1 ... done
Creating sentry-self-hosted_postgres_1 ... done
Creating sentry-self-hosted_snuba-transactions-consumer_1 ... done
Creating sentry-self-hosted_snuba-consumer_1 ... done
Creating sentry-self-hosted_snuba-replacer_1 ... done
Creating sentry-self-hosted_symbolicator_1 ... done
Creating sentry-self-hosted_snuba-sessions-consumer_1 ... done
Creating sentry-self-hosted_snuba-api_1 ... done
Creating sentry-self-hosted_smtp_1 ... done
Creating sentry-self-hosted_web_run ...
Creating sentry-self-hosted_web_run ... done
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
08:25:57 [WARNING] sentry.services.hybrid_cloud.rpc: Error on parameter model for UserService.get_many: You should use `typing_extensions.TypedDict` instead of `typing.TypedDict` with Python < 3.9.2. Without it, there is no way to differentiate required and optional fields when subclassed.
08:25:57 [WARNING] sentry.services.hybrid_cloud.rpc: Error on parameter model for UserService.serialize_many: You should use `typing_extensions.TypedDict` instead of `typing.TypedDict` with Python < 3.9.2. Without it, there is no way to differentiate required and optional fields when subclassed.
08:25:57 [WARNING] sentry.services.hybrid_cloud.rpc: Error on parameter model for UserService.update_user: You should use `typing_extensions.TypedDict` instead of `typing.TypedDict` with Python < 3.9.2. Without it, there is no way to differentiate required and optional fields when subclassed.
08:25:58 [WARNING] sentry.services.hybrid_cloud.rpc: Error on parameter model for AppService.get_many: You should use `typing_extensions.TypedDict` instead of `typing.TypedDict` with Python < 3.9.2. Without it, there is no way to differentiate required and optional fields when subclassed.
08:25:58 [WARNING] sentry.services.hybrid_cloud.rpc: Error on parameter model for AppService.serialize_many: You should use `typing_extensions.TypedDict` instead of `typing.TypedDict` with Python < 3.9.2. Without it, there is no way to differentiate required and optional fields when subclassed.
08:25:58 [WARNING] sentry.services.hybrid_cloud.rpc: Error on parameter model for IntegrationService.page_integration_ids: unsupported operand type(s) for |: 'type' and 'NoneType'
08:25:58 [WARNING] sentry.services.hybrid_cloud.rpc: Error on parameter model for IntegrationService.page_organization_integrations_ids: unsupported operand type(s) for |: 'type' and 'NoneType'
08:25:58 [WARNING] sentry.services.hybrid_cloud.rpc: Error on parameter model for AuthService.handle_new_membership: no validator found for <class 'rest_framework.request.Request'>, see `arbitrary_types_allowed` in Config
08:25:58 [WARNING] sentry.services.hybrid_cloud.rpc: Error on parameter model for AuthService.token_has_org_access: non-default argument 'allowed_origins' follows default argument
08:25:58 [WARNING] sentry.services.hybrid_cloud.rpc: Error on parameter model for UserOptionService.get_many: You should use `typing_extensions.TypedDict` instead of `typing.TypedDict` with Python < 3.9.2. Without it, there is no way to differentiate required and optional fields when subclassed.
08:25:58 [WARNING] sentry.services.hybrid_cloud.rpc: Error on parameter model for UserOptionService.serialize_many: You should use `typing_extensions.TypedDict` instead of `typing.TypedDict` with Python < 3.9.2. Without it, there is no way to differentiate required and optional fields when subclassed.
08:26:00 [WARNING] sentry.services.hybrid_cloud.rpc: Error on parameter model for OrganizationMappingService.create: no validator found for <class 'sentry.models.user.User'>, see `arbitrary_types_allowed` in Config
08:26:00 [WARNING] sentry.services.hybrid_cloud.rpc: Error on parameter model for OrganizationMappingService.update: You should use `typing_extensions.TypedDict` instead of `typing.TypedDict` with Python < 3.9.2. Without it, there is no way to differentiate required and optional fields when subclassed.
08:26:00 [INFO] sentry.plugins.github: apps-not-configured
Running migrations for default
Operations to perform:
Apply all migrations: admin, auth, contenttypes, nodestore, replays, sentry, sessions, sites, social_auth
Running migrations:
No migrations to apply.
Creating missing DSNs
Correcting Group.num_comments counter
▶ Migrating file storage ...
▶ Setting up GeoIP integration ...
Setting up IP address geolocation ...
IP address geolocation database already exists.
IP address geolocation is not configured for updates.
See https://develop.sentry.dev/self-hosted/geolocation/ for instructions.
Error setting up IP address geolocation.
-----------------------------------------------------------------
You're all done! Run the following command to get Sentry running:
docker-compose up -d
-----------------------------------------------------------------
dukaan@sentry:~/self-hosted-22.6.0$ sudo docker-compose up -d
Starting sentry-self-hosted_smtp_1 ... done
Starting sentry-self-hosted_postgres_1 ... done
Starting sentry-self-hosted_symbolicator_1 ... done
Starting sentry-self-hosted_memcached_1 ... done
Creating sentry-self-hosted_symbolicator-cleanup_1 ... done
Starting sentry-self-hosted_clickhouse_1 ... done
Starting sentry-self-hosted_zookeeper_1 ... done
Starting sentry-self-hosted_redis_1 ... done
Creating sentry-self-hosted_geoipupdate_1 ... done
Starting sentry-self-hosted_kafka_1 ... done
Creating sentry-self-hosted_snuba-transactions-cleanup_1 ... done
Starting sentry-self-hosted_snuba-subscription-consumer-transactions_1 ... done
Starting sentry-self-hosted_snuba-api_1 ... done
Starting sentry-self-hosted_snuba-transactions-consumer_1 ... done
Starting sentry-self-hosted_snuba-subscription-consumer-events_1 ... done
Starting sentry-self-hosted_snuba-sessions-consumer_1 ... done
Starting sentry-self-hosted_snuba-outcomes-consumer_1 ... done
Starting sentry-self-hosted_snuba-replacer_1 ... done
Starting sentry-self-hosted_snuba-consumer_1 ... done
Creating sentry-self-hosted_snuba-cleanup_1 ... done
Creating sentry-self-hosted_worker_1 ... done
Creating sentry-self-hosted_cron_1 ... done
Creating sentry-self-hosted_web_1 ... done
Creating sentry-self-hosted_subscription-consumer-transactions_1 ... done
Creating sentry-self-hosted_subscription-consumer-events_1 ... done
Creating sentry-self-hosted_sentry-cleanup_1 ... done
Creating sentry-self-hosted_post-process-forwarder_1 ... done
Creating sentry-self-hosted_ingest-consumer_1 ... done
Creating sentry-self-hosted_relay_1 ... done
Creating sentry-self-hosted_nginx_1 ... done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment