self-hosted
self-hosted copied to clipboard
Cannot finish "Setup Sentry" when `mail.use-ssl` was set in the config
Self-Hosted Version
24.6.0
CPU Architecture
x86_64
Docker Version
25.0.0
Docker Compose Version
2.25.0
Steps to Reproduce
- Setup a fresh sentry
- Configure
mailinsidesentry/config.yml(especiallymail.use-ssl): - Visit "Welcome to Sentry"
- Click
Continue - See that nothing happens and look at the error
Expected Result
The Continue button should work.
Actual Result
URL: https://sentry.cronit.io/api/0/internal/options/?query=is:required Status: 400 Bad Request Source: Network Initiator: fetch.js:54
{
"error": "immutable_option",
"errorDetail": {
"option": "mail.use-ssl",
"message": "'mail.use-ssl' cannot be changed at runtime because it is configured on disk"
}
}
Event ID
No response
Looks like a duplicate of https://github.com/getsentry/self-hosted/issues/3139. I'm going to backlog this for now until we have a chance to investigate
The workaround is to comment out mail.use-ssl in sentry/config.yml.
@schettn Removed that mail.use-ssl from /etc/sentry/config.yml, restarted the pod and the issue is still there :(
mail.use-ssl' cannot be changed at runtime because it is configured on disk
Do you have the same error after removing it?
Maybe you have to reinstall
@schettn I’d removed the whole setup seems like 4 times. So that did not help.
I am not familiar to your setup but is /etc/sentry/config.yml correct?
When /etc/sentry is the cloned https://github.com/getsentry/self-hosted.. shouldn't the config path be /etc/sentry/sentry/config.yml?
Thanks @vanya2143, going to backlog this again, but feel free to use this as a short-term solution!
Can confirm your solution @vanya2143 . Simply did it directly from the browser (Edge).
- Open Developer Console F12
- Open Network tab
- Repeat failing request
- Select request from the list
- Right Click "Edit and send..."
- Remove "mail.use-ssl":false from body
- Resend > 200
- Reload page
I can confirm that this still exists in 24.10.0. After commenting the "mail.use-ssl" line and rerunning install.sh I was able to continue.
Documented this here: https://github.com/getsentry/self-hosted/pull/3368
Going to close this issue.