Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Setup failing #14

Closed
lenovouser opened this issue Jul 17, 2015 · 10 comments
Closed

Setup failing #14

lenovouser opened this issue Jul 17, 2015 · 10 comments

Comments

@lenovouser
Copy link

The docker image is failing setup by this command from the documentation:

docker run -it --rm --link some-postgres:postgres sentry sentry createsuperuser

and this error:

Traceback (most recent call last):
  File "/usr/local/bin/sentry", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/sentry/utils/runner.py", line 428, in main
    initializer=initialize_app,
  File "/usr/local/lib/python2.7/site-packages/logan/runner.py", line 191, in run_app
    configure_app(config_path=config_path, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/logan/runner.py", line 104, in configure_app
    raise ValueError("Configuration file does not exist at %r" % (config_path,))
ValueError: Configuration file does not exist at '/home/user/.sentry/sentry.conf.py'
@lenovouser
Copy link
Author

Any updates?

@yosifkit
Copy link
Contributor

We are working on a branch to hopefully fix this and make it easier to run sentry. It will include a conf file to automatically work with linked postgres/mysql, redis, and memcached containers. Currently it is in https://github.com/infosiftr/sentry/tree/conf. I welcome any feedback.

@NanneHuiges
Copy link

Not sure where you want the feedback, so putting it here :)

The thing I was lacking apart from the config file, is the celery workers. They should be started (I believe) to get everything up and running, but a quick look in your proposed branch doesn't seem to start them?

I could be way off the mark here, as I'm not an expert, but I needed to fiddle with the workers to get my manual test-install going, so I suppose a docker-version should also have them?

@tianon
Copy link
Contributor

tianon commented Jul 21, 2015 via email

@NanneHuiges
Copy link

Yeah, I looked at the links file and didn't see the workers, that's why I feedbacked it :)

@thelinuxlich
Copy link

+1

@tianon
Copy link
Contributor

tianon commented Jul 29, 2015

This is fixed and updated in the documentation now. 👍

@tianon tianon closed this as completed Jul 29, 2015
@lenovouser
Copy link
Author

@tianon I am still getting this error somehow.

@mattrobenolt
Copy link
Contributor

@lenovouser Are you using the latest version? 8.1.2?

@lenovouser
Copy link
Author

@mattrobenolt I thought I was because I used :latest, but it used a older version somehow. Got some other issues now though, will create a new issue for that. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants