# Unable to delete zrok environment connected to a deleted VM

**URL:** <https://openziti.discourse.group/t/unable-to-delete-zrok-environment-connected-to-a-deleted-vm/6096>\
**Category:** zrok\
**Created:** [September 21, 2026, 1:14am UTC](https://openziti.discourse.group/t/unable-to-delete-zrok-environment-connected-to-a-deleted-vm/6096 "2026-09-21T01:14:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![qatester](https://avatars.discourse-cdn.com/v4/letter/q/f17d59/32.png) [@qatester](https://openziti.discourse.group/u/qatester)\
**Post date:** [September 21, 2026, 1:14am UTC](https://openziti.discourse.group/t/unable-to-delete-zrok-environment-connected-to-a-deleted-vm/6096/1 "2026-09-21T01:14:02Z")

</div>

Hello, I have an old environment (Zrok1) from a deleted VM that is stuck. I managed to fetch its environment `zId` using `zrok2 list environments --json`, but running the `delete environment` command returns a 500 internal server error. The stuck environment ID is: `5-aZ3oicjK `.I'm also not able to delete it from the console (An error occurred releasing your environment `5-aZ3oicjK.`) Can someone help me delete it? Thank you

---

<div class="post-metadata">

**Author:** ![Lisicka](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@Lisicka](https://openziti.discourse.group/u/Lisicka)\
**Post date:** [September 21, 2026, 6:44am UTC](https://openziti.discourse.group/t/unable-to-delete-zrok-environment-connected-to-a-deleted-vm/6096/2 "2026-09-21T06:44:40Z")

</div>

> [@qatester](#):
>
> Hello, I have an old environment (Zrok1) from a deleted VM that is stuck. I managed to fetch its environment `zId` using `zrok2 list environments --json`, but running the `delete environment` command returns a 500 internal server error. The stuck environment ID is: `5-aZ3oicjK `.I'm also not able to delete it from the console (An error occurred releasing your environment `5-aZ3oicjK.`) Can someone help me delete it? Thank youI’m getting the same

I’m getting the same error; I can’t delete the root@61bb73a67aed environment. I need help deleting it again.

---

<div class="post-metadata">

**Author:** ![CheeryHawk65](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@CheeryHawk65](https://openziti.discourse.group/u/CheeryHawk65)\
**Post date:** [September 21, 2026, 10:10am UTC](https://openziti.discourse.group/t/unable-to-delete-zrok-environment-connected-to-a-deleted-vm/6096/3 "2026-09-21T10:10:14Z")

</div>

Yh we are all in the same situation ... I hope someone will help soon

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [September 30, 2026, 1:22pm UTC](https://openziti.discourse.group/t/unable-to-delete-zrok-environment-connected-to-a-deleted-vm/6096/4 "2026-09-30T13:22:16Z")

</div>

> [@Stuck zrok2 account – enable and web console release both return 500 error](https://openziti.discourse.group/t/stuck-zrok2-account-enable-and-web-console-release-both-return-500-error/6041/21):
>
> I have been told by the team other zrok updates are due to come out today. We'll follow up in a bit and hopefully these problems will be fixed. Thanks for letting us know

Just following up here to let you know in case you haven't seen.. Please follow that thread for updates

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [September 30, 2026, 7:19pm UTC](https://openziti.discourse.group/t/unable-to-delete-zrok-environment-connected-to-a-deleted-vm/6096/5 "2026-09-30T19:19:53Z")

</div>

> [@Stuck zrok2 account – enable and web console release both return 500 error](https://openziti.discourse.group/t/stuck-zrok2-account-enable-and-web-console-release-both-return-500-error/6041/23):
>
> Hi everyone. If you had stuck sessions that cannot be deleted, I'm told you should now be able to delete them on your own again. I don't have any I can test myself personally but if someone does and if they could post a follow-up here with success (or failure but let's hope not) that would be appreciated. Thanks again for reporting the issues and bearing with us while we make zrok better!

Hi. Just following up here too. I made this post on the pinned topic but just FYI here to make sure I cover all the bases... [duplicating the summary of that post here follows]

* * *

If you had stuck sessions that cannot be deleted, I'm told you should now be able to delete them on your own again. I don't have any I can test myself personally but if someone does and if they could post a follow-up here with success (or failure but let's hope not) that would be appreciated.

Thanks again for reporting the issues and bearing with us while we make zrok better!
