-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[9.1.0 On-Premise] AssertionError: cannot be changed at runtime because it is configured on disk #12722
Comments
I tried to deploy Here's what I got from
|
Currently in the same boat. Tried manually configuring each available option in auth.allow-registration: false
beacon.anonymous: true
mail.from: ""
mail.host: ""
mail.password: ""
mail.port: 465
mail.use-tls: true
mail.username: ""
system.admin-email: ""
system.url-prefix: "" However, the onboarding page still shows up EDIT: |
confirmed: save the same in config.yml, restart the docker containers and you are in. |
@zoltanlaczko @dotconnor I also met the same issues, save the same in config.yml then docker-compose restart , but I still met the issues |
@ne1000 : docker stop&rm&run. you have to delete the container before |
After setting your config in sentry/src/sentry/api/endpoints/system_options.py Lines 91 to 93 in ea073b1
If you're using docker, then run the following command on the web container: docker exec CONTAINER sentry config set sentry:version-configured '9.1.0' |
@dotconnor yes, it's ok, i'm logined , but how to set up mail delivery ? |
@zoltanlaczko thanks, but it's not ok for me, need to run command as below : |
thanks @ @dotconnor :)) |
If you're modifying your To sum up :
|
@dotconnor Mail still can't be sent. I use SSL protocol instead of tls. Is that the reason? |
Tried all, can logon, but not past the setup page. |
@itpimp Here are the steps that are working. |
@dotconnor
and it also in setup page. update: i wait a few hours,and it skip the setup pages |
Hey!
What I did was to set up Sentry with v9.0.0, and then upgrade it to 9.1.0. The issue won't occur.
… Le 18 avr. 2019 à 23:02, Mikhail Naletov ***@***.***> a écrit :
Hello!
Can I somehow skip the page?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This is resolved in sentry master and will be fixed in 9.1.1 which we're hoping to get out later today. See also #12778 and getsentry/self-hosted#167 |
I am using onpremise repo and still getting the same error. |
Are you using 9.1.1? |
I change to 9.0.0, and it's ok. |
|
Same issue here |
I get same error saving settings on admin panel. I'm running On-Premise docker 9.1.2. |
I also have the |
@salty-horse if you can replicate this in Sentry 10, can you file a new issue please? |
The issue was that I tried setting Maybe I wasn't supposed to do that, but nothing in the documentation, the live error message ("error saving settings" or somesuch), or the sentry exception hinted at what was wrong. |
@salty-horse I think that behavior is definitely a bug as a disabled field should not affect saving other fields. I'm just curious about whether this still exists in v10 or not, that's why I asked. |
Sorry, I'm not in a position to test Sentry 10 right now :( Hopefully I described the problem in enough detail in case others encounter the same issue, and don't know how to solve it, and for any willing testers to check if it still occurs. |
Hello All, I have just installed Sentry On-premise 10 ( My Scenario: I get a similar error message stating: If my scenario is not relevant to this topic in discussion, kindly advise me on how to resolve this issue. Best Regards |
@NaveenGovindraj it is not related. You need to set this value in your config files and rebuild the sentry container image via |
Important Details
How are you running Sentry?
Description
Fresh docker install gives internal server error on welcome page. cannot bypass.
Steps to Reproduce
Good items to include here include:
in chrome developer tools the request triggered an Internal Server Error.
in docker logs:
AssertionError: u'mail.port' cannot be changed at runtime because it is configured on disk, 20:40:05 [INFO] sentry.superuser: superuser.request (user_id=1 url=u'http://127.0.0.1:9000/api/0/internal/options/?query=is:required' ip_address=u'xxx.xxx.xxx.xxx' method=u'PUT'), File "/usr/local/lib/python2.7/site-packages/sentry/options/manager.py", line 90, in set, ), '%r cannot be changed at runtime because it is configured on disk' % key, options.set(k, v), File "/usr/local/lib/python2.7/site-packages/sentry/api/endpoints/system_options.py", line 79, in put, response = handler(request, *args, **kwargs), File "/usr/local/lib/python2.7/site-packages/sentry/api/base.py", line 190, in dispatch, response = super(Endpoint, self).handle_exception(exc), File "/usr/local/lib/python2.7/site-packages/sentry/api/base.py", line 90, in handle_exception, Traceback (most recent call last):
default config.yml file (only comments), only the secret_key is set in docker command.
What you expected to happen
Save the configuration without any errors
Possible Solution
The text was updated successfully, but these errors were encountered: