Hi! Do you know if during upgrade of prefect stack...
# prefect-server
m
Hi! Do you know if during upgrade of prefect stack I need to perform some manual actions? I have everything in 0.13.19, hasura migrations done via prefect-graphql, but I'm sill receiving error, during flow run
Copy code
GRAPHQL_VALIDATION_FAILED: Cannot query field "get_or_create_task_run_info" on
        type "Mutation". Did you mean "get_or_create_task_run" or
        "get_or_create_mapped_task_run_children"?
j
Hi @Miecio it looks like you’re using a new version of prefect core against an older version of server. How are you starting the server?
v
I was hitting this error as well - it seems like the order of the services matters. So, a restart of
prefecthq/apollo:core
even on correct version might help
m
I've ran into the same problem when deploying a new image of all prefect services on k8s. Tracked the issue down to Apollo fetching the GQL schema only once, at startup. It should continuously poll and stitch the schemas on the fly in case the GQL deployment hasn't been updated yet. Restarting the deployment also helps
m
Thanks a lot for Your advice! You were right that restart deployment of
prefecthq/apollo:core
helps. I was almost sure that there is something wrong with graphql deployment so I focused on it. Now it all works fine