Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting members #16

Closed
Fastidious opened this issue Nov 15, 2018 · 9 comments
Closed

Deleting members #16

Fastidious opened this issue Nov 15, 2018 · 9 comments
Assignees

Comments

@Fastidious
Copy link

I deleted a member, yet the entry doesn't get removed from the list. Is there a workaround for that? The member was an old iPhone, which was surplussed without leaving the network before hand.

@key-networks key-networks self-assigned this Nov 15, 2018
@key-networks
Copy link
Owner

I've noticed this as well. It seems to be a ZeroTier issue. The solution is to get the member to leave the network.

@Fastidious
Copy link
Author

I went to zerotier-one directory (/var/lig/zerotier-one/) and was able to edit .jsons and delete a file with the "zombie" ID in it, managing to get it removed from the list, without breaking anything.

The solution provided isn't longer possible, as I do not have the device. Is there a way to force a "defunct" member to leave a network?

@key-networks
Copy link
Owner

I'm not sure - maybe you could ask amongst the Zerotier community and feed back here?

@Sevenlive
Copy link

I have the same Issue....

Didn't try deleting the files yet, but i guess it will help

@key-networks
Copy link
Owner

Here is a workaround:

NETWORK=c741fda1ece47103
MEMBER=2c26433123
sudo rm /var/lib/zerotier-one/controller.d/network/${NETWORK}/member/${MEMBER}.json
sudo systemctl restart zerotier-one

@fastcat
Copy link

fastcat commented Jun 13, 2019

For others that come along and find this, I found I had to delete /var/lib/zerotier-one/peers.d/${MEMBER}.peer as well

@key-networks
Copy link
Owner

Thanks @fastcat

@mdPlusPlus
Copy link

Do you have the intention to add this to ztncui?

@key-networks
Copy link
Owner

@mdPlusPlus - I'm happy to accept code contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants