Hi zrok team. Could you please help me with zrok release
command?
https://api.zrok.io/ shows share https://smokedrwin11test01cc.share.zrok.io/
That target was created by killed zrok process.
How I can release that target now?
zrok release smokedrwin11test01cc -v
returns
[ERROR]: error releasing share ([DELETE /unshare][404] unshareNotFound)
You can delete it in the web console.
As for why the zrok release
command isn't finding it, maybe it was already deleted?
zrok overview
returned the same picture as web console.
There were 2 environments on one host.
Now successfully deleted in web console unused share and environment.
Thank you very much @qrkourier
You're most welcome.
For the record, when an environment is deleted in the console all reservations are permanently released, and temporary shares are permanently deleted. Running zrok disable
has the same effect and also cleans up the local state files.
Temporary and reserved shares are owned by an enabled environment, and each environment is owned by an account. You can enable many environments with the same account, and you must manage shares on a per-environment basis. Environments' state are maintained as files in the home directory, so you typically have one environment per user per device, and it's also possible to have separate environments for a Linux system service or Docker service.