https://prefect.io logo
m

Mathijs Carlu

10/26/2022, 6:28 AM
Hi. For a while now, my deployments can not be viewed in the UI. When I list them through the CLI, everything seems to work though. Also, when inspecting and reloading the deployments page, the API call seems to execute as it should. However, nothing is rendered in the UI. I'm on prefect 2.6.4, but also experienced this problem in 2.4.3 (I think).
1
I had tried out creating deployments using the API, seems like I did something wrong on one of them. Deleting the deployments fixed the issue
s

Sunjay

10/26/2022, 9:34 AM
@Mathijs Carlu I am facing the same issue, can you please tell me how to delete the deployment through the CLI ? Thanks
prefect deployments delete "id" ?
m

Mathijs Carlu

10/26/2022, 9:38 AM
prefect deployment delete {flow_name}/{deployment_name}
🙌 1
s

Sunjay

10/26/2022, 9:38 AM
prefect, thanks a lot Mathijs
Although, I am still not able to see my deployments in the UI
m

Mathijs Carlu

10/26/2022, 9:42 AM
how are you creating deployments?
s

Sunjay

10/26/2022, 9:42 AM
through the CLI and yaml file for deployment
prefect deployment apply xxxxx.yaml
m

Mathijs Carlu

10/26/2022, 9:43 AM
And prefect deployment ls does give you results?
I think, because of using the API for creation, I did something equivalent to adapting the deployment.yaml file under the "DO NOT EDIT BELOW THIS LINE". If you made edits below that, maybe it's because of that?
s

Sunjay

10/26/2022, 9:47 AM
yes, i edited the type of the parameter
because I wanted to pass a list instead of the default string
m

Mathijs Carlu

10/26/2022, 9:48 AM
Could you share your .yaml file?
🙌 1
s

Sunjay

10/26/2022, 9:52 AM
ah while i was about to share the yaml file, i realised there were conflicting deployment details in the same config file causing the issue
i resolved the duplicate name and it resolved the issue. Thanks for nudging me in the right directions
🙌 1
j

Jenny

10/26/2022, 11:20 AM
The ui side of this should be fixed in our next release. Please let us know if you see it again. We advise creating deployments in the cli or Python to avoid issues.
👍 1