The issue I was facing I upgraded hydra from 1.8.5...
# talk-hydra
b
The issue I was facing I upgraded hydra from 1.8.5 to 2.0.3 First we got the error
Copy code
The authorization server encountered an unexpected condition that prevented it from fulfilling the request. 
- Could not ensure that signing keys for hydra.openid.id-token exists. 
- If you are running against a persistent SQL database this is most likely because your secrets.system SECRETS_SYSTEM environment variable is not set or changed.
- When running with an SQL database backend you need to make sure that the secret is set and stays the same%2C unless when doing key - rotation. 
- This may also happen when you forget to run hydra migrate sql
we performed key rotation and after that it worked but whenever we do deploy new changes automatically all jwks getting invalid and same error getting populated not sure why went through the hydra migration guide, apply upgrades, change_log but haven't found anything Am i missing something? is there any new yaml field we have add in config anyone can suggest something? Is anyone facing same issue?
m
Hello @bumpy-apple-67716, sorry you are having trouble. The best resource would be the CHANGELOG, everything that changed is documented in there. There are also multiple conversations in github discussions and the Slack archive. If you still cant figure it out, please do open a discussion on the ory/hydra repo 🙏 https://github.com/ory/hydra/discussions documentation (feel free to also amend it if something is missing) https://www.ory.sh/docs/hydra/self-hosted/upgrade https://www.ory.sh/docs/hydra/self-hosted/secrets-key-rotation
b
I have opened discussion on forum https://github.com/ory/hydra/discussions/3416