Skip to content

"Unknown error while saving" after sentry first login #4282

@makhomed

Description

@makhomed

Self-Hosted Version

26.3.1

CPU Architecture

x86_64

Docker Version

29.4.0

Docker Compose Version

5.1.2

Machine Specification

  • My system meets the minimum system requirements of Sentry

Installation Type

Fresh install

Steps to Reproduce

  1. install sentry
  2. try to first login
  3. got error on the user interface and see 400 status message in the Chrome Developer Console:
{
    "error": "immutable_option",
    "errorDetail": {
        "option": "mail.use-ssl",
        "message": "'mail.use-ssl' cannot be changed at runtime because it is configured on disk"
    }
}

sentry/config.yml configuration file:

###############
# Mail Server #
###############

mail.host: 'smtp-relay.gmail.com'
mail.port: 587
mail.use-ssl: false
mail.use-tls: true
mail.username: 'sentry@seample.com'
mail.password: '******************'
mail.from: 'sentry <sentry@seample.com>'

Expected Result

expected normal install and normal first login to sentry

Actual Result

"Unknown error while saving" message on the screen and not possible to login into sentry.

Event ID

No response

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions