Now that netclient 0.14.0 installs, I think it is ...
# client
w
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
This is on debian bullseye?
w
yes, still debian 11, sorry. The deamon is not starting.
j
hmmm ok, no service file under /etc/systemd/system?
w
no, after running apt install... it's not there
j
hmmm, I wonder if it's related to this bug: https://github.com/gravitl/netmaker/issues/1087
w
looks like the same thing, yes.
j
We'll look into it. @bored-island-21407 may need your help here
w
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
does debian have a different path for system files?
w
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
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
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
oh, nice!
b
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
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
good to know... I think apt update; apt reinstall netclient would work too
m
still showing 0.14.0 after apt update - will give packages a few hours to settle and try again
b
I need to add a release tag, ie. 0.14.0-1 (not done yet) will add when uninstall script is added.
m
Were you able to publish? Still showing 0.14.0 in ubuntu 🙂
b
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
sounds good!
perhaps the "Version" field is incorrect?
b
I think I need to put $VERSION-$REVESION in that field
m
bingo - now checking to see if the issue resolves
b
what problem were you having?
m
status error in portal and mesh connections weren't connecting
b
ok, keep us posted
m
appears to have done the trick - mesh starting to form
b
great
j
0.14.0 client install missing service file