fwani / Sentry-Docker-Compose

docker compose 를 이용한 sentry 설치 스크립트
4 stars 1 forks source link

IndexError: list index out of range #2

Open johndpope opened 2 years ago

johndpope commented 2 years ago
Create user
Creating sentry-docker-compose_sentry-create-user_run ... done
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!                    CAUTION                       !!
!! Your SENTRY_SECRET_KEY is potentially insecure.  !!
!!    We recommend at least 32 characters long.     !!
!!     Regenerate with `generate-secret-key`.       !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
08:50:10 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured.
08:50:13 [INFO] sentry.plugins.github: apps-not-configured
Email: bob@bob.com
Password:
Repeat for confirmation:
Should this user be a superuser? [y/N]: y
User created: bob@bob.com
Traceback (most recent call last):
  File "/usr/local/bin/sentry", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/sentry/runner/__init__.py", line 162, in main
    cli(prog_name=get_prog(), obj={}, max_content_width=100)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/sentry/runner/decorators.py", line 36, in inner
    return ctx.invoke(f, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/sentry/runner/commands/createuser.py", line 95, in createuser
    org = Organization.get_default()
  File "/usr/local/lib/python2.7/site-packages/sentry/models/organization.py", line 164, in get_default
    )[0]
  File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 132, in __getitem__
    return list(qs)[0]
IndexError: list index out of range
ERROR: 1
johndpope commented 2 years ago

same error for non super user

Screen Shot 2022-02-11 at 19 51 56

.

johndpope commented 2 years ago
Screen Shot 2022-02-11 at 19 52 47
johndpope commented 2 years ago

Attaching to sentry-docker-compose_sentry-create-user_1, sentry-docker-compose_cron_1, sentry-docker-compose_sentry-init_1, sentry-docker-compose_sentry_1, sentry-docker-compose_worker_1, sentry-docker-compose_postgres_1, sentry-docker-compose_redis_1 sentry-create-user_1  | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! sentry-create-user_1  | !!                    CAUTION                       !! sentry-create-user_1  | !! Your SENTRY_SECRET_KEY is potentially insecure.  !! sentry-create-user_1  | !!    We recommend at least 32 characters long.     !! sentry-create-user_1  | !!     Regenerate with generate-secret-key.       !! sentry-create-user_1  | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! sentry-create-user_1  | 08:46:52 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured. sentry-create-user_1  | 08:47:06 [INFO] sentry.plugins.github: apps-not-configured sentry-create-user_1  | Aborted! sentry-create-user_1  | Email: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! sentry-create-user_1  | !!                    CAUTION                       !! sentry-create-user_1  | !! Your SENTRY_SECRET_KEY is potentially insecure.  !! sentry-create-user_1  | !!    We recommend at least 32 characters long.     !! sentry-create-user_1  | !!     Regenerate with generate-secret-key.       !! sentry-create-user_1  | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! sentry-create-user_1  | 08:48:58 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured. sentry-create-user_1  | 08:49:05 [INFO] sentry.plugins.github: apps-not-configured sentry-create-user_1  | Aborted! sentry-create-user_1  | Email:  cron_1                | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! cron_1                | !!                    CAUTION                       !! cron_1                | !! Your SENTRY_SECRET_KEY is potentially insecure.  !! cron_1                | !!    We recommend at least 32 characters long.     !! cron_1                | !!     Regenerate with generate-secret-key.       !! cron_1                | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! cron_1                | 08:46:50 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured. cron_1                | 08:47:04 [INFO] sentry.plugins.github: apps-not-configured postgres_1            |  postgres_1            | PostgreSQL Database directory appears to contain a database; Skipping initialization postgres_1            |  postgres_1            | 2022-02-11 08:46:52.197 UTC [1] LOG:  starting PostgreSQL 14.1 (Debian 14.1-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit postgres_1            | 2022-02-11 08:46:52.199 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432 postgres_1            | 2022-02-11 08:46:52.200 UTC [1] LOG:  listening on IPv6 address "::", port 5432 postgres_1            | 2022-02-11 08:46:52.208 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres_1            | 2022-02-11 08:46:52.239 UTC [27] LOG:  database system was shut down at 2022-02-11 08:46:31 UTC postgres_1            | 2022-02-11 08:46:52.316 UTC [1] LOG:  database system is ready to accept connections postgres_1            | 2022-02-11 08:47:16.936 UTC [41] ERROR:  relation "sentry_savedsearch_is_global_6793a2f9e1b59b95" already exists postgres_1            | 2022-02-11 08:47:16.936 UTC [41] STATEMENT:  CREATE UNIQUE INDEX CONCURRENTLY sentry_savedsearch_is_global_6793a2f9e1b59b95 ON sentry_savedsearch (is_global, name) WHERE is_global postgres_1            | 2022-02-11 08:47:20.700 UTC [40] ERROR:  operator does not exist: json = json at character 19 postgres_1            | 2022-02-11 08:47:20.700 UTC [40] HINT:  No operator matches the given name and argument types. You might need to add explicit type casts. postgres_1            | 2022-02-11 08:47:20.700 UTC [40] STATEMENT:  SELECT '{}'::json = '{}'::json; postgres_1            | 2022-02-11 08:47:20.701 UTC [40] ERROR:  operator does not exist: json = json at character 19 postgres_1            | 2022-02-11 08:47:20.701 UTC [40] HINT:  No operator matches the given name and argument types. You might need to add explicit type casts. postgres_1            | 2022-02-11 08:47:20.701 UTC [40] STATEMENT:  SELECT '{}'::json = '{}'::json; postgres_1            | 2022-02-11 08:47:20.761 UTC [40] ERROR:  operator does not exist: json = json at character 19 postgres_1            | 2022-02-11 08:47:20.761 UTC [40] HINT:  No operator matches the given name and argument types. You might need to add explicit type casts. postgres_1            | 2022-02-11 08:47:20.761 UTC [40] STATEMENT:  SELECT '{}'::json = '{}'::json; postgres_1            | 2022-02-11 08:47:20.763 UTC [40] ERROR:  operator does not exist: json = json at character 19 postgres_1            | 2022-02-11 08:47:20.763 UTC [40] HINT:  No operator matches the given name and argument types. You might need to add explicit type casts. postgres_1            | 2022-02-11 08:47:20.763 UTC [40] STATEMENT:  SELECT '{}'::json = '{}'::json; postgres_1            | 2022-02-11 08:47:20.779 UTC [40] ERROR:  operator does not exist: json = json at character 19 postgres_1            | 2022-02-11 08:47:20.779 UTC [40] HINT:  No operator matches the given name and argument types. You might need to add explicit type casts. postgres_1            | 2022-02-11 08:47:20.779 UTC [40] STATEMENT:  SELECT '{}'::json = '{}'::json; sentry-init_1         | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! sentry-init_1         | !!                    CAUTION                       !! sentry-init_1         | !! Your SENTRY_SECRET_KEY is potentially insecure.  !! sentry-init_1         | !!    We recommend at least 32 characters long.     !! sentry-init_1         | !!     Regenerate with generate-secret-key.       !! sentry-init_1         | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! sentry-init_1         | 08:46:49 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured. sentry-init_1         | 08:47:04 [INFO] sentry.plugins.github: apps-not-configured sentry-init_1         | Syncing... sentry-init_1         | Creating tables ... sentry-init_1         | Installing custom SQL ... sentry-init_1         | Installing indexes ... sentry-init_1         | Installed 0 object(s) from 0 fixture(s) sentry-init_1         | Migrating... sentry-init_1         | Running migrations for sentry: sentry-init_1         |  - Migrating forwards to 0472_autoadd_field_sentryapp_author. sentry-init_1         |  > sentry:0459_global_searches_unique_constraint sentry-init_1         |  > sentry:0460_autoadd_field_servicehook_organization_id sentry-init_1         |  > sentry:0461_event_attachment_indexes sentry-init_1         |  > sentry:0462_autoadd_servicehookproject sentry-init_1         |  > sentry:0462_releaseenvironment_project_id sentry-init_1         |  > sentry:0463_backfill_service_hook_project sentry-init_1         |  > sentry:0464_autoadd_sentryappcomponentadd_field_sentryapp_schema sentry-init_1         |  > sentry:0464_groupenvironment_foreignkeys sentry-init_1         |  > sentry:0465_sync sentry-init_1         |  > sentry:0466_autoadd_platformexternalissueadd_unique_platformexternalissue_grou sentry-init_1         |  > sentry:0467_backfill_integration_status sentry-init_1         |  > sentry:0468_autoadd_field_projectdebugfile_code_idadd_index_projectdebugfile_p sentry-init_1         |  > sentry:0468_recent_search sentry-init_1         |  > sentry:0469_fix_state sentry-init_1         |  > sentry:0470_org_saved_search sentry-init_1         |  > sentry:0471_global_saved_search_types sentry-init_1         |  > sentry:0472_auto__add_field_sentryapp_author sentry-init_1         | Running migrations for sentry.nodestore: sentry-init_1         |  - Migrating forwards to 0001_initial. sentry-init_1         |  > sentry.nodestore:0001_initial sentry-init_1         | Running migrations for sentry.search: sentry-init_1         |  - Migrating forwards to 0002_autodel_searchtokendel_unique_searchtoken_document_field_tokende. sentry-init_1         |  > sentry.search:0001_initial sentry-init_1         |  > sentry.search:0002_autodel_searchtokendel_unique_searchtoken_document_field_tokende sentry-init_1         | Running migrations for social_auth: sentry-init_1         |  - Migrating forwards to 0004_autodel_unique_usersocialauth_provider_uidadd_unique_usersocialaut. sentry-init_1         |  > social_auth:0001_initial sentry-init_1         |  > social_auth:0002_autoadd_unique_nonce_timestamp_salt_server_urladd_unique_associati sentry-init_1         |  > social_auth:0003_auto__del_noncedel_unique_nonce_server_url_timestamp_saltdel_assoc sentry-init_1         |  > social_auth:0004_autodel_unique_usersocialauth_provider_uidadd_unique_usersocialaut sentry-init_1         | Running migrations for sentry.tagstore: sentry-init_1         |  - Migrating forwards to 0008_autochg_field_tagkey_environment_id. sentry-init_1         |  > sentry.tagstore:0001_initial sentry-init_1         |  > sentry.tagstore:0002_autodel_tagkeydel_unique_tagkey_project_id_environment_id_keydel sentry-init_1         |  > sentry.tagstore:0003_autoadd_tagkeyadd_unique_tagkey_project_id_environment_id_keyadd sentry-init_1         |  > sentry.tagstore:0004_autodel_tagkeydel_unique_tagkey_project_id_environment_id_keydel sentry-init_1         |  > sentry.tagstore:0005_autoadd_tagvalueadd_unique_tagvalue_project_idkey_valueadd_ind sentry-init_1         |  > sentry.tagstore:0006_autodel_unique_eventtag_event_id_key_valueadd_unique_eventtag_proj sentry-init_1         |  > sentry.tagstore:0007_autochg_field_tagkey_environment_idchg_field_tagkey_project_idch sentry-init_1         |  > sentry.tagstore:0008_autochg_field_tagkey_environment_id sentry-init_1         | Running migrations for sentry_plugins.hipchat_ac: sentry-init_1         |  - Migrating forwards to 0002_auto__del_mentionedevent. sentry-init_1         |  > sentry_plugins.hipchat_ac:0001_initial sentry-init_1         |  > sentry_plugins.hipchat_ac:0002_autodel_mentionedevent sentry-init_1         | Running migrations for sentry_plugins.jira_ac: sentry-init_1         |  - Migrating forwards to 0001_initial. sentry-init_1         |  > sentry_plugins.jira_ac:0001_initial sentry-init_1         |  sentry-init_1         | Synced: sentry-init_1         |  > django.contrib.admin sentry-init_1         |  > django.contrib.auth sentry-init_1         |  > django.contrib.contenttypes sentry-init_1         |  > django.contrib.messages sentry-init_1         |  > django.contrib.sessions sentry-init_1         |  > django.contrib.sites sentry-init_1         |  > django.contrib.staticfiles sentry-init_1         |  > crispy_forms sentry-init_1         |  > debug_toolbar sentry-init_1         |  > rest_framework sentry-init_1         |  > sentry.plugins.sentry_interface_types sentry-init_1         |  > sentry.plugins.sentry_mail sentry-init_1         |  > sentry.plugins.sentry_urls sentry-init_1         |  > sentry.plugins.sentry_useragents sentry-init_1         |  > sentry.plugins.sentry_webhooks sentry-init_1         |  > sudo sentry-init_1         |  > south sentry-init_1         |  sentry-init_1         | Migrated: sentry-init_1         |  - sentry sentry-init_1         |  - sentry.nodestore sentry-init_1         |  - sentry.search sentry-init_1         |  - social_auth sentry-init_1         |  - sentry.tagstore sentry-init_1         |  - sentry_plugins.hipchat_ac sentry-init_1         |  - sentry_plugins.jira_ac sentry-init_1         | Creating missing DSNs sentry-init_1         | Correcting Group.num_comments counter sentry-init_1         | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! sentry-init_1         | !!                    CAUTION                       !! sentry-init_1         | !! Your SENTRY_SECRET_KEY is potentially insecure.  !! sentry-init_1         | !!    We recommend at least 32 characters long.     !! sentry-init_1         | !!     Regenerate with generate-secret-key.       !! sentry-init_1         | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! sentry-init_1         | 08:48:58 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured. sentry-init_1         | 08:49:04 [INFO] sentry.plugins.github: apps-not-configured sentry-init_1         | Syncing... sentry-init_1         | Creating tables ... sentry-init_1         | Installing custom SQL ... sentry-init_1         | Installing indexes ... sentry-init_1         | Installed 0 object(s) from 0 fixture(s) sentry-init_1         | Migrating... sentry-init_1         | Running migrations for sentry: sentry-init_1         | - Nothing to migrate. sentry-init_1         | Running migrations for sentry.nodestore: sentry-init_1         | - Nothing to migrate. sentry-init_1         | Running migrations for sentry.search: sentry-init_1         | - Nothing to migrate. sentry-init_1         | Running migrations for social_auth: sentry-init_1         | - Nothing to migrate. sentry-init_1         | Running migrations for sentry.tagstore: sentry-init_1         | - Nothing to migrate. sentry-init_1         | Running migrations for sentry_plugins.hipchat_ac: sentry-init_1         | - Nothing to migrate. sentry-init_1         | Running migrations for sentry_plugins.jira_ac: sentry-init_1         | - Nothing to migrate. sentry-init_1         |  sentry-init_1         | Synced: sentry-init_1         |  > django.contrib.admin sentry-init_1         |  > django.contrib.auth sentry-init_1         |  > django.contrib.contenttypes sentry-init_1         |  > django.contrib.messages sentry-init_1         |  > django.contrib.sessions sentry-init_1         |  > django.contrib.sites sentry-init_1         |  > django.contrib.staticfiles sentry-init_1         |  > crispy_forms sentry-init_1         |  > debug_toolbar sentry-init_1         |  > rest_framework sentry-init_1         |  > sentry.plugins.sentry_interface_types sentry-init_1         |  > sentry.plugins.sentry_mail sentry-init_1         |  > sentry.plugins.sentry_urls sentry-init_1         |  > sentry.plugins.sentry_useragents sentry-init_1         |  > sentry.plugins.sentry_webhooks sentry-init_1         |  > sudo sentry-init_1         |  > south sentry-init_1         |  sentry-init_1         | Migrated: sentry-init_1         |  - sentry sentry-init_1         |  - sentry.nodestore sentry-init_1         |  - sentry.search sentry-init_1         |  - social_auth sentry-init_1         |  - sentry.tagstore sentry-init_1         |  - sentry_plugins.hipchat_ac sentry-init_1         |  - sentry_plugins.jira_ac sentry-init_1         | Creating missing DSNs sentry-init_1         | Correcting Group.num_comments counter sentry_1              | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! sentry_1              | !!                    CAUTION                       !! sentry_1              | !! Your SENTRY_SECRET_KEY is potentially insecure.  !! sentry_1              | !!    We recommend at least 32 characters long.     !! sentry_1              | !!     Regenerate with generate-secret-key.       !! sentry_1              | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! sentry_1              | 08:46:50 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured. sentry_1              | 08:47:05 [INFO] sentry.plugins.github: apps-not-configured sentry_1              |  Starting uWSGI 2.0.18 (64bit) on [Fri Feb 11 08:47:05 2022]  sentry_1              | compiled with version: 6.3.0 20170516 on 19 October 2019 09:00:01 sentry_1              | os: Linux-5.10.76-linuxkit #1 SMP Mon Nov 8 10:21:19 UTC 2021 sentry_1              | nodename: ccfb9f139c3a sentry_1              | machine: x86_64 sentry_1              | clock source: unix sentry_1              | detected number of CPU cores: 2 sentry_1              | current working directory: / sentry_1              | detected binary path: /usr/local/bin/uwsgi sentry_1              | !!! no internal routing support, rebuild with pcre support !!! sentry_1              | your memory page size is 4096 bytes sentry_1              | detected max file descriptor number: 1048576 sentry_1              | lock engine: pthread robust mutexes sentry_1              | thunder lock: enabled sentry_1              | uwsgi socket 0 bound to TCP address 0.0.0.0:9000 fd 3 sentry_1              | Python version: 2.7.16 (default, Oct 17 2019, 07:46:47)  [GCC 6.3.0 20170516] sentry_1              | Set PythonHome to /usr/local sentry_1              | Python main interpreter initialized at 0x56421cd0eeb0 sentry_1              | python threads support enabled sentry_1              | your server socket listen backlog is limited to 100 connections sentry_1              | your mercy for graceful operations on workers is 60 seconds sentry_1              | setting request body buffering size to 65536 bytes sentry_1              | mapped 1924480 bytes (1879 KB) for 12 cores sentry_1              |  Operational MODE: preforking+threaded  sentry_1              | spawned uWSGI master process (pid: 15) sentry_1              | spawned uWSGI worker 1 (pid: 19, cores: 4) sentry_1              | spawned uWSGI worker 2 (pid: 20, cores: 4) sentry_1              | spawned uWSGI worker 3 (pid: 21, cores: 4) sentry_1              | 08:47:11 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured. sentry_1              | 08:47:11 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured. sentry_1              | 08:47:11 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured. sentry_1              | 08:47:27 [INFO] sentry.plugins.github: apps-not-configured sentry_1              | 08:47:27 [INFO] sentry.plugins.github: apps-not-configured sentry_1              | WSGI app 0 (mountpoint='') ready in 21 seconds on interpreter 0x56421cd0eeb0 pid: 21 (default app) sentry_1              | WSGI app 0 (mountpoint='') ready in 21 seconds on interpreter 0x56421cd0eeb0 pid: 20 (default app) sentry_1              | 08:47:27 [INFO] sentry.plugins.github: apps-not-configured sentry_1              | WSGI app 0 (mountpoint='') ready in 22 seconds on interpreter 0x56421cd0eeb0 pid: 19 (default app) sentry_1              | 172.19.0.1 - - [11/Feb/2022:08:52:40 +0000] "GET / HTTP/1.1" 302 467 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36" sentry_1              | Traceback (most recent call last): sentry_1              |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response sentry_1              |     response = wrapped_callback(request, *callback_args, callback_kwargs) sentry_1              |   File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view sentry_1              |     return self.dispatch(request, *args, *kwargs) sentry_1              |   File "/usr/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view sentry_1              |     return view_func(args, kwargs) sentry_1              |   File "/usr/local/lib/python2.7/site-packages/sentry/web/frontend/base.py", line 225, in dispatch sentry_1              |     return self.handle(request, *args, kwargs) sentry_1              |   File "/usr/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 52, in _wrapped_view_func sentry_1              |     response = view_func(request, *args, *kwargs) sentry_1              |   File "/usr/local/lib/python2.7/site-packages/django/db/transaction.py", line 371, in inner sentry_1              |     return func(args, kwargs) sentry_1              |   File "/usr/local/lib/python2.7/site-packages/sentry/web/frontend/auth_login.py", line 193, in handle sentry_1              |     return super(AuthLoginView, self).handle(request, *args, kwargs) sentry_1              |   File "/usr/local/lib/python2.7/site-packages/sentry/web/frontend/base.py", line 238, in handle sentry_1              |     return super(BaseView, self).dispatch(request, *args, *kwargs) sentry_1              |   File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch sentry_1              |     return handler(request, args, kwargs) sentry_1              |   File "/usr/local/lib/python2.7/site-packages/sentry/web/frontend/auth_login.py", line 211, in get sentry_1              |     org = Organization.get_default() sentry_1              |   File "/usr/local/lib/python2.7/site-packages/sentry/models/organization.py", line 164, in get_default sentry_1              |     )[0] sentry_1              |   File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 132, in getitem sentry_1              |     return list(qs)[0] sentry_1              | IndexError: list index out of range sentry_1              | 08:52:41 [ERROR] django.request: Internal Server Error: /auth/login/ (status_code=500 request=<WSGIRequest: GET u'/auth/login/'>) sentry_1              | 172.19.0.1 - - [11/Feb/2022:08:52:41 +0000] "GET /auth/login/ HTTP/1.1" 500 5580 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36" sentry_1              | 172.19.0.1 - - [11/Feb/2022:08:52:42 +0000] "GET /_static/1644569246/sentry/js/ads.js HTTP/1.1" 200 334 "http://localhost:9999/auth/login/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36" sentry_1              | 172.19.0.1 - - [11/Feb/2022:08:52:42 +0000] "GET /_static/1644569246/sentry/dist/sentry.css HTTP/1.1" 200 50389 "http://localhost:9999/auth/login/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36" sentry_1              | 172.19.0.1 - - [11/Feb/2022:08:52:42 +0000] "GET /_static/1644569246/sentry/dist/vendor.js HTTP/1.1" 200 382240 "http://localhost:9999/auth/login/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36" sentry_1              | 172.19.0.1 - - [11/Feb/2022:08:52:42 +0000] "GET /_static/1644569246/sentry/dist/app.js HTTP/1.1" 200 301901 "http://localhost:9999/auth/login/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36" sentry_1              | 172.19.0.1 - - [11/Feb/2022:08:52:43 +0000] "GET /_static/1644569246/sentry/dist/sentry-pattern.png HTTP/1.1" 200 28417 "http://localhost:9999/_static/1644569246/sentry/dist/sentry.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36" sentry_1              | 172.19.0.1 - - [11/Feb/2022:08:52:43 +0000] "GET /_static/1644569246/sentry/images/favicon.ico HTTP/1.1" 200 6791 "http://localhost:9999/auth/login/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36" sentry_1              | 172.19.0.1 - - [11/Feb/2022:08:52:43 +0000] "GET /_static/1644569246/sentry/dist/sentry-simple.woff HTTP/1.1" 200 14147 "http://localhost:9999/_static/1644569246/sentry/dist/sentry.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36" sentry_1              | 172.19.0.1 - - [11/Feb/2022:08:52:43 +0000] "GET /_static/1644569246/sentry/dist/rubik-regular.woff HTTP/1.1" 200 61975 "http://localhost:9999/_static/1644569246/sentry/dist/sentry.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36" sentry_1              | 172.19.0.1 - - [11/Feb/2022:08:52:44 +0000] "GET /_static/1644569246/sentry/images/icons/apple-touch-icon.png HTTP/1.1" 200 6266 "http://localhost:9999/auth/login/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36" worker_1              | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! worker_1              | !!                    CAUTION                       !! worker_1              | !! Your SENTRY_SECRET_KEY is potentially insecure.  !! worker_1              | !!    We recommend at least 32 characters long.     !! worker_1              | !!     Regenerate with generate-secret-key.       !! worker_1              | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! worker_1              | 08:46:49 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured. worker_1              | 08:47:04 [INFO] sentry.plugins.github: apps-not-configured worker_1              | 08:47:04 [INFO] sentry.bgtasks: bgtask.spawn (task_name=u'sentry.bgtasks.clean_dsymcache:clean_dsymcache') worker_1              |   worker_1              |  -------------- celery@5b07a0d9bdaf v3.1.18 (Cipater) worker_1              | ---- * -----  worker_1              | ---  *   -- Linux-5.10.76-linuxkit-x86_64-with-debian-9.11 worker_1              | --  - ** ---  worker_1              | -  ---------- [config] worker_1              | -  ---------- .> app:         sentry:0x7f697dc45290 worker_1              | -  ---------- .> transport:   redis://redis:6379/0 worker_1              | -  ---------- .> results:     disabled worker_1              | -  ---  --- .> concurrency: 2 (prefork) worker_1              | -- *** ----  worker_1              | --- * ----- [queues] worker_1              |  -------------- .> activity.notify  exchange=default(direct) key=activity.notify worker_1              |                 .> alerts           exchange=default(direct) key=alerts worker_1              |                 .> app_platform     exchange=default(direct) key=app_platform worker_1              |                 .> assemble         exchange=default(direct) key=assemble worker_1              |                 .> auth             exchange=default(direct) key=auth worker_1              |                 .> buffers.process_pending exchange=default(direct) key=buffers.process_pending worker_1              |                 .> cleanup          exchange=default(direct) key=cleanup worker_1              |                 .> commits          exchange=default(direct) key=commits worker_1              |                 .> counters-0       exchange=counters(direct) key= worker_1              |                 .> default          exchange=default(direct) key=default worker_1              |                 .> digests.delivery exchange=default(direct) key=digests.delivery worker_1              |                 .> digests.scheduling exchange=default(direct) key=digests.scheduling worker_1              |                 .> email            exchange=default(direct) key=email worker_1              |                 .> events.index_event_tags exchange=default(direct) key=events.index_event_tags worker_1              |                 .> events.preprocess_event exchange=default(direct) key=events.preprocess_event worker_1              |                 .> events.process_event exchange=default(direct) key=events.process_event worker_1              |                 .> events.reprocess_events exchange=default(direct) key=events.reprocess_events worker_1              |                 .> events.reprocessing.preprocess_event exchange=default(direct) key=events.reprocessing.preprocess_event worker_1              |                 .> events.reprocessing.process_event exchange=default(direct) key=events.reprocessing.process_event worker_1              |                 .> events.save_event exchange=default(direct) key=events.save_event worker_1              |                 .> files.delete     exchange=default(direct) key=files.delete worker_1              |                 .> integrations     exchange=default(direct) key=integrations worker_1              |                 .> merge            exchange=default(direct) key=merge worker_1              |                 .> options          exchange=default(direct) key=options worker_1              |                 .> reports.deliver  exchange=default(direct) key=reports.deliver worker_1              |                 .> reports.prepare  exchange=default(direct) key=reports.prepare worker_1              |                 .> search           exchange=default(direct) key=search worker_1              |                 .> sleep            exchange=default(direct) key=sleep worker_1              |                 .> stats            exchange=default(direct) key=stats worker_1              |                 .> triggers-0       exchange=triggers(direct) key= worker_1              |                 .> unmerge          exchange=default(direct) key=unmerge worker_1              |                 .> update           exchange=default(direct) key=update worker_1              |  redis_1               | 1:C 11 Feb 2022 08:46:36.733 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis_1               | 1:C 11 Feb 2022 08:46:36.733 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=1, just started redis_1               | 1:C 11 Feb 2022 08:46:36.733 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf redis_1               | 1:M 11 Feb 2022 08:46:36.734  monotonic clock: POSIX clock_gettime redis_1               | 1:M 11 Feb 2022 08:46:36.735  Running mode=standalone, port=6379. redis_1               | 1:M 11 Feb 2022 08:46:36.735 # Server initialized redis_1               | 1:M 11 Feb 2022 08:46:36.735  Ready to accept connections redis_1               | 1:M 11 Feb 2022 08:51:37.002  100 changes in 300 seconds. Saving... redis_1               | 1:M 11 Feb 2022 08:51:37.004  Background saving started by pid 19 redis_1               | 19:C 11 Feb 2022 08:51:37.009  DB saved on disk redis_1               | 19:C 11 Feb 2022 08:51:37.009  RDB: 0 MB of memory used by copy-on-write redis_1               | 1:M 11 Feb 2022 08:51:37.107  Background saving terminated with success sentry-docker-compose_sentry-create-user_1 exited with code 1 sentry-docker-compose_sentry-init_1 exited with code 0