Checking minimum requirements…
Removing network onpremise_default
Network onpremise_default not found.
Removing sentry_onpremise_snuba-replacer_1 …
Removing sentry_onpremise_snuba-api_1 …
Removing sentry_onpremise_snuba-outcomes-consumer_1 …
Removing sentry_onpremise_snuba-consumer_1 …
Removing sentry_onpremise_smtp_1 …
Removing sentry_onpremise_postgres_1 …
Removing sentry_onpremise_memcached_1 …
Removing sentry_onpremise_symbolicator_1 …
Removing sentry_onpremise_kafka_1 …
Removing sentry_onpremise_zookeeper_1 …
Removing sentry_onpremise_clickhouse_1 …
Removing sentry_onpremise_redis_1 …
Removing sentry_onpremise_memcached_1 … done
Removing sentry_onpremise_snuba-outcomes-consumer_1 … done
Removing sentry_onpremise_redis_1 … done
Removing sentry_onpremise_zookeeper_1 … done
Removing sentry_onpremise_snuba-api_1 … done
Removing sentry_onpremise_snuba-replacer_1 … done
Removing sentry_onpremise_snuba-consumer_1 … done
Removing sentry_onpremise_symbolicator_1 … done
Removing sentry_onpremise_clickhouse_1 … done
Removing sentry_onpremise_smtp_1 … done
Removing sentry_onpremise_kafka_1 … done
Removing sentry_onpremise_postgres_1 … done
Removing network sentry_onpremise_default
Creating volumes for persistent storage…
Created sentry-data.
Created sentry-postgres.
Created sentry-redis.
Created sentry-zookeeper.
Created sentry-kafka.
Created sentry-clickhouse.
Created sentry-symbolicator.
sentry/sentry.conf.py already exists, skipped creation.
sentry/config.yml already exists, skipped creation.
sentry/requirements.txt already exists, skipped creation.
Fetching and updating Docker images…
10: Pulling from getsentry/sentry
Digest: sha256:65d0c267c5550a5cc9963aefeb3f8e2c5d0b273978c2583d9041950b6a860c9b
Status: Image is up to date for getsentry/sentry:10
docker.io/getsentry/sentry:10
Building and tagging Docker images…
Building web
Step 1/4 : ARG SENTRY_IMAGE
Step 2/4 : FROM ${SENTRY_IMAGE:-getsentry/sentry:latest}
—> 6b45bcae20ee
Step 3/4 : COPY . /usr/src/sentry
—> Using cache
—> 10995c5653ca
Step 4/4 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi
—> Using cache
—> 0109f39524df
Successfully built 0109f39524df
Successfully tagged sentry-onpremise-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
snuba-api uses an image, skipping
snuba-consumer uses an image, skipping
snuba-outcomes-consumer uses an image, skipping
snuba-replacer uses an image, skipping
symbolicator uses an image, skipping
relay uses an image, skipping
nginx uses an image, skipping
Building snuba-cleanup …
Building symbolicator-cleanup …
Building web …
Building cron …
Building worker …
Building ingest-consumer …
Building post-process-forwarder …
Building sentry-cleanup …
Building worker
Building symbolicator-cleanup
Building post-process-forwarder
Building sentry-cleanup
Building snuba-cleanup
Step 1/5 : ARG BASE_IMAGE
Step 2/5 : FROM ${BASE_IMAGE}
—> 57db16cc1c18
Step 3/5 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
—> Using cache
—> 5e13a9c160a8
Step 4/5 : COPY entrypoint.sh /entrypoint.sh
—> Using cache
—> ae8307173827
Step 5/5 : ENTRYPOINT ["/entrypoint.sh"]
—> Using cache
—> fe78ce93b786
Successfully built fe78ce93b786
Step 1/5 : ARG BASE_IMAGE
Step 2/5 : FROM {BASE_IMAGE}
Step 1/4 : ARG SENTRY_IMAGE
Step 2/4 : FROM {SENTRY_IMAGE:-getsentry/sentry:latest}
Step 1/5 : ARG BASE_IMAGE
Step 1/4 : ARG SENTRY_IMAGEStep 2/5 : FROM ${BASE_IMAGE}
Step 2/4 : FROM ${SENTRY_IMAGE:-getsentry/sentry:latest}
Successfully tagged symbolicator-cleanup-onpremise-local:latest
—> 6b45bcae20ee
—> 0109f39524df
—> fb0cfb519e2f
Step 3/4 : COPY . /usr/src/sentryStep 3/5 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/* —> 6b45bcae20ee
Building web
Building symbolicator-cleanup … done
Step 3/5 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
Step 3/4 : COPY . /usr/src/sentry
—> Using cache
—> Using cache
—> 10995c5653ca
—> f611a0795085
Step 4/4 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi
Step 4/5 : COPY entrypoint.sh /entrypoint.sh —> Using cache
—> Using cache
—> 10995c5653ca
Step 4/4 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi —> 70bd5a79b5e7
—> Using cache
Step 4/5 : COPY entrypoint.sh /entrypoint.sh —> 0109f39524df
Successfully built 0109f39524df
—> Using cache
—> ccea48460b41
Step 5/5 : ENTRYPOINT ["/entrypoint.sh"]
Step 1/4 : ARG SENTRY_IMAGE
Step 2/4 : FROM ${SENTRY_IMAGE:-getsentry/sentry:latest}
—> Using cache
—> Using cache
—> 0109f39524df
—> 7fe8293e7cc5
Step 5/5 : ENTRYPOINT ["/entrypoint.sh"]
Successfully built 0109f39524df
—> Using cache
—> Using cache
—> 6b45bcae20ee
—> 19ae48cf8daf
—> a57d87cc869b
Successfully tagged sentry-onpremise-local:latest
Building worker … done
Building ingest-consumer
Successfully built 19ae48cf8daf
Successfully built a57d87cc869b
Step 3/4 : COPY . /usr/src/sentry
Step 1/4 : ARG SENTRY_IMAGE
Step 2/4 : FROM ${SENTRY_IMAGE:-getsentry/sentry:latest}
Successfully tagged sentry-onpremise-local:latest
Successfully tagged snuba-cleanup-onpremise-local:latest
—> Using cache
Building post-process-forwarder … done
Successfully tagged sentry-cleanup-onpremise-local:latest
Building cron
—> 10995c5653ca
Building snuba-cleanup … done
Building sentry-cleanup … done
—> 6b45bcae20ee
Step 4/4 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fiStep 3/4 : COPY . /usr/src/sentry
—> Using cache
—> 0109f39524df
Successfully built 0109f39524df
—> Using cache
—> 10995c5653ca
Step 4/4 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi
Successfully tagged sentry-onpremise-local:latest
—> Using cache
—> 0109f39524df
Building web … done
Successfully built 0109f39524df
Step 1/4 : ARG SENTRY_IMAGE
Step 2/4 : FROM ${SENTRY_IMAGE:-getsentry/sentry:latest}
—> 6b45bcae20ee
Successfully tagged sentry-onpremise-local:latest
Step 3/4 : COPY . /usr/src/sentry
Building ingest-consumer … done
—> Using cache
—> 10995c5653ca
Step 4/4 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi
—> Using cache
—> 0109f39524df
Successfully built 0109f39524df
Successfully tagged sentry-onpremise-local:latest
Building cron … done
Docker images built.
Bootstrapping Snuba…
Creating network “sentry_onpremise_default” with the default driver
Creating sentry_onpremise_redis_1 …
Creating sentry_onpremise_zookeeper_1 …
Creating sentry_onpremise_clickhouse_1 …
Creating sentry_onpremise_redis_1 … done
Creating sentry_onpremise_zookeeper_1 … done
Creating sentry_onpremise_kafka_1 …
Creating sentry_onpremise_clickhouse_1 … done
Creating sentry_onpremise_kafka_1 … done
- ‘[’ b = - ‘]’
- snuba bootstrap --help
- set – snuba bootstrap --force
- set gosu snuba snuba bootstrap --force
- exec gosu snuba snuba bootstrap --force
2020-05-13 07:40:07,951 Connection to Kafka failed (attempt 0)
Traceback (most recent call last):
File “/usr/src/snuba/snuba/cli/bootstrap.py”, line 56, in bootstrap
client.list_topics(timeout=1)
cimpl.KafkaException: KafkaError{code=_TRANSPORT,val=-195,str=“Failed to get metadata: Local: Broker transport failure”}
2020-05-13 07:40:09,955 Connection to Kafka failed (attempt 1)
Traceback (most recent call last):
File “/usr/src/snuba/snuba/cli/bootstrap.py”, line 56, in bootstrap
client.list_topics(timeout=1)
cimpl.KafkaException: KafkaError{code=_TRANSPORT,val=-195,str=“Failed to get metadata: Local: Broker transport failure”}
2020-05-13 07:40:11,087 Failed to create topic events
Traceback (most recent call last):
File “/usr/src/snuba/snuba/cli/bootstrap.py”, line 92, in bootstrap
future.result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 435, in result
return self.__get_result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 384, in __get_result
raise self._exception
cimpl.KafkaException: KafkaError{code=TOPIC_ALREADY_EXISTS,val=36,str=“Topic ‘events’ already exists.”}
2020-05-13 07:40:11,087 Failed to create topic errors-replacements
Traceback (most recent call last):
File “/usr/src/snuba/snuba/cli/bootstrap.py”, line 92, in bootstrap
future.result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 428, in result
return self.__get_result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 384, in __get_result
raise self._exception
cimpl.KafkaException: KafkaError{code=TOPIC_ALREADY_EXISTS,val=36,str=“Topic ‘errors-replacements’ already exists.”}
2020-05-13 07:40:11,088 Failed to create topic cdc
Traceback (most recent call last):
File “/usr/src/snuba/snuba/cli/bootstrap.py”, line 92, in bootstrap
future.result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 428, in result
return self.__get_result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 384, in __get_result
raise self._exception
cimpl.KafkaException: KafkaError{code=TOPIC_ALREADY_EXISTS,val=36,str=“Topic ‘cdc’ already exists.”}
2020-05-13 07:40:11,088 Failed to create topic outcomes
Traceback (most recent call last):
File “/usr/src/snuba/snuba/cli/bootstrap.py”, line 92, in bootstrap
future.result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 428, in result
return self.__get_result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 384, in __get_result
raise self._exception
cimpl.KafkaException: KafkaError{code=TOPIC_ALREADY_EXISTS,val=36,str=“Topic ‘outcomes’ already exists.”}
2020-05-13 07:40:11,088 Failed to create topic ingest-sessions
Traceback (most recent call last):
File “/usr/src/snuba/snuba/cli/bootstrap.py”, line 92, in bootstrap
future.result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 428, in result
return self.__get_result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 384, in __get_result
raise self._exception
cimpl.KafkaException: KafkaError{code=TOPIC_ALREADY_EXISTS,val=36,str=“Topic ‘ingest-sessions’ already exists.”}
2020-05-13 07:40:11,088 Failed to create topic event-replacements
Traceback (most recent call last):
File “/usr/src/snuba/snuba/cli/bootstrap.py”, line 92, in bootstrap
future.result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 428, in result
return self.__get_result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 384, in __get_result
raise self._exception
cimpl.KafkaException: KafkaError{code=TOPIC_ALREADY_EXISTS,val=36,str=“Topic ‘event-replacements’ already exists.”}
2020-05-13 07:40:11,088 Failed to create topic snuba-commit-log
Traceback (most recent call last):
File “/usr/src/snuba/snuba/cli/bootstrap.py”, line 92, in bootstrap
future.result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 428, in result
return self.__get_result()
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 384, in __get_result
raise self._exception
cimpl.KafkaException: KafkaError{code=TOPIC_ALREADY_EXISTS,val=36,str=“Topic ‘snuba-commit-log’ already exists.”}
2020-05-13 07:40:11,131 Tables for dataset events_migration created.
2020-05-13 07:40:11,138 Tables for dataset groupassignee created.
2020-05-13 07:40:11,148 Tables for dataset outcomes created.
2020-05-13 07:40:11,177 Tables for dataset discover created.
2020-05-13 07:40:11,191 Tables for dataset sessions created.
2020-05-13 07:40:11,195 Tables for dataset outcomes_raw created.
2020-05-13 07:40:11,203 Tables for dataset groupedmessage created.
2020-05-13 07:40:11,218 Tables for dataset transactions created.
2020-05-13 07:40:11,255 Tables for dataset events created.
Starting sentry_onpremise_zookeeper_1 …
Starting sentry_onpremise_zookeeper_1 … done
Starting sentry_onpremise_clickhouse_1 …
Starting sentry_onpremise_clickhouse_1 … done
Starting sentry_onpremise_redis_1 …
Starting sentry_onpremise_redis_1 … done
Starting sentry_onpremise_kafka_1 …
Starting sentry_onpremise_kafka_1 … done - ‘[’ m = - ‘]’
- snuba migrate --help
- set – snuba migrate
- set gosu snuba snuba migrate
- exec gosu snuba snuba migrate
2020-05-13 07:40:19,251 Migrating dataset outcomes_raw
2020-05-13 07:40:19,266 Migrating dataset events_migration
2020-05-13 07:40:19,291 Migrating dataset groupedmessage
2020-05-13 07:40:19,297 Migrating dataset events
2020-05-13 07:40:19,336 Migrating dataset discover
2020-05-13 07:40:19,360 Migrating dataset outcomes
2020-05-13 07:40:19,368 Migrating dataset sessions
2020-05-13 07:40:19,379 Migrating dataset transactions
2020-05-13 07:40:19,392 Migrating dataset groupassignee
Setting up database…
Creating sentry_onpremise_symbolicator_1 …
Creating sentry_onpremise_postgres_1 …
Starting sentry_onpremise_redis_1 …
Starting sentry_onpremise_redis_1 … done
Creating sentry_onpremise_smtp_1 …
Creating sentry_onpremise_memcached_1 …
Starting sentry_onpremise_clickhouse_1 …
Starting sentry_onpremise_zookeeper_1 …
Starting sentry_onpremise_clickhouse_1 … done
Starting sentry_onpremise_zookeeper_1 … done
Starting sentry_onpremise_kafka_1 …
Starting sentry_onpremise_kafka_1 … done
Creating sentry_onpremise_snuba-outcomes-consumer_1 …
Creating sentry_onpremise_snuba-consumer_1 …
Creating sentry_onpremise_snuba-api_1 …
Creating sentry_onpremise_snuba-replacer_1 …
Creating sentry_onpremise_smtp_1 … done
Creating sentry_onpremise_snuba-consumer_1 … done
Creating sentry_onpremise_postgres_1 … done
Creating sentry_onpremise_symbolicator_1 … done
Creating sentry_onpremise_snuba-replacer_1 … done
Creating sentry_onpremise_snuba-outcomes-consumer_1 … done
Creating sentry_onpremise_snuba-api_1 … done
Creating sentry_onpremise_memcached_1 … done
upgrade: 1: exec: /etc/sentry/docker-entrypoint.sh: not found
Cleaning up…
i want to install sentry, but i cant…
plz help me… ToT