Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(options): Remove SENTRY_URL_PREFIX #34342

Closed
wants to merge 1 commit into from
Closed

Conversation

mgaeta
Copy link
Contributor

@mgaeta mgaeta commented May 6, 2022

When a user starts up a brand new server they're seeing this warning:

The SENTRY_URL_PREFIX setting is deprecated. Please use SENTRY_OPTIONS['system.url-prefix'] instead.

The setting was deprecated seven years ago in #2402 so I hope it's safe to delete.

Fixes getsentry/self-hosted#1309.

@scefali
Copy link
Contributor

scefali commented May 9, 2022

@mgaeta I know that this has been deprecated for a while, but there's still a risk associated with removing this field. Based on the Github issue, maybe the better fix is to only spit out the deprecation warning if SENTRY_URL_PREFIX is explicitly set in the user's config. That being said, if @chadwhitacre is OK removing the field entirely then I can approve.

@chadwhitacre
Copy link
Member

Not thrilled about this approach, would prefer we get to the bottom of why the initializer is running more than once.

@mgaeta mgaeta closed this May 23, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jun 8, 2022
@asottile-sentry asottile-sentry deleted the fix/sentry-url-prefix branch December 1, 2023 16:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The SENTRY_URL_PREFIX setting is deprecated
4 participants