Comments (9)
And I have this issue.
➜ sudo docker run --name some-sentry --link some-mysql:mysql -d sentry
e888fcf2976a9ce90f80b28bb4c822c07f7e0235e3980e2a33ea7ddeb0ff18ce
➜ sudo docker logs some-sentry
Traceback (most recent call last):
File "/usr/local/bin/sentry", line 9, in <module>
load_entry_point('sentry==6.4.4', 'console_scripts', 'sentry')()
File "/usr/local/lib/python2.7/site-packages/sentry/utils/runner.py", line 310, in main
initializer=initialize_app,
File "/usr/local/lib/python2.7/site-packages/logan/runner.py", line 167, in run_app
configure_app(config_path=config_path, **kwargs)
File "/usr/local/lib/python2.7/site-packages/logan/runner.py", line 89, in configure_app
raise ValueError("Configuration file does not exist at %r" % (config_path,))
ValueError: Configuration file does not exist at '/.sentry/sentry.conf.py'
from docker-sentry.
That second issue is indicative of having a Docker version that's too old; I'd guess you're running 1.0, but definitely something lower than 1.3.
That's related to the first issue as well. When Docker starts your sentry container, it's not setting HOME
properly (which was added in 1.3+; you could also try adding it manually via -e HOME=/root
), and thus Sentry can't find the default configuration file (which is where we figure out the connection details for the database; see https://github.com/docker-library/sentry/blob/08e7bf99eee1e7a879422fc474b73a6fafecbc31/sentry.conf.py).
from docker-sentry.
Err, sorry, that should've been -e HOME=/home/user
.
from docker-sentry.
from docker-sentry.
Thanks @tianon for replying. I hope the readme could give more processes in detail so that everyone could run it step by step 😃
from docker-sentry.
$ docker run -d --name some-postgres postgres
da03aa22c60d48228a30cb43cb13c1ebe5a61e04eee3833cc5073efdd386c3d2
$ docker run -d --name some-sentry -p 9000:9000 --link some-postgres:postgres sentry
000e21d383d61b1243750acc034a9585e5677ffcf4411ed90b9ae1701987daab
$ docker logs -f some-sentry
... wait for:
2015-01-06 21:01:50 [1] [INFO] Listening at: http://0.0.0.0:9000 (1)
^C
$ curl -sSL 'http://localhost:9000'
<!DOCTYPE html>
<html lang="en">
<head>
....
from docker-sentry.
It works for me with docker 1.4 😃
The username and password that sentry uses are the default username and password of mysql or postgres containers, right?
from docker-sentry.
I have another question about the default username and password. The document is pool and I can find out them after reading the source files.
from docker-sentry.
I can reset the username and password by following the tutorial. Thanks again.
from docker-sentry.
Related Issues (20)
- release 9.1.1-onbuild?
- upload-sourcemaps failed - [uwsgi-body-read] Timeout reading 65536 bytes. Content-Length: x consumed: 0 left: x` HOT 2
- Cannot find Client Keys in project HOT 1
- Possibility to run as non-root user HOT 22
- Incorrect default SMTP user/password HOT 5
- Please sign newer docker images HOT 11
- Docs not built HOT 1
- Track sentry errors with itself HOT 2
- registration email missing domain HOT 3
- Upgrade to Buster base image HOT 1
- 404 Error with event committers HOT 3
- "No module named google.cloud.storage.client" HOT 4
- No default org created HOT 1
- Error response from daemon: Cannot restart container 5b40898f7f44: failed to listen to abstract unix socket "/containerd-shim/moby/5b40898f7f442d78153d920f1e457252514114760b7dbd3f23011a2261e81ded/shim.sock": listen unix /containerd-shim/moby/5b40898f7f442d78153d920f1e457252514114760b7dbd3f23011a2261e81ded/shim.sock: bind: address already in use: unknown HOT 1
- docker build of 9.1 fails with gpg HOT 3
- Get Sentry image running on AWS ECS HOT 2
- Sentry 10 support HOT 2
- Enhnace Dockerfile to automatically load and "install" plugins HOT 4
- Bring back regular releases to Docker Hub HOT 5
- sentry 10 image not available in docker hub HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-sentry.