Hi. For a while now, my deployments can not be vie...
# prefect-ui
m
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
@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
prefect deployment delete {flow_name}/{deployment_name}
🙌 1
s
prefect, thanks a lot Mathijs
Although, I am still not able to see my deployments in the UI
m
how are you creating deployments?
s
through the CLI and yaml file for deployment
prefect deployment apply xxxxx.yaml
m
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
yes, i edited the type of the parameter
because I wanted to pass a list instead of the default string
m
Could you share your .yaml file?
🙌 1
s
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
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