You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But in the case of an amd64 distro, it simply downloads the binary (not the deb), and runs the join, without creating the service file.
Considering lines 12 to 52, I think that you either were using packages in the past, or are planning to. But currently, the script as is does not function as expected, as the netclient will not be restarted upon reboot. It is not even moved to /usr/bin so trying to run netclient leave… will not work either, as the binary sits where the script was run.
Version
v0.14.3
What OS are you using?
Linux
Relevant log output
[netclient] 2022-06-22 09:42:40 joining testnet at api.netmaker.<mydomain>.systems:443
[netclient] 2022-06-22 09:42:40 starting wireguard
[netclient] 2022-06-22 09:42:42 certificates/key saved
[netclient] 2022-06-22 09:42:42 sent a node update to server for node <myservername> , <uuid>
[netclient] 2022-06-22 09:42:44 error running command: systemctl restart netclient.service
[netclient] 2022-06-22 09:42:44 Failed to restart netclient.service: Unit netclient.service not found.
### Contributing guidelines
- [X] Yes, I did.
The text was updated successfully, but these errors were encountered:
Thanks, that is what I ended up doing.
I can swear I read this somewhere in some doc here https://netmaker.readthedocs.io, but I am now unable to find it again.
Contact Details
No response
What happened?
Running
On a fresh ubuntu 22.04 server, does not create the service file.
Looking at the script, at line 216 we see :
But in the case of an amd64 distro, it simply downloads the binary (not the deb), and runs the join, without creating the service file.
Considering lines 12 to 52, I think that you either were using packages in the past, or are planning to. But currently, the script as is does not function as expected, as the netclient will not be restarted upon reboot. It is not even moved to
/usr/bin
so trying to runnetclient leave…
will not work either, as the binary sits where the script was run.Version
v0.14.3
What OS are you using?
Linux
Relevant log output
The text was updated successfully, but these errors were encountered: