https://www.ory.sh/ logo
p

polite-analyst-53191

11/16/2021, 3:30 PM
I'm getting 503 on my hydra pod, looking inside the log gives me this: level=warning msg=Instance is not yet ready because migrations have not yet been fully applied. audience=application error=map[message:migrations have not yet been fully applied: If I restart the deployment, everything is fine for a whie but it always returns to the same state, I'm using the latest image. Anyone knows where i should look? pretty lost here
l

limited-tent-11422

11/16/2021, 3:32 PM
Do you have readiness check?
p

polite-analyst-53191

11/16/2021, 3:32 PM
yeah
l

limited-tent-11422

11/16/2021, 3:33 PM
Readiness check wouldn’t pass if you have migrations not applied.
p

polite-analyst-53191

11/16/2021, 3:33 PM
but why do i have migrations not applied?
It never repairs itsself either
l

limited-tent-11422

11/16/2021, 3:34 PM
You need to run
hydra migrate
command in init container before running
hydra serve
.
p

polite-analyst-53191

11/16/2021, 3:35 PM
but it starts up fine, its after its been alive for a while?
if i restart, i get no problems
for a whie
i can only guess that it has something with my refresh token hook?
cause thats the only new thing ive been using
l

limited-tent-11422

11/16/2021, 3:37 PM
doesn’t sound like it tho
3 Views