Sentry On-Premise не может создать суперпользователя - PullRequest
0 голосов
/ 17 мая 2018

Когда я следую инструкциям: https://github.com/getsentry/onpremise, Я не смог на третьем шаге. docker-compose run --rm web upgrade, его подсказка выглядит следующим образом: Running migrations for sentry: - Nothing to migrate. - Loading initial data for sentry. Installed 0 object(s) from 0 fixture(s) Running migrations for nodestore: - Nothing to migrate. - Loading initial data for nodestore. Installed 0 object(s) from 0 fixture(s) Running migrations for search: - Nothing to migrate. - Loading initial data for search. Installed 0 object(s) from 0 fixture(s) Running migrations for social_auth: - Nothing to migrate. - Loading initial data for social_auth. Installed 0 object(s) from 0 fixture(s) Running migrations for jira_ac: - Nothing to migrate. - Loading initial data for jira_ac. Installed 0 object(s) from 0 fixture(s) Running migrations for hipchat_ac: - Nothing to migrate. - Loading initial data for hipchat_ac. Installed 0 object(s) from 0 fixture(s) Creating missing DSNs Correcting Group.num_comments counter

Я пробовал много способов, но все еще не решил.

1 Ответ

0 голосов
/ 30 января 2019

Я следую инструкциям по этой проблеме, и она решает вашу новую проблему

https://github.com/getsentry/sentry/issues/8862

docker-compose run --rm web shell

from sentry.models import Project
from sentry.receivers.core import create_default_projects
create_default_projects([Project])
...