workaround like:
SENTRY_CONF=/etc/sentry /www/sentry/bin/sentry django migrate sentry 100
doesn’t help:
Traceback (most recent call last):
File “/www/sentry/local/lib/python2.7/site-packages/sentry/options/store.py”, line 165, in get_store
value = self.model.objects.get(key=key.name).value
File “/www/sentry/local/lib/python2.7/site-packages/django/db/models/manager.py”, line 151, in get
return self.get_queryset().get(*args, **kwargs)
File “/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py”, line 304, in get
num = len(clone)
File “/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py”, line 77, in len
self._fetch_all()
File “/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py”, line 857, in _fetch_all
self._result_cache = list(self.iterator())
File “/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py”, line 220, in iterator
for row in compiler.results_iter():
File “/www/sentry/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py”, line 713, in results_iter
for rows in self.execute_sql(MULTI):
File “/www/sentry/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py”, line 786, in execute_sql
cursor.execute(sql, params)
File “/www/sentry/local/lib/python2.7/site-packages/raven/contrib/django/client.py”, line 123, in execute
return real_execute(self, sql, params)
File “/www/sentry/local/lib/python2.7/site-packages/django/db/backends/util.py”, line 53, in execute
return self.cursor.execute(sql, params)
File “/www/sentry/local/lib/python2.7/site-packages/django/db/utils.py”, line 99, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/www/sentry/local/lib/python2.7/site-packages/django/db/backends/util.py”, line 53, in execute
return self.cursor.execute(sql, params)
File “/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py”, line 80, in inner
raise_the_exception(self.db, e)
File “/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py”, line 78, in inner
return func(self, *args, **kwargs)
File “/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py”, line 22, in inner
return func(self, *args, **kwargs)
File “/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py”, line 101, in inner
six.reraise(exc_info[0], exc_info0, exc_info[2])
File “/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py”, line 94, in inner
return func(self, sql, *args, **kwargs)
File “/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/base.py”, line 47, in execute
return self.cursor.execute(sql, params)
ProgrammingError: ProgrammingError(‘relation “sentry_option” does not exist\nLINE 1: …ion".“value”, “sentry_option”.“last_updated” FROM "sentry_op…\n ^\n’,)
SQL: SELECT “sentry_option”.“id”, “sentry_option”.“key”, “sentry_option”.“value”, “sentry_option”.“last_updated” FROM “sentry_option” WHERE “sentry_option”.“key” = %s
11:14:46 [ERROR] sentry: option.failed-lookup (key=u’system.url-prefix’)
Top level Sentry exception caught - failed creating log record
option.failed-lookup
Traceback (most recent call last):
File “/www/sentry/local/lib/python2.7/site-packages/raven/handlers/logging.py”, line 94, in emit
return self._emit(record)
File “/www/sentry/local/lib/python2.7/site-packages/raven/contrib/django/handlers.py”, line 33, in _emit
return super(SentryHandler, self)._emit(record, request=request)
File “/www/sentry/local/lib/python2.7/site-packages/raven/handlers/logging.py”, line 187, in _emit
**kwargs)
File “/www/sentry/local/lib/python2.7/site-packages/sentry/utils/raven.py”, line 46, in capture
return super(SentryInternalClient, self).capture(*args, **kwargs)
File “/www/sentry/local/lib/python2.7/site-packages/raven/contrib/django/client.py”, line 297, in capture
result = super(DjangoClient, self).capture(event_type, **kwargs)
File “/www/sentry/local/lib/python2.7/site-packages/raven/base.py”, line 641, in capture
self.send(**data)
File “/www/sentry/local/lib/python2.7/site-packages/sentry/utils/raven.py”, line 75, in send
key = ProjectKey.get_default(settings.SENTRY_PROJECT)
File “/www/sentry/local/lib/python2.7/site-packages/sentry/models/projectkey.py”, line 121, in get_default
)[0]
File “/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py”, line 132, in getitem
return list(qs)[0]
File “/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py”, line 96, in iter
self._fetch_all()
File “/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py”, line 857, in _fetch_all
self._result_cache = list(self.iterator())
File “/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py”, line 220, in iterator
for row in compiler.results_iter():
File “/www/sentry/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py”, line 713, in results_iter
for rows in self.execute_sql(MULTI):
File “/www/sentry/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py”, line 786, in execute_sql
cursor.execute(sql, params)
File “/www/sentry/local/lib/python2.7/site-packages/raven/contrib/django/client.py”, line 123, in execute
return real_execute(self, sql, params)
File “/www/sentry/local/lib/python2.7/site-packages/django/db/backends/util.py”, line 53, in execute
return self.cursor.execute(sql, params)
File “/www/sentry/local/lib/python2.7/site-packages/django/db/utils.py”, line 99, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/www/sentry/local/lib/python2.7/site-packages/django/db/backends/util.py”, line 53, in execute
return self.cursor.execute(sql, params)
File “/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py”, line 80, in inner
raise_the_exception(self.db, e)
File “/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py”, line 78, in inner
return func(self, *args, **kwargs)
File “/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py”, line 22, in inner
return func(self, *args, **kwargs)
File “/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py”, line 101, in inner
six.reraise(exc_info[0], exc_info0, exc_info[2])
File “/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py”, line 94, in inner
return func(self, sql, *args, **kwargs)
File “/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/base.py”, line 47, in execute
return self.cursor.execute(sql, params)
ProgrammingError: ProgrammingError(‘relation “sentry_projectkey” does not exist\nLINE 1: …te_limit_window", “sentry_projectkey”.“data” FROM "sentry_pr…\n ^\n’,)
SQL: SELECT “sentry_projectkey”.“id”, “sentry_projectkey”.“project_id”, “sentry_projectkey”.“label”, “sentry_projectkey”.“public_key”, “sentry_projectkey”.“secret_key”, “sentry_projectkey”.“roles”, “sentry_projectkey”.“status”, “sentry_projectkey”.“date_added”, “sentry_projectkey”.“rate_limit_count”, “sentry_projectkey”.“rate_limit_window”, “sentry_projectkey”.“data” FROM “sentry_projectkey” WHERE (“sentry_projectkey”.“project_id” = %s AND “sentry_projectkey”.“status” = %s AND “sentry_projectkey”.“roles” = (“sentry_projectkey”.“roles” | 1)) LIMIT 1
Traceback (most recent call last):
File "/www/sentry/local/lib/python2.7/site-packages/sentry/options/store.py", line 165, in get_store
value = self.model.objects.get(key=key.name).value
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/manager.py", line 151, in get
return self.get_queryset().get(*args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 304, in get
num = len(clone)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 77, in __len__
self._fetch_all()
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 857, in _fetch_all
self._result_cache = list(self.iterator())
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 220, in iterator
for row in compiler.results_iter():
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 713, in results_iter
for rows in self.execute_sql(MULTI):
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
cursor.execute(sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/raven/contrib/django/client.py", line 123, in execute
return real_execute(self, sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 80, in inner
raise_the_exception(self.db, e)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 78, in inner
return func(self, *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 22, in inner
return func(self, *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 101, in inner
six.reraise(exc_info[0], exc_info[0](msg), exc_info[2])
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 94, in inner
return func(self, sql, *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/base.py", line 47, in execute
return self.cursor.execute(sql, params)
ProgrammingError: ProgrammingError('relation "sentry_option" does not exist\nLINE 1: ...ion"."value", "sentry_option"."last_updated" FROM "sentry_op...\n ^\n',)
SQL: SELECT "sentry_option"."id", "sentry_option"."key", "sentry_option"."value", "sentry_option"."last_updated" FROM "sentry_option" WHERE "sentry_option"."key" = %s
11:14:47 [ERROR] sentry: option.failed-lookup (key=u'system.url-prefix')
Top level Sentry exception caught - failed creating log record
option.failed-lookup
Traceback (most recent call last):
File "/www/sentry/local/lib/python2.7/site-packages/raven/handlers/logging.py", line 94, in emit
return self._emit(record)
File "/www/sentry/local/lib/python2.7/site-packages/raven/contrib/django/handlers.py", line 33, in _emit
return super(SentryHandler, self)._emit(record, request=request)
File "/www/sentry/local/lib/python2.7/site-packages/raven/handlers/logging.py", line 187, in _emit
**kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/utils/raven.py", line 46, in capture
return super(SentryInternalClient, self).capture(*args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/raven/contrib/django/client.py", line 297, in capture
result = super(DjangoClient, self).capture(event_type, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/raven/base.py", line 641, in capture
self.send(**data)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/utils/raven.py", line 75, in send
key = ProjectKey.get_default(settings.SENTRY_PROJECT)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/models/projectkey.py", line 121, in get_default
)[0]
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 132, in __getitem__
return list(qs)[0]
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 96, in __iter__
self._fetch_all()
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 857, in _fetch_all
self._result_cache = list(self.iterator())
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 220, in iterator
for row in compiler.results_iter():
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 713, in results_iter
for rows in self.execute_sql(MULTI):
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
cursor.execute(sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/raven/contrib/django/client.py", line 123, in execute
return real_execute(self, sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 80, in inner
raise_the_exception(self.db, e)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 78, in inner
return func(self, *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 22, in inner
return func(self, *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 101, in inner
six.reraise(exc_info[0], exc_info[0](msg), exc_info[2])
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 94, in inner
return func(self, sql, *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/base.py", line 47, in execute
return self.cursor.execute(sql, params)
ProgrammingError: ProgrammingError('relation "sentry_projectkey" does not exist\nLINE 1: ...te_limit_window", "sentry_projectkey"."data" FROM "sentry_pr...\n ^\n',)
SQL: SELECT "sentry_projectkey"."id", "sentry_projectkey"."project_id", "sentry_projectkey"."label", "sentry_projectkey"."public_key", "sentry_projectkey"."secret_key", "sentry_projectkey"."roles", "sentry_projectkey"."status", "sentry_projectkey"."date_added", "sentry_projectkey"."rate_limit_count", "sentry_projectkey"."rate_limit_window", "sentry_projectkey"."data" FROM "sentry_projectkey" WHERE ("sentry_projectkey"."project_id" = %s AND "sentry_projectkey"."status" = %s AND "sentry_projectkey"."roles" = ("sentry_projectkey"."roles" | 1)) LIMIT 1
Error in sys.excepthook:
Traceback (most recent call last):
File "/www/sentry/local/lib/python2.7/site-packages/raven/base.py", line 274, in handle_exception
self.captureException(exc_info=exc_info, level='fatal')
File "/www/sentry/local/lib/python2.7/site-packages/raven/base.py", line 814, in captureException
'raven.events.Exception', exc_info=exc_info, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/utils/raven.py", line 46, in capture
return super(SentryInternalClient, self).capture(*args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/raven/contrib/django/client.py", line 297, in capture
result = super(DjangoClient, self).capture(event_type, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/raven/base.py", line 641, in capture
self.send(**data)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/utils/raven.py", line 75, in send
key = ProjectKey.get_default(settings.SENTRY_PROJECT)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/models/projectkey.py", line 121, in get_default
)[0]
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 132, in __getitem__
return list(qs)[0]
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 96, in __iter__
self._fetch_all()
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 857, in _fetch_all
self._result_cache = list(self.iterator())
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 220, in iterator
for row in compiler.results_iter():
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 713, in results_iter
for rows in self.execute_sql(MULTI):
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
cursor.execute(sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/raven/contrib/django/client.py", line 123, in execute
return real_execute(self, sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 80, in inner
raise_the_exception(self.db, e)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 78, in inner
return func(self, *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 22, in inner
return func(self, *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 101, in inner
six.reraise(exc_info[0], exc_info[0](msg), exc_info[2])
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 94, in inner
return func(self, sql, *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/base.py", line 47, in execute
return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: ProgrammingError('relation "sentry_projectkey" does not exist\nLINE 1: ...te_limit_window", "sentry_projectkey"."data" FROM "sentry_pr...\n ^\n',)
SQL: SELECT "sentry_projectkey"."id", "sentry_projectkey"."project_id", "sentry_projectkey"."label", "sentry_projectkey"."public_key", "sentry_projectkey"."secret_key", "sentry_projectkey"."roles", "sentry_projectkey"."status", "sentry_projectkey"."date_added", "sentry_projectkey"."rate_limit_count", "sentry_projectkey"."rate_limit_window", "sentry_projectkey"."data" FROM "sentry_projectkey" WHERE ("sentry_projectkey"."project_id" = %s AND "sentry_projectkey"."status" = %s AND "sentry_projectkey"."roles" = ("sentry_projectkey"."roles" | 1)) LIMIT 1
Original exception was:
Traceback (most recent call last):
File "/www/sentry/bin/sentry", line 11, in <module>
sys.exit(main())
File "/www/sentry/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 "/www/sentry/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/www/sentry/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/www/sentry/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/www/sentry/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/runner/decorators.py", line 36, in inner
return ctx.invoke(f, *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/runner/commands/django.py", line 25, in django
execute_from_command_line(argv=[ctx.command_path] + list(management_args))
File "/www/sentry/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/www/sentry/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/www/sentry/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "/www/sentry/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(*args, **options)
File "/www/sentry/local/lib/python2.7/site-packages/south/management/commands/migrate.py", line 115, in handle
ignore_ghosts=ignore_ghosts,
File "/www/sentry/local/lib/python2.7/site-packages/south/migration/__init__.py", line 214, in migrate_app
applied_all = check_migration_histories(applied_all, delete_ghosts, ignore_ghosts)
File "/www/sentry/local/lib/python2.7/site-packages/south/migration/__init__.py", line 85, in check_migration_histories
for h in histories:
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 96, in __iter__
self._fetch_all()
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 857, in _fetch_all
self._result_cache = list(self.iterator())
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/query.py", line 220, in iterator
for row in compiler.results_iter():
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 713, in results_iter
for rows in self.execute_sql(MULTI):
File "/www/sentry/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
cursor.execute(sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/raven/contrib/django/client.py", line 123, in execute
return real_execute(self, sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/www/sentry/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 80, in inner
raise_the_exception(self.db, e)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 78, in inner
return func(self, *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 22, in inner
return func(self, *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 101, in inner
six.reraise(exc_info[0], exc_info[0](msg), exc_info[2])
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/decorators.py", line 94, in inner
return func(self, sql, *args, **kwargs)
File "/www/sentry/local/lib/python2.7/site-packages/sentry/db/postgres/base.py", line 47, in execute
return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: ProgrammingError('relation "south_migrationhistory" does not exist\nLINE 1: ...gration", "south_migrationhistory"."applied" FROM "south_mig...\n ^\n',)
SQL: SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC