Skip to content

[Bug] Unable to delete node #2147

@pedrompcaetano

Description

@pedrompcaetano

Is this a support request?

  • This is not a support request

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

On a new installation, it is not possible to remove a node.

Expected Behavior

It should be possible to expire and delete a node.

Steps To Reproduce

I've registered 5 hosts via login url method.
Afterwards I've sucessfully expired one node.
Lastly I'd like to delete that node, which is not possible using the following command:
root@vspasr1hscp01:~# docker exec headscale headscale nodes delete -i 5 ? Do you want to remove the node localhost? (y/N) root@vspasr1hscp01:~# ;236R;51R -bash: syntax error near unexpected token `;'

It looks like there is garbage being sent to the terminal and it is not possible to confirm the node deletion.

Environment

- OS: Debian 12.7
- Headscale version: 0.23.0
- Tailscale version: iOS 1.74.0

Runtime environment

  • Headscale is behind a (reverse) proxy
  • Headscale runs in a container

Anything else?

No response

EDIT: The command used for node deletion was incorrect.
The following command works perfectly:
docker exec -it headscale headscale nodes delete -i 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions