/work/docker/onpremise (master *)$ docker-compose run --rm web upgrade
Starting onpremise_redis_1 ... done
Starting onpremise_postgres_1 ... done
Starting onpremise_smtp_1 ... done
Starting onpremise_memcached_1 ... done
03:59:48 [INFO] sentry.plugins.github: apps-not-configured
Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Synced:
django.contrib.admin
django.contrib.auth
django.contrib.contenttypes
django.contrib.messages
django.contrib.sessions
django.contrib.sites
django.contrib.staticfiles
crispy_forms
debug_toolbar
raven.contrib.django.raven_compat
rest_framework
sentry.plugins.sentry_interface_types
sentry.plugins.sentry_mail
> sentry.plugins.sentry_urls
> sentry.plugins.sentry_useragents
> sentry.plugins.sentry_webhooks
> sudo
> south
> sentry_plugins.slack
Not synced (use migrations):
- sentry
- sentry.nodestore
- sentry.search
- social_auth
- sentry.tagstore
- sentry_plugins.jira_ac
- sentry_plugins.hipchat_ac
(use ./manage.py migrate to migrate these)
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 tagstore:
- Nothing to migrate.
- Loading initial data for tagstore.
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
You should take a look at this issue #100
me too,how to solve it
Hi, #123 fixes this for me.
I still have this issue, how to solve it ? out of memory
$ docker-compose run --rm web upgrade
And blocked here:
0 new IDPs and 0 new IDs
> sentry:0418_delete_old_idps
> sentry:0419_auto__add_unique_identityprovider_type_external_id
> sentry:0420_auto__chg_field_identityprovider_organization_id
> sentry:0421_auto__del_field_identityprovider_organization_id__del_unique_identityp
> sentry:0422_auto__add_grouphashtombstone__add_unique_grouphashtombstone_project_ha
> sentry:0423_auto__add_index_grouphashtombstone_deleted_at
Created internal Sentry project (slug=internal, id=1)
Would you like to create a user account now? [Y/n]:
Email: [email protected]
Password:
Repeat for confirmation:
Should this user be a superuser? [y/N]: y
User created: [email protected]
Added to organization: sentry
- Loading initial data for sentry.
Installed 0 object(s) from 0 fixture(s)
Running migrations for nodestore:
- Migrating forwards to 0001_initial.
> nodestore:0001_initial
- Loading initial data for nodestore.
Installed 0 object(s) from 0 fixture(s)
Running migrations for search:
- Migrating forwards to 0002_auto__del_searchtoken__del_unique_searchtoken_document_field_token__de.
> search:0001_initial
> search:0002_auto__del_searchtoken__del_unique_searchtoken_document_field_token__de
- Loading initial data for search.
Installed 0 object(s) from 0 fixture(s)
Running migrations for social_auth:
- Migrating forwards to 0004_auto__del_unique_usersocialauth_provider_uid__add_unique_usersocialaut.
> social_auth:0001_initial
> social_auth:0002_auto__add_unique_nonce_timestamp_salt_server_url__add_unique_associati
> social_auth:0003_auto__del_nonce__del_unique_nonce_server_url_timestamp_salt__del_assoc
> social_auth:0004_auto__del_unique_usersocialauth_provider_uid__add_unique_usersocialaut
- Loading initial data for social_auth.
Installed 0 object(s) from 0 fixture(s)
On Mac, blocked here for several minutes and finished!
i have this problem and i can't solve that, i check #123 and #100 but cant help me
I have a same problem
docker-compose run --rm web upgrade出错
(1)使用docker命令进入postgres数据库
(2)进入postgres数据库
(3)查看这两个表是否有数据sentry_project,sentry_organization
postgres=# select * from sentry_project;
postgres=# select * from sentry_organization ;
如果没有数据,进行创建
(4)新开一个终端,进入sentry的web的shell里面,其实就是一个python端
(5)输入以下命令进行初始化数据
from sentry.models import Project
from sentry.receivers.core import create_default_projects
create_default_projects([Project])
(6)退出第五步的shell,创建自己的用户
输入你的邮箱和密码,再刷新网页就可以登录,也可以查看postgres数据库里面也会有数据了。
Closing as this issue is pretty stale, seems resolved or related to running low memory on the host system.
Most helpful comment
docker-compose run --rm web upgrade出错
(1)使用docker命令进入postgres数据库
docker exec -it onpremise_postgres_1 bash
(2)进入postgres数据库
psql -h 127.0.0.1 -d postgres -U postgres
(3)查看这两个表是否有数据sentry_project,sentry_organization
postgres=# select * from sentry_project;
postgres=# select * from sentry_organization ;
如果没有数据,进行创建
(4)新开一个终端,进入sentry的web的shell里面,其实就是一个python端
docker-compose run --rm web shell
(5)输入以下命令进行初始化数据
from sentry.models import Project
from sentry.receivers.core import create_default_projects
create_default_projects([Project])
(6)退出第五步的shell,创建自己的用户
docker-compose run --rm web createuser
输入你的邮箱和密码,再刷新网页就可以登录,也可以查看postgres数据库里面也会有数据了。