Onpremise: How to update configuration?

Created on 19 Jan 2017  路  3Comments  路  Source: getsentry/onpremise

I'm having trouble updating the configuration, here's what I've tried:

  • Added SENTRY_FEATURES['auth:register'] = False to sentry.conf.py
  • make build
  • docker-compose run --rm web upgrade
  • docker-compose restart

Sentry reloads but I still see the registration option. Had a look at https://github.com/getsentry/sentry/issues/2663 but can't see anything that helps.

Most helpful comment

Same problem as you, it looked like my sentry.conf.py wasn't actually pushed into the container. (Try doing docker ps then docker exec ctname cat sentry.conf.py)

Added second line, my Dockerfile looks like:

FROM sentry:8.11-onbuild
COPY sentry.conf.py /usr/src/sentry/sentry.conf.py

Then

docker-compose down
docker-compose build
make build
docker-compose up -d

Seems to have done it for me

All 3 comments

Same problem as you, it looked like my sentry.conf.py wasn't actually pushed into the container. (Try doing docker ps then docker exec ctname cat sentry.conf.py)

Added second line, my Dockerfile looks like:

FROM sentry:8.11-onbuild
COPY sentry.conf.py /usr/src/sentry/sentry.conf.py

Then

docker-compose down
docker-compose build
make build
docker-compose up -d

Seems to have done it for me

Thanks, think it was the COPY sentry.conf.py /usr/src/sentry/sentry.conf.py line that I had wrong.

Weirdly, the registration link has disappeared, but if I invite a user, they click the link and get an option to Login or Register, but they can use a different email to what was invited? Is this supposed to happen? Seems like an issue, being able to use personal email addresses instead of company ones etc.

Closing due to inactivity. That said this should work now and if anyone has similar issues and reading this, please file a new issue and not comment under here :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

6qiongtao picture 6qiongtao  路  4Comments

marbon87 picture marbon87  路  5Comments

jellevanhees picture jellevanhees  路  3Comments

rmisyurev picture rmisyurev  路  4Comments

dotconnor picture dotconnor  路  6Comments