https://netmaker.org logo
#client
Title
# client
w

white-piano-73111

05/17/2022, 3:18 PM
Now that netclient 0.14.0 installs, I think it is missing the service file. It joins and pulls but no updates are happening. > netclient join -t eyJzZXJ2ZXI...iIifQ== > [netclient] 2022-05-17 08:57:00 joining TheInternet at api.netmaker....:443 > [netclient] 2022-05-17 08:57:00 starting wireguard > [netclient] 2022-05-17 08:57:02 certificates/key saved > [netclient] 2022-05-17 08:57:02 sent a node update to server for node dmz-netclient , 1185ce9c-fb0e-44fe-8ee8-a75cb92f21d7 > [netclient] 2022-05-17 08:57:04 error running command: systemctl restart netclient.service > [netclient] 2022-05-17 08:57:04 Failed to restart netclient.service: Unit netclient.service not found. > netclient pull > [netclient] 2022-05-17 09:01:50 No network selected. Running Pull for all networks. > [netclient] 2022-05-17 09:01:54 certificates/key saved > [netclient] 2022-05-17 09:01:56 error running command: systemctl restart netclient.service > [netclient] 2022-05-17 09:01:56 Failed to restart netclient.service: Unit netclient.service not found. > ls /etc/systemd/system/netclient.service > ls: cannot access '/etc/systemd/system/netclient.service': No such file or directory
j

jolly-london-20127

05/17/2022, 3:18 PM
This is on debian bullseye?
w

white-piano-73111

05/17/2022, 3:19 PM
yes, still debian 11, sorry. The deamon is not starting.
j

jolly-london-20127

05/17/2022, 3:22 PM
hmmm ok, no service file under /etc/systemd/system?
w

white-piano-73111

05/17/2022, 3:22 PM
no, after running apt install... it's not there
j

jolly-london-20127

05/17/2022, 3:22 PM
hmmm, I wonder if it's related to this bug: https://github.com/gravitl/netmaker/issues/1087
w

white-piano-73111

05/17/2022, 3:24 PM
looks like the same thing, yes.
j

jolly-london-20127

05/17/2022, 3:33 PM
We'll look into it. @bored-island-21407 may need your help here
w

white-piano-73111

05/17/2022, 4:06 PM
The file does get installed into var/lib as per the deb file. dpkg -L netclient /. /sbin /sbin/netclient /var /var/lib /var/lib/systemd /var/lib/systemd/system /var/lib/systemd/system/netclient.service but neither systemd-analyze --user unit-paths or systemd-analyze --system unit-paths list that path as included
b

bored-island-21407

05/17/2022, 4:19 PM
does debian have a different path for system files?
w

white-piano-73111

05/17/2022, 4:21 PM
Wondering that myself. But looking at the https://manpages.ubuntu.com/manpages/focal/en/man5/systemd.unit.5.html, I don't think var/lib is a default search path in stystemd.
m

most-boots-20267

05/17/2022, 4:42 PM
Also impacted here with that error on each node. Now all nodes showing error in netmaker web ui - not sure if they are related. Running wg on each node shows that peers are there but no traffic flowing.
b

bored-island-21407

05/17/2022, 4:43 PM
if the daemon isn't running, the clients won't checkin with the server --- thus the error/warning in the UI
updating the deb now to put service file in /lib/systemd/system/
m

most-boots-20267

05/17/2022, 4:45 PM
oh, nice!
b

bored-island-21407

05/17/2022, 4:51 PM
ok, deb is updated ... think you can do apt update and it will pick it up (not 100% sure)
let me know as I still need to add a proper uninstall script
w

white-piano-73111

05/17/2022, 4:59 PM
Didn't pick it up. Complained about the changed hash instead lol. I did an apt remove --purge netclient followed by apt update and apt install netclient. Installed without issue and the service started when joining
b

bored-island-21407

05/17/2022, 5:00 PM
good to know... I think apt update; apt reinstall netclient would work too
m

most-boots-20267

05/17/2022, 5:38 PM
still showing 0.14.0 after apt update - will give packages a few hours to settle and try again
b

bored-island-21407

05/17/2022, 5:43 PM
I need to add a release tag, ie. 0.14.0-1 (not done yet) will add when uninstall script is added.
m

most-boots-20267

05/18/2022, 3:52 PM
Were you able to publish? Still showing 0.14.0 in ubuntu 🙂
b

bored-island-21407

05/18/2022, 3:54 PM
not sure why the release is not showing --- I think I am missing something --- but I did update apt-repo.netmaker.org this morning ... latest should solve the permissions on the binary
will be adding arm7 version later today --- will see if I can fix the release at same time
m

most-boots-20267

05/18/2022, 5:36 PM
sounds good!
perhaps the "Version" field is incorrect?
b

bored-island-21407

05/18/2022, 5:45 PM
I think I need to put $VERSION-$REVESION in that field
m

most-boots-20267

05/18/2022, 7:33 PM
bingo - now checking to see if the issue resolves
b

bored-island-21407

05/18/2022, 7:35 PM
what problem were you having?
m

most-boots-20267

05/18/2022, 7:35 PM
status error in portal and mesh connections weren't connecting
b

bored-island-21407

05/18/2022, 7:36 PM
ok, keep us posted
m

most-boots-20267

05/18/2022, 7:37 PM
appears to have done the trick - mesh starting to form
b

bored-island-21407

05/18/2022, 7:39 PM
great
j

jolly-london-20127

06/03/2022, 1:45 PM
0.14.0 client install missing service file