-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Upgrading to 1.4.1 PREVIOUS_SECRET_KEY UnicodeDecodeError #18859
Comments
@fmaritato if you were already using a custom |
@villebro as i stated above i did not have a custom secret key. I was using the default. What is the solution? |
@fmaritato uhh, sorry, I misread; check the steps here: #18785 (comment) |
ok thank you @villebro it wasn't clear to me before that I had to set the previous key to that literal string. The other comments said it was an example. Thanks! |
I still do not understand this. Must be stupid. If I have the default key, what should I set PREVIOUS_SECRET_KEY to? |
This is a one time breaking change to force admins of existing installations who had forgotten to set a secret key to set one (failure to do so would make the installation vulnerable to data leaks and other vulnerabilities). @ziggekatten did you do what was instructed in this message? #18785 (comment) Did this not work? |
Yes it did, but it was not really clear that the PREVIOUS_SECRET_KEY string in that comment was not an example, but in fact the default key. I just tried that string with no hope, and it worked. Documentation is not that clear.....:-) |
I am upgrading an existing superset 1.3.2 to 1.4.1 . I did not previously have a SECRET_KEY defined. In reading the Updating.md file it says to set PREVIOUS_SECRET_KEY but if I didnt have one set previously, what do I set this to?
I tried PREVIOUS_SECRET_KEY = "" and ran
superset re-encrypt-secrets
but I get an error:I'm using a postgres database that has data in it that I can't lose, so I'm stuck here. Any help would be appreciated.
Is there a specific table/row that I can manually delete to get past this?
Environment
I'm using the apache/superset:1.4.1 docker image
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: