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

[Bug]: sudo netclient install self-destructs on macos #3269

Open
1 task done
christian-schlichtherle opened this issue Dec 19, 2024 · 2 comments
Open
1 task done

[Bug]: sudo netclient install self-destructs on macos #3269

christian-schlichtherle opened this issue Dec 19, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@christian-schlichtherle

Contact Details

No response

What happened?

$ sudo netclient install
[netclient] 2024-12-19 14:13:32 updating netclient binary in /usr/local/bin/ 
[netclient] 2024-12-19 14:13:32 stat /usr/local/bin/netclient: no such file or directory 
{"time":"2024-12-19T14:13:32.583799+01:00","level":"ERROR","source":"install.go 33}","msg":"daemon install error","error":"stat /usr/local/bin/netclient: no such file or directory"}
$ sudo netclient install
sudo: netclient: command not found

Version

v0.30.0

What OS are you using?

Mac

Relevant log output

No response

Contributing guidelines

  • Yes, I did.
@abhishek9686
Copy link
Member

abhishek9686 commented Dec 19, 2024

use the installer for MAC - https://fileserver.netmaker.io/releases/download/v0.30.0/Netclient-Intel.pkg
https://fileserver.netmaker.io/releases/download/v0.30.0/Netclient-M1.pkg
if installing through binary, you need to mention the path to the downloaded binary for installation (e.g /tmp/netclient install) otherwise it is going pick currently installed version on your system

@christian-schlichtherle
Copy link
Author

@abhishek9686 all fine except this command should be idempotent and never self-destruct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants