{"action":"created","issue":{"url":"https://api.github.com/repos/slafs/sentry-docker/issues/35","labels_url":"https://api.github.com/repos/slafs/sentry-docker/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/slafs/sentry-docker/issues/35/comments","events_url":"https://api.github.com/repos/slafs/sentry-docker/issues/35/events","html_url":"https://github.com/slafs/sentry-docker/issues/35","id":109309948,"number":35,"title":"Background workers haven't checked in recently...","user":{"login":"tarasinf","id":10489467,"avatar_url":"https://avatars.githubusercontent.com/u/10489467?v=3","gravatar_id":"","url":"https://api.github.com/users/tarasinf","html_url":"https://github.com/tarasinf","followers_url":"https://api.github.com/users/tarasinf/followers","following_url":"https://api.github.com/users/tarasinf/following{/other_user}","gists_url":"https://api.github.com/users/tarasinf/gists{/gist_id}","starred_url":"https://api.github.com/users/tarasinf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarasinf/subscriptions","organizations_url":"https://api.github.com/users/tarasinf/orgs","repos_url":"https://api.github.com/users/tarasinf/repos","events_url":"https://api.github.com/users/tarasinf/events{/privacy}","received_events_url":"https://api.github.com/users/tarasinf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-01T14:21:47Z","updated_at":"2015-10-02T06:58:17Z","closed_at":null,"body":"Hi, \r\nI tried to install Sentry to server using your sentry-docker. I got some troubles with it. I hope, you'll help me, you are my last chans. Theare is a list of my command and errors. \r\n\r\nThanks. \r\nPre-cleared folder /tmp/\r\n****************************\r\ndocker run -d --name=postgres_container postgres\r\n\r\ndocker run -d --name=redis_container redis\r\n\r\ndocker run -d --name=sentry_celery_worker --link=redis_container:redis --link=postgres_container:postgresdb --volume=/tmp/sentry:/data --env-file=environment slafs/sentry celery worker -B\r\n\r\ndocker run -d --name=sentry --volume=/tmp/sentry:/data -p 80:9000 --env-file=environment --link=postgres_container:postgresdb --link=redis_container:redis slafs/sentry\r\n****************************\r\n\r\nWhen I entered to url sentry I got this red error: \"Background workers haven't checked in recently. This can mean an issue with your configuration or a serious backlog in tasks.\"\r\n\r\nIn 'docker logs sentry_celery_worker' I got the next error:\r\n\r\n****************************\r\n\"[2015-10-01 12:40:11,224: WARNING/Worker-2] /usr/local/lib/python2.7/site-packages/celery/app/trace.py:365: RuntimeWarning: Exception raised outside body: OperationalError('no such table: sentry_project',):\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/celery/app/trace.py\", line 253, in trace_task\r\n    I, R, state, retval = on_error(task_request, exc, uuid)\r\n  File \"/usr/local/lib/python2.7/site-packages/celery/app/trace.py\", line 201, in on_error\r\n    R = I.handle_error_state(task, eager=eager)\r\n  File \"/usr/local/lib/python2.7/site-packages/celery/app/trace.py\", line 85, in handle_error_state\r\n    }[self.state](task, store_errors=store_errors)\r\n  File \"/usr/local/lib/python2.7/site-packages/celery/app/trace.py\", line 125, in handle_failure\r\n    einfo=einfo)\r\n  File \"/usr/local/lib/python2.7/site-packages/celery/utils/dispatch/signal.py\", line 166, in send\r\n    response = receiver(signal=self, sender=sender, **named)\r\n  File \"/usr/local/lib/python2.7/site-packages/raven/contrib/celery/__init__.py\", line 33, in process_failure_signal\r\n    'kwargs': kwargs,\r\n  File \"/usr/local/lib/python2.7/site-packages/raven/base.py\", line 676, in captureException\r\n    'raven.events.Exception', exc_info=exc_info, **kwargs)\r\n  File \"/usr/local/lib/python2.7/site-packages/sentry/utils/raven.py\", line 39, in capture\r\n    return super(SentryInternalClient, self).capture(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/site-packages/raven/contrib/django/client.py\", line 157, in capture\r\n    result = super(DjangoClient, self).capture(event_type, **kwargs)\r\n  File \"/usr/local/lib/python2.7/site-packages/raven/base.py\", line 521, in capture\r\n    self.send(**data)\r\n  File \"/usr/local/lib/python2.7/site-packages/sentry/utils/raven.py\", line 50, in send\r\n    project = Project.objects.get_from_cache(id=settings.SENTRY_PROJECT)\r\n  File \"/usr/local/lib/python2.7/site-packages/sentry/db/models/manager.py\", line 209, in get_from_cache\r\n    result = self.get(**kwargs)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/models/manager.py\", line 151, in get\r\n    return self.get_queryset().get(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/models/query.py\", line 304, in get\r\n    num = len(clone)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/models/query.py\", line 77, in __len__\r\n    self._fetch_all()\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/models/query.py\", line 857, in _fetch_all\r\n    self._result_cache = list(self.iterator())\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/models/query.py\", line 220, in iterator\r\n    for row in compiler.results_iter():\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py\", line 713, in results_iter\r\n    for rows in self.execute_sql(MULTI):\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py\", line 786, in execute_sql\r\n    cursor.execute(sql, params)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/backends/util.py\", line 53, in execute\r\n    return self.cursor.execute(sql, params)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/utils.py\", line 99, in __exit__\r\n    six.reraise(dj_exc_type, dj_exc_value, traceback)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/backends/util.py\", line 53, in execute\r\n    return self.cursor.execute(sql, params)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py\", line 452, in execute\r\n    return Database.Cursor.execute(self, query, params)\r\nOperationalError: no such table: sentry_project\r\n\r\n  exc, exc_info.traceback)))\r\n\" \r\n****************************\r\n\r\nWhen I was trying to send test email from admin I got red error: \"Connection unexpectedly closed: timed out\".\r\n"},"comment":{"url":"https://api.github.com/repos/slafs/sentry-docker/issues/comments/144939014","html_url":"https://github.com/slafs/sentry-docker/issues/35#issuecomment-144939014","issue_url":"https://api.github.com/repos/slafs/sentry-docker/issues/35","id":144939014,"user":{"login":"slafs","id":210173,"avatar_url":"https://avatars.githubusercontent.com/u/210173?v=3","gravatar_id":"","url":"https://api.github.com/users/slafs","html_url":"https://github.com/slafs","followers_url":"https://api.github.com/users/slafs/followers","following_url":"https://api.github.com/users/slafs/following{/other_user}","gists_url":"https://api.github.com/users/slafs/gists{/gist_id}","starred_url":"https://api.github.com/users/slafs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slafs/subscriptions","organizations_url":"https://api.github.com/users/slafs/orgs","repos_url":"https://api.github.com/users/slafs/repos","events_url":"https://api.github.com/users/slafs/events{/privacy}","received_events_url":"https://api.github.com/users/slafs/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T06:58:17Z","updated_at":"2015-10-02T06:58:17Z","body":"It would be useful to see what you have in your `environment` file that you use to run sentry's http service and celery workers."}}