You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/02/20 13:30:51 UTC

[GitHub] [superset] novemberde edited a comment on issue #8538: Change SECRET_KEY and get error `ValueError: Invalid decryption key` on K8s

novemberde edited a comment on issue #8538:
URL: https://github.com/apache/superset/issues/8538#issuecomment-1046238602


   I've encountered the same issue when upgraded superset to 1.4.1 from 1.4.0.
   I resolved the issue @andtlopez comment with one more step.
   
   1. Change SECRET_KEY on superset_config.py
   2. Access psql client and connect to the superset DB (\connect db_name;)
   3. `update dbs set password = null, encrypted_extra where id=?`;  <-  encrypted_extra should be set to null
   4. superset db upgrade
   5. superset init
   6. superset run
   7. Update password on Superset: Data > Databases (I'm using 1.2.0 btw)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org