Sentry On-Premise无法创建超级用户

时间:2018-05-17 07:30:36

标签: docker sentry

当我按照说明操作时: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 :(得分:0)

我按照此问题下的步骤进行操作,它可以解决您的新问题

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])