mimischi / dokku-sentry

Deploy your own instance of Sentry onto Dokku!
66 stars 14 forks source link

sentry_grouphashtombstone db error #9

Closed rvanlaar closed 4 years ago

rvanlaar commented 5 years ago

This error popped up since the upgrade to 9.1.

I haven't done any debugging. Just logging this for now for others to see.

ProgrammingError: relation "sentry_grouphashtombstone" does not exist LINE 2: delete from sentry_grouphashtombstone ^

File "bin/sentry", line 11, in sys.exit(main()) File "sentry/runner/init.py", line 162, in main cli(prog_name=get_prog(), obj={}, max_content_width=100) File "click/core.py", line 722, in call return self.main(args, kwargs) File "click/core.py", line 697, in main rv = self.invoke(ctx) File "click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "click/core.py", line 895, in invoke return ctx.invoke(self.callback, ctx.params) File "click/core.py", line 535, in invoke return callback(args, kwargs) File "click/decorators.py", line 17, in new_func return f(get_current_context(), *args, *kwargs) File "sentry/runner/decorators.py", line 73, in inner return ctx.invoke(f, args, kwargs) File "click/core.py", line 535, in invoke return callback(*args, kwargs) File "click/decorators.py", line 17, in new_func return f(get_current_context(), *args, *kwargs) File "sentry/runner/decorators.py", line 36, in inner return ctx.invoke(f, args, kwargs) File "click/core.py", line 535, in invoke return callback(*args, **kwargs) File "sentry/runner/commands/cleanup.py", line 278, in cleanup ).execute(chunk_size=chunk_size) File "sentry/db/deletion.py", line 127, in execute self.execute_postgres(chunk_size) File "sentry/db/deletion.py", line 69, in execute_postgres return self._continuous_query(query) File "sentry/db/deletion.py", line 75, in _continuous_query cursor.execute(query) File "raven/contrib/django/client.py", line 123, in execute return real_execute(self, sql, params) File "django/db/backends/util.py", line 53, in execute return self.cursor.execute(sql, params) File "django/db/utils.py", line 99, in exit six.reraise(dj_exc_type, dj_exc_value, traceback) File "django/db/backends/util.py", line 51, in execute return self.cursor.execute(sql)

mimischi commented 5 years ago

Does this come up when doing something specific? I wonder whether it's better suited to report this at the upstream package https://github.com/getsentry/sentry. This repository just provides the needs to deploy Sentry to Dokku, but does not alter the main code.

rvanlaar commented 5 years ago

Thank you for your response, and for maintaining this repository.

I've created an issue: https://github.com/getsentry/sentry/issues/12692

mimischi commented 4 years ago

I'm closing this issue for now. Feel free to re-open if necessary!