did a fresh install, and can’t get the install.sh to finish installing,
docker: 'compose' is not a docker command.
See 'docker --help'
▶ Parsing command line ...
▶ Setting up error handling ...
▶ Checking minimum requirements ...
docker: 'compose' is not a docker command.
See 'docker --help'
▶ 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.
../sentry/requirements.txt 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 snuba-transactions-cleanup snuba-cleanup symbolicator-cleanup sentry-cleanup
nightly: Pulling from getsentry/sentry
b4d181a07f80: Already exists
de8ecf497b75: Already exists
5dac6597e743: Already exists
84b2aa8486b9: Already exists
efc9186eea59: Already exists
a34fe8ed021a: Already exists
c1ce90cc8e0b: Already exists
a4dab07f0fea: Pulling fs layer
151af99f0d5a: Pulling fs layer
936910ec1afd: Pulling fs layer
3ffe6e722bb8: Pulling fs layer
cc7338984edb: Pulling fs layer
5445450f4a7e: Pulling fs layer
c0882734ff5e: Pulling fs layer
ce5f71c2372b: Pulling fs layer
cc7338984edb: Waiting
5445450f4a7e: Waiting
c0882734ff5e: Waiting
ce5f71c2372b: Waiting
3ffe6e722bb8: Waiting
a4dab07f0fea: Download complete
a4dab07f0fea: Pull complete
3ffe6e722bb8: Verifying Checksum
3ffe6e722bb8: Download complete
cc7338984edb: Verifying Checksum
cc7338984edb: Download complete
5445450f4a7e: Verifying Checksum
5445450f4a7e: Download complete
936910ec1afd: Verifying Checksum
936910ec1afd: Download complete
c0882734ff5e: Verifying Checksum
c0882734ff5e: Download complete
ce5f71c2372b: Download complete
151af99f0d5a: Download complete
151af99f0d5a: Pull complete
936910ec1afd: Pull complete
3ffe6e722bb8: Pull complete
cc7338984edb: Pull complete
5445450f4a7e: Pull complete
c0882734ff5e: Pull complete
ce5f71c2372b: Pull complete
Digest: sha256:aae49ed0f13d0f84e29c1c7169634c1dd55e845a63319a532318b25286fd4724
Status: Downloaded newer image for getsentry/sentry:nightly
docker.io/getsentry/sentry:nightly
▶ Building and tagging Docker images ...
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
web uses an image, skipping
cron uses an image, skipping
worker uses an image, skipping
ingest-consumer uses an image, skipping
post-process-forwarder uses an image, skipping
subscription-consumer-events uses an image, skipping
subscription-consumer-transactions 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/5 : ARG BASE_IMAGE
Step 2/5 : FROM ${BASE_IMAGE}
---> 421782132550
Step 3/5 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
---> Using cache
---> 22cee1e3580d
Step 4/5 : COPY entrypoint.sh /entrypoint.sh
---> Using cache
---> 1a2ea491e209
Step 5/5 : ENTRYPOINT ["/entrypoint.sh"]
---> Using cache
---> f8b0cd75ddd0
Successfully built f8b0cd75ddd0
Successfully tagged snuba-cleanup-onpremise-local:latest
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Building snuba-transactions-cleanup
Sending build context to Docker daemon 3.584kB
Step 1/5 : ARG BASE_IMAGE
Step 2/5 : FROM ${BASE_IMAGE}
---> 421782132550
Step 3/5 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
---> Using cache
---> 22cee1e3580d
Step 4/5 : COPY entrypoint.sh /entrypoint.sh
---> Using cache
---> 1a2ea491e209
Step 5/5 : ENTRYPOINT ["/entrypoint.sh"]
---> Using cache
---> f8b0cd75ddd0
Successfully built f8b0cd75ddd0
Successfully tagged snuba-cleanup-onpremise-local:latest
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Building symbolicator-cleanup
Sending build context to Docker daemon 3.584kB
Step 1/5 : ARG BASE_IMAGE
Step 2/5 : FROM ${BASE_IMAGE}
---> d818fe95aa5e
Step 3/5 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
---> Using cache
---> 077b8ef9e9b8
Step 4/5 : COPY entrypoint.sh /entrypoint.sh
---> Using cache
---> 6e8109ef1d96
Step 5/5 : ENTRYPOINT ["/entrypoint.sh"]
---> Using cache
---> efc7894ff2d3
Successfully built efc7894ff2d3
Successfully tagged symbolicator-cleanup-onpremise-local:latest
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Building sentry-cleanup
Sending build context to Docker daemon 3.584kB
Step 1/5 : ARG BASE_IMAGE
Step 2/5 : FROM ${BASE_IMAGE}
---> 54741f4e0089
Step 3/5 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
---> Running in a8a2f5b6a0d9
Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [309 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7906 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [15.2 kB]
Fetched 8469 kB in 4s (1883 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
lsb-base sensible-utils
Suggested packages:
anacron logrotate checksecurity
Recommended packages:
default-mta | mail-transport-agent
The following NEW packages will be installed:
cron lsb-base sensible-utils
0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded.
Need to get 143 kB of archives.
After this operation, 383 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 sensible-utils all 0.0.12 [15.8 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 lsb-base all 10.2019051400 [28.4 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 cron amd64 3.0pl1-134+deb10u1 [99.0 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 143 kB in 1s (139 kB/s)
Selecting previously unselected package sensible-utils.
(Reading database ... 11935 files and directories currently installed.)
Preparing to unpack .../sensible-utils_0.0.12_all.deb ...
Unpacking sensible-utils (0.0.12) ...
Selecting previously unselected package lsb-base.
Preparing to unpack .../lsb-base_10.2019051400_all.deb ...
Unpacking lsb-base (10.2019051400) ...
Selecting previously unselected package cron.
Preparing to unpack .../cron_3.0pl1-134+deb10u1_amd64.deb ...
Unpacking cron (3.0pl1-134+deb10u1) ...
Setting up lsb-base (10.2019051400) ...
Setting up sensible-utils (0.0.12) ...
Setting up cron (3.0pl1-134+deb10u1) ...
Adding group `crontab' (GID 101) ...
Done.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Removing intermediate container a8a2f5b6a0d9
---> 9106a9f65b31
Step 4/5 : COPY entrypoint.sh /entrypoint.sh
---> 405c2017ba39
Step 5/5 : ENTRYPOINT ["/entrypoint.sh"]
---> Running in 0f2b567cc222
Removing intermediate container 0f2b567cc222
---> 153f7ac5b32b
Successfully built 153f7ac5b32b
Successfully tagged sentry-cleanup-onpremise-local:latest
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Docker images built.
▶ Turning things off ...
Removing network onpremise_default
Network onpremise_default not found.
Removing sentry_onpremise_snuba-subscription-consumer-events_1 ...
Removing sentry_onpremise_snuba-consumer_1 ...
Removing sentry_onpremise_snuba-sessions-consumer_1 ...
Removing sentry_onpremise_snuba-transactions-consumer_1 ...
Removing sentry_onpremise_snuba-subscription-consumer-transactions_1 ...
Removing sentry_onpremise_snuba-replacer_1 ...
Removing sentry_onpremise_snuba-outcomes-consumer_1 ...
Removing sentry_onpremise_snuba-api_1 ...
Removing sentry_onpremise_smtp_1 ...
Removing sentry_onpremise_memcached_1 ...
Removing sentry_onpremise_postgres_1 ...
Removing sentry_onpremise_symbolicator_1 ...
Removing sentry_onpremise_kafka_1 ...
Removing sentry_onpremise_clickhouse_1 ...
Removing sentry_onpremise_zookeeper_1 ...
Removing sentry_onpremise_redis_1 ...
Removing sentry_onpremise_snuba-sessions-consumer_1 ... done
Removing sentry_onpremise_snuba-transactions-consumer_1 ... done
Removing sentry_onpremise_snuba-replacer_1 ... done
Removing sentry_onpremise_snuba-subscription-consumer-events_1 ... done
Removing sentry_onpremise_snuba-consumer_1 ... done
Removing sentry_onpremise_snuba-api_1 ... done
Removing sentry_onpremise_snuba-subscription-consumer-transactions_1 ... done
Removing sentry_onpremise_snuba-outcomes-consumer_1 ... done
Removing sentry_onpremise_clickhouse_1 ... done
Removing sentry_onpremise_kafka_1 ... done
Removing sentry_onpremise_smtp_1 ... done
Removing sentry_onpremise_symbolicator_1 ... done
Removing sentry_onpremise_zookeeper_1 ... done
Removing sentry_onpremise_memcached_1 ... done
Removing sentry_onpremise_redis_1 ... done
Removing sentry_onpremise_postgres_1 ... done
Removing network sentry_onpremise_default
▶ Setting up Zookeeper ...
Creating network "sentry_onpremise_default" with the default driver
Creating sentry_onpremise_zookeeper_run ...
Creating sentry_onpremise_zookeeper_run ... done
Creating sentry_onpremise_zookeeper_run ...
Creating sentry_onpremise_zookeeper_run ... done
Creating sentry_onpremise_zookeeper_run ...
Creating sentry_onpremise_zookeeper_run ... done
▶ Downloading and installing wal2json ...
▶ Bootstrapping and migrating Snuba ...
Creating sentry_onpremise_redis_1 ...
Creating sentry_onpremise_zookeeper_1 ...
Creating sentry_onpremise_clickhouse_1 ...
Creating sentry_onpremise_clickhouse_1 ... done
Creating sentry_onpremise_redis_1 ... done
Creating sentry_onpremise_zookeeper_1 ... done
Creating sentry_onpremise_kafka_1 ...
Creating sentry_onpremise_kafka_1 ... done
Creating sentry_onpremise_snuba-api_run ...
Creating sentry_onpremise_snuba-api_run ... done
2021-10-20 19:24:41,036 Attempting to connect to Kafka (attempt 0)...
2021-10-20 19:24:41,145 Connected to Kafka on attempt 0
2021-10-20 19:24:41,146 Creating Kafka topics...
Creating sentry_onpremise_snuba-api_run ...
Creating sentry_onpremise_snuba-api_run ... done
Finished running migrations
▶ Creating additional Kafka topics ...
▶ Ensuring proper PostgreSQL version ...
▶ Setting up / migrating database ...
Creating sentry_onpremise_postgres_1 ...
Creating sentry_onpremise_smtp_1 ...
Creating sentry_onpremise_symbolicator_1 ...
Creating sentry_onpremise_memcached_1 ...
Creating sentry_onpremise_snuba-replacer_1 ...
Creating sentry_onpremise_snuba-outcomes-consumer_1 ...
Creating sentry_onpremise_snuba-api_1 ...
Creating sentry_onpremise_snuba-consumer_1 ...
Creating sentry_onpremise_snuba-subscription-consumer-transactions_1 ...
Creating sentry_onpremise_snuba-sessions-consumer_1 ...
Creating sentry_onpremise_snuba-transactions-consumer_1 ...
Creating sentry_onpremise_snuba-subscription-consumer-events_1 ...
Creating sentry_onpremise_smtp_1 ... done
Creating sentry_onpremise_snuba-api_1 ... done
Creating sentry_onpremise_memcached_1 ... done
Creating sentry_onpremise_symbolicator_1 ... done
Creating sentry_onpremise_snuba-sessions-consumer_1 ... done
Creating sentry_onpremise_snuba-replacer_1 ... done
Creating sentry_onpremise_postgres_1 ... done
Creating sentry_onpremise_snuba-outcomes-consumer_1 ... done
Creating sentry_onpremise_snuba-subscription-consumer-transactions_1 ... done
Creating sentry_onpremise_snuba-transactions-consumer_1 ... done
Creating sentry_onpremise_snuba-consumer_1 ... done
Creating sentry_onpremise_snuba-subscription-consumer-events_1 ... done
Creating sentry_onpremise_web_run ...
Creating sentry_onpremise_web_run ... done
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Installing additional dependencies...
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
19:25:38 [WARNING] sentry.utils.geo: Error opening GeoIP database: /geoip/GeoLite2-City.mmdb
19:25:38 [WARNING] sentry.utils.geo: Error opening GeoIP database in Rust: /geoip/GeoLite2-City.mmdb
19:32:20 [INFO] sentry.plugins.github: apps-not-configured
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 552, in connect
sock = self._connect()
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 609, in _connect
raise err
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 597, in _connect
sock.connect(socket_address)
TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/sentry/buffer/redis.py", line 64, in validate
client.ping()
File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 1351, in ping
return self.execute_command('PING')
File "/usr/local/lib/python3.6/site-packages/sentry_sdk/integrations/redis.py", line 101, in sentry_patched_execute_command
return old_execute_command(self, name, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/rb/clients.py", line 488, in execute_command
buf = self._get_command_buffer(host_id, args[0])
File "/usr/local/lib/python3.6/site-packages/rb/clients.py", line 355, in _get_command_buffer
buf = CommandBuffer(host_id, connect, self.auto_batch)
File "/usr/local/lib/python3.6/site-packages/rb/clients.py", line 91, in __init__
self.connect()
File "/usr/local/lib/python3.6/site-packages/rb/clients.py", line 107, in connect
self.connection = self._connect_func()
File "/usr/local/lib/python3.6/site-packages/rb/clients.py", line 353, in connect
return self.connection_pool.get_connection(command_name, shard_hint=host_id)
File "/usr/local/lib/python3.6/site-packages/rb/clients.py", line 254, in get_connection
con = real_pool.get_connection(command_name)
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 1185, in get_connection
connection.connect()
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 557, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 110 connecting to redis:6379. Connection timed out.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/sentry", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/sentry/runner/__init__.py", line 188, in main
func(**kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/sentry/runner/decorators.py", line 28, in inner
configure()
File "/usr/local/lib/python3.6/site-packages/sentry/runner/__init__.py", line 124, in configure
configure(ctx, py, yaml, skip_service_validation)
File "/usr/local/lib/python3.6/site-packages/sentry/runner/settings.py", line 155, in configure
skip_service_validation=skip_service_validation,
File "/usr/local/lib/python3.6/site-packages/sentry/runner/initializer.py", line 371, in initialize_app
setup_services(validate=not skip_service_validation)
File "/usr/local/lib/python3.6/site-packages/sentry/runner/initializer.py", line 415, in setup_services
service.validate()
File "/usr/local/lib/python3.6/site-packages/sentry/utils/services.py", line 105, in <lambda>
context[key] = (lambda f: lambda *a, **k: getattr(self, f)(*a, **k))(key)
File "/usr/local/lib/python3.6/site-packages/sentry/buffer/redis.py", line 66, in validate
raise InvalidConfiguration(str(e))
sentry.exceptions.InvalidConfiguration: Error 110 connecting to redis:6379. Connection timed out.
1
An error occurred, caught SIGERR on line 12
Cleaning up...