zerotier/ZeroTierOne

DS918+ zerotier_apollolake-6.1_1.4.0-0.spk not working

reginbald opened this issue · 5 comments

I have tried the following:

  • Disabling QuickConnect
  • Disabling OpenVPN
  • Restoring web port to default (5000/5001)
  • Restarting NAS
  • Reinstall ZT
  • Checked for presence of dev/net/tun
  • Verified that ZT is or is not running with ps aux | grep zerotier
  • confirmed that config files exist in /var/packages/zerotier/target/var
  • Issued zerotier-cli commands as root

I am aware of the following

  • The GUI is deprecated and may not work on my particular NAS
  • The CLI is the recommended interface for controlling ZT

Other important information

  • Model: DS918+
  • Current DSM version: 6.2.2-24922
  • DSM version when issue was first observed: 6.2.2-24922

Hi,
I'm unable to connect to my zerotier network from my Synology DS918+ running DSM 6.2.2-24922 Update 5.
I installed zerotier_apollolake-6.1_1.4.0-0.spk manually with the Synology web GUI.
This how it looks in the GUI:
image
I get the response command not found when I execute zerotier-cli
image

Does anyone have any idea what might be wrong?

sudo cat /var/log/packages/zerotier.log gives me

2020/03/14 14:09:50 install zerotier 1.4.0-0 Begin preinst
2020/03/14 14:09:50 install zerotier 1.4.0-0 End preinst ret=[0]
2020/03/14 14:09:50 install zerotier 1.4.0-0 Begin /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/zerotier
2020/03/14 14:09:50 install zerotier 1.4.0-0 End /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/zerotier ret=[0]
2020/03/14 14:09:50 install zerotier 1.4.0-0 Begin /bin/rm -rf /var/packages/zerotier
2020/03/14 14:09:50 install zerotier 1.4.0-0 End /bin/rm -rf /var/packages/zerotier ret=[0]
2020/03/14 14:09:50 install zerotier 1.4.0-0 Begin /bin/mkdir -p /var/packages/zerotier
2020/03/14 14:09:50 install zerotier 1.4.0-0 End /bin/mkdir -p /var/packages/zerotier ret=[0]
2020/03/14 14:09:50 install zerotier 1.4.0-0 Begin /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/zerotier/INFO
2020/03/14 14:09:50 install zerotier 1.4.0-0 End /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/zerotier/INFO ret=[0]
2020/03/14 14:09:50 install zerotier 1.4.0-0 Begin /bin/rm -rf /var/packages/zerotier/scripts
2020/03/14 14:09:50 install zerotier 1.4.0-0 End /bin/rm -rf /var/packages/zerotier/scripts ret=[0]
2020/03/14 14:09:50 install zerotier 1.4.0-0 Begin /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/zerotier/scripts
2020/03/14 14:09:50 install zerotier 1.4.0-0 End /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/zerotier/scripts ret=[0]
2020/03/14 14:09:50 install zerotier 1.4.0-0 Begin /bin/rm -rf /var/packages/zerotier/conf
2020/03/14 14:09:50 install zerotier 1.4.0-0 End /bin/rm -rf /var/packages/zerotier/conf ret=[0]
2020/03/14 14:09:50 install zerotier 1.4.0-0 Begin /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/zerotier/conf
2020/03/14 14:09:50 install zerotier 1.4.0-0 End /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/zerotier/conf ret=[0]
2020/03/14 14:09:50 install zerotier 1.4.0-0 Begin postinst
ln: failed to create symbolic link '/usr/local/zerotier/zerotier': File exists
ln: failed to create symbolic link '/usr/local/bin/zerotier-cli': No such file or directory
ln: failed to create symbolic link '/usr/local/bin/zerotier-idtool': No such file or directory
2020/03/14 14:09:50 install zerotier 1.4.0-0 End postinst ret=[0]
2020/03/14 14:09:50 install zerotier 1.4.0-0 Begin /bin/rm -rf /volume1/@tmp/pkginstall
2020/03/14 14:09:50 install zerotier 1.4.0-0 End /bin/rm -rf /volume1/@tmp/pkginstall ret=[0]
2020/03/14 14:09:51 install zerotier 1.4.0-0 Begin start-stop-status start
insmod: ERROR: could not insert module /lib/modules/tun.ko: File exists
2020/03/14 14:09:52 install zerotier 1.4.0-0 End start-stop-status start ret=[0]

I'm guessing the installation process is broken since I get:

2020/03/14 14:09:50 install zerotier 1.4.0-0 Begin postinst
ln: failed to create symbolic link '/usr/local/zerotier/zerotier': File exists
ln: failed to create symbolic link '/usr/local/bin/zerotier-cli': No such file or directory
ln: failed to create symbolic link '/usr/local/bin/zerotier-idtool': No such file or directory
2020/03/14 14:09:50 install zerotier 1.4.0-0 End postinst ret=[0]

and

2020/03/14 14:09:51 install zerotier 1.4.0-0 Begin start-stop-status start
insmod: ERROR: could not insert module /lib/modules/tun.ko: File exists
2020/03/14 14:09:52 install zerotier 1.4.0-0 End start-stop-status start ret=[0]

Thanks for making this ticket. Is it the case that this stopped working after an update or has it never worked?

I have a similar problem on the zerotier_apollolake-6.1_1.4.0-0.spk. Zerotier-GUI works on DSM webpage but i I get the response:
immagine
when I try to execute zerotier-cli.
Anyway, zerotier works perfectly and I'm able to access NAS from outside.

SETUP INFORMATION:

  • Model: DS718+

  • Current DSM version: 6.2.2-24922 Update 3

New packages and documentation for DSM 6 available here: docs.zerotier.com/devices/synology