T0a Posted May 14, 2022 Share Posted May 14, 2022 Why don't you use the official Zerotier image for the template? Does your image contain custom changes for Unraid? Quote Link to comment
Dmitry Spikhalskiy Posted May 15, 2022 Author Share Posted May 15, 2022 (edited) Quote Why don't you use the official Zerotier image for the template? Does your image contain custom changes for Unraid? Yes, it's a custom image. First of all, it's on Alpine and it's much lighter. Zerotier official image moved to debian at some time, I took their image at that time and maintain myself: https://github.com/Spikhalskiy/zerotier-containerized/blob/master/Dockerfile Second, it has a custom starter script that wires parameters the right way: https://github.com/Spikhalskiy/zerotier-unraid-docker/blob/master/Dockerfile It doesn't have any changes to zerotier binaries and install them from the official sources. It's all on github, suit yourself. Edited May 15, 2022 by Dmitry Spikhalskiy Quote Link to comment
Eddie Seelke Posted June 1, 2022 Share Posted June 1, 2022 (edited) Does anyone know how to update ZT to 1.8.10 in this? Edited June 1, 2022 by Eddie Seelke Quote Link to comment
Dmitry Spikhalskiy Posted June 1, 2022 Author Share Posted June 1, 2022 41 minutes ago, Eddie Seelke said: Does anyone know how to update ZT to 1.8.10 in this? Is there a problem 1.8.10 solves for you that 1.8.2 doesn't? Quote Link to comment
Michael Kaaber Posted June 13, 2022 Share Posted June 13, 2022 (edited) Hi Dmitry, Do you have time to update to latest Version? Regards Michael Edited June 13, 2022 by Michael Kaaber Quote Link to comment
Dmitry Spikhalskiy Posted June 13, 2022 Author Share Posted June 13, 2022 (edited) 4 hours ago, Michael Kaaber said: Hi Dmitry, Do you have time to update to latest Version? Regards Michael 1.10.0? I will skip this one. 1. I see several issues in github that after an upgrade specifically to 1.10.0 users installations stopped working. I inclined to wait for at least first patch version. https://github.com/zerotier/ZeroTierOne/issues/1692 https://github.com/zerotier/ZeroTierOne/issues/1695 2. I'm not sure what's going on with 1.10.0. The latest code changes in zerotier github are for 1.8.10. There is neither Release Notes related to 1.10.0 (https://github.com/zerotier/ZeroTierOne/blob/master/RELEASE-NOTES.md), nor code changes between 1.8.10 - 1.10.0. I don't want to upgrade to some version that is stated just on their website and completely doesn't exist in the code repository. I guess it's ok if they suddenly went closed source, but it's not ok that I can't find any information or statement about it around at all. Edited June 13, 2022 by Dmitry Spikhalskiy Quote Link to comment
jimrummy101 Posted June 13, 2022 Share Posted June 13, 2022 Using ZTNCUI my zero tier server is crashing at random intervals. "exited: ztone (exit status 0; expected)" is the last thing it says before going offline. Restarting the container makes it work again until the next random crash. Any ideas? Quote Link to comment
jimrummy101 Posted June 15, 2022 Share Posted June 15, 2022 (edited) I think I've figured out a solution. I'll create an update if I'm still getting issues. First go into your ztncui appdata folder and create a file called supervisord.conf. Open it and paste in the contents of your container's "/etc/supervisord.conf" file. You can get the contents by: Opening the console, cd /etc/, cat supervisord.conf Edit your appdata supervisord.conf once more and add a line to the [program:ztone] section that says 'autorestart=true'. This should in theory force ztone to restart whenever is exits expectedly(which I was getting) or unexpectedly. Finally navigate to your container and add a new path: Config Type: Path Name: Supervisord.confg Container Path: /etc/supervisord.conf Host Path: /mnt/user/appdata/ztncui/supervisord.conf Press apply and it should all boot fine. You can check the container has picked up your supervisord.conf file by doing what we did previously using cat inside the container console. It should show our new autorestart line. Edit: A few days later after these changes ztone tried to exit and it auto restarted. Everything working normally as if nothing happened. Edited June 19, 2022 by jimrummy101 Providing an update Quote Link to comment
ianGB Posted July 5, 2022 Share Posted July 5, 2022 Adding more than one zerotier network. I would like to create two zerotier networks. One that only allows access to my Emby server e.g.192.166.10:8096 and another network that allows me to access the UNRAID dashboard i.e. 192.168.0.10:80. I can see how to do this by creating two separate zerotier networks. Does your container allow me to specify more than one zerotier network? Suggestions for alternative methods welcomed! Quote Link to comment
ianGB Posted July 10, 2022 Share Posted July 10, 2022 On 7/5/2022 at 8:43 AM, ianGB said: I can see how to do this by creating two separate zerotier networks. Does your container allow me to specify more than one zerotier network? Suggestions for alternative methods welcomed! To answer my own question. It's simple: just add another network id in the Network ID field. Quote Link to comment
final Posted July 20, 2022 Share Posted July 20, 2022 In unraid 6.10.2, the application cannot be registered in the zerotier network, can it be fixed? Quote Link to comment
Dmitry Spikhalskiy Posted July 20, 2022 Author Share Posted July 20, 2022 (edited) 6 hours ago, final said: In unraid 6.10.2, the application cannot be registered in the zerotier network, can it be fixed? This app/container works fine with Unraid 6.10.2 or 6.10.3, there is nothing to fix. You have to debug your own environment. In the root post you can find steps that you should do to make a meaningful information about your issue. Somebody in this thread may help if you provide enough info. Edited July 20, 2022 by Dmitry Spikhalskiy Quote Link to comment
ms2003 Posted September 27, 2022 Share Posted September 27, 2022 can this docker using NAT router function? How to config? 1 Quote Link to comment
mops Posted October 28, 2022 Share Posted October 28, 2022 Hey I installed Zerotier on my unraid server and authorized it on my network. I can ping the server from another pc in the zerotier network. But I have no access to the Dashboard in the zt network or with smb to access my files. Do I need to change or add some settings in unraid to reach the Dashboard and files? Quote Link to comment
Dmitry Spikhalskiy Posted November 7, 2022 Author Share Posted November 7, 2022 The image was upgraded to the latest Zerotier 1.10.2 Quote Link to comment
ilpixelmatto Posted November 11, 2022 Share Posted November 11, 2022 Hi, for a few days my unraid no longer connects to the zerotier VPN or does it for a few minutes and then goes offline. I have not made any changes to the server or to the router, I accidentally noticed it while trying to connect from outside the home. I enclose some information, hoping it will be useful: From the logs of the docker: connect: Operation timed out connect: Operation timed out connect: Host is unreachable connect: Host is unreachable connect: Host is unreachable / # zerotier-cli info 200 info abcda***f8 1.10.2 OFFLINE / # zerotier-cli listnetworks 200 listnetworks <nwid> <name> <mac> <status> <type> <dev> <ZT assigned ips> 200 listnetworks a0cbf4b****1148 IlPixelMatto 4a:ba:63:**:ce:0c OK PRIVATE ztc3***j3c 192.168.191.12/24 / # zerotier-cli listpeers 200 listpeers <ztaddr> <path> <latency> <version> <role> 200 listpeers 62f865**71 - -1 - PLANET 200 listpeers 778cde**90 - -1 - PLANET 200 listpeers cafe04**a9 - -1 - PLANET 200 listpeers cafe9e**b9 - -1 - PLANET The router has automatically created: There are no changes on the zerotier website Anyone have any idea what may be causing the problem? My provider is fastweb which is under NAT. Thanks! Quote Link to comment
Dmitry Spikhalskiy Posted November 11, 2022 Author Share Posted November 11, 2022 (edited) @ilpixelmatto 4 days ago I upgraded the container from 1.8.2 to 1.10.2. If you want to check if that is what causes your instability, you may downgrade by specifying a tag "spikhalskiy/zerotier:1.8.2" and see how it behaves. Edited November 11, 2022 by Dmitry Spikhalskiy Quote Link to comment
ilpixelmatto Posted November 15, 2022 Share Posted November 15, 2022 On 11/11/2022 at 4:57 PM, Dmitry Spikhalskiy said: @ilpixelmatto 4 days ago I upgraded the container from 1.8.2 to 1.10.2. If you want to check if that is what causes your instability, you may downgrade by specifying a tag "spikhalskiy/zerotier:1.8.2" and see how it behaves. I try with the "old" 1.8.2 but I have the same problem, I don't understand where is the problem, I don't have made any change in mounths. But now the zerotier-cli info tell me this: zerotier-cli info zerotier-cli: /usr/lib/libstdc++.so.6: no version information available (required by zerotier-cli) [...] zerotier-cli: /usr/lib/libstdc++.so.6: no version information available (required by zerotier-cli) 200 info abcda278f8 1.8.2 TUNNELED (on my.zerotier is offline 1H 34M) zerotier-cli listpeers 200 listpeers <ztaddr> <path> <latency> <version> <role> 200 listpeers 62f8***e71 - -1 - PLANET 200 listpeers 778***190 - -1 - PLANET 200 listpeers a0c***b62a - -1 1.10.2 LEAF 200 listpeers caf***eba9 - -1 - PLANET 200 listpeers caf***feb9 - -1 - PLANET zerotier-cli listnetworks 200 listnetworks <nwid> <name> <mac> <status> <type> <dev> <ZT assigned ips> 200 listnetworks a0cbf4b6***1148 IlPixelMatto 4a:ba:63:**:ce:0c OK PRIVATE ztc***j3c fda0:cbf4:b62a:***:4899:93ab:***:***/88,192.168.191.12/24 I tried enabling ipv6 as well but nothing changed. I've tried using another docker like "tailscale" VPN and it works fine so I'm assuming it's not the router blocking the connection. Also because I've been using zerotier in a virtual machine for more than a year and I've never had connection problems from that zerotier instance). Thanks very much for your hard work. 🥰 Quote Link to comment
ilpixelmatto Posted November 21, 2022 Share Posted November 21, 2022 On 11/15/2022 at 9:22 AM, ilpixelmatto said: I try with the "old" 1.8.2 but I have the same problem, I don't understand where is the problem, I don't have made any change in mounths. But now the zerotier-cli info tell me this: zerotier-cli info zerotier-cli: /usr/lib/libstdc++.so.6: no version information available (required by zerotier-cli) [...] zerotier-cli: /usr/lib/libstdc++.so.6: no version information available (required by zerotier-cli) 200 info abcda278f8 1.8.2 TUNNELED (on my.zerotier is offline 1H 34M) zerotier-cli listpeers 200 listpeers <ztaddr> <path> <latency> <version> <role> 200 listpeers 62f8***e71 - -1 - PLANET 200 listpeers 778***190 - -1 - PLANET 200 listpeers a0c***b62a - -1 1.10.2 LEAF 200 listpeers caf***eba9 - -1 - PLANET 200 listpeers caf***feb9 - -1 - PLANET zerotier-cli listnetworks 200 listnetworks <nwid> <name> <mac> <status> <type> <dev> <ZT assigned ips> 200 listnetworks a0cbf4b6***1148 IlPixelMatto 4a:ba:63:**:ce:0c OK PRIVATE ztc***j3c fda0:cbf4:b62a:***:4899:93ab:***:***/88,192.168.191.12/24 I tried enabling ipv6 as well but nothing changed. I've tried using another docker like "tailscale" VPN and it works fine so I'm assuming it's not the router blocking the connection. Also because I've been using zerotier in a virtual machine for more than a year and I've never had connection problems from that zerotier instance). Thanks very much for your hard work. 🥰 Just for information, I updated unraid to 6.11.5 and now everything is working again with the latest version of the container. Quote Link to comment
air1kdf Posted November 26, 2022 Share Posted November 26, 2022 On 6/5/2018 at 11:21 AM, Dmitry Spikhalskiy said: @bonienl Ok cool, join to network didn't go right. What about a result of manual input ./zerotier-cli join <NETWORK_ID> You may want to consider putting this in the install guide, as this was a requirement for mine to work. Thank you for your work. Quote Link to comment
Dmitry Spikhalskiy Posted November 26, 2022 Author Share Posted November 26, 2022 (edited) 16 minutes ago, air1kdf said: You may want to consider putting this in the install guide, as this was a requirement for mine to work. Thank you for your work. @air1kdf this container does exactly that on every start. If this command helped you, you either put an incorrect networkId in the container settings or a simple restart of the container would also help. Edited November 26, 2022 by Dmitry Spikhalskiy Quote Link to comment
astro_remote Posted December 4, 2022 Share Posted December 4, 2022 Hi, Wenn i try to give this input : / # ./zerotier-cli join xxxxxx I receive this respond : sh: ./zerotier-cli: not found / # zerotier-cli info 200 info 781219ed00 1.10.2 ONLINE / # zerotier-cli listnetworks 200 listnetworks <nwid> <name> <mac> <status> <type> <dev> <ZT assigned ips> / # zerotier-cli listpeers 200 listpeers <ztaddr> <path> <latency> <version> <role> 200 listpeers 62f865ae71 50.7.252.138/9993;8848;8674 175 - PLANET 200 listpeers 778cde7190 103.195.103.66/9993;8848;3718 126 - PLANET 200 listpeers cafe04eba9 84.17.53.155/9993;13853;13818 35 - PLANET 200 listpeers cafe9efeb9 104.194.8.134/9993;8848;3681 163 - PLANET Have you a solution ? Thanks Quote Link to comment
rdagitz Posted December 5, 2022 Share Posted December 5, 2022 I have two servers: Primary and Offsite. (Offsite is a backup server for Primary.) Both Primary and Offsite were using Duckdns. A few weeks ago I switched Primary to use Cloudflare with my own domain. Primary, Offsite and my laptop are connected to my Zerotier network via the shared Zerotier Nework ID. Before making the change to Cloudflare for Primary, I could turn on the Zerotier client on my laptop and connect to Primary and Offsite without a problem. Now I can only reach Offsite. Primary is not accessible. Any ideas why? Quote Link to comment
Moepsindi Posted December 6, 2022 Share Posted December 6, 2022 I get the same error as Astro_Remote where sh: ./zerotier-cli: not found. However I have pFsense doing all my VPN traffic. My unRaid server is behind the VPN. But my other 3 devices have no issues so I am not sure why. Quote Link to comment
Dmitry Spikhalskiy Posted December 7, 2022 Author Share Posted December 7, 2022 (edited) @Moepsindi Why do you run ./zerotier-cli at all? This container doesn't have runnable `zerotier-cli` in the root of the file system. So, this command is not expected to work. zerotier-cli executable is in `/usr/bin/zerotier-cli`. `zerotier-cli join` or `zerotier-cli info`, etc will work in this container. Edited December 7, 2022 by Dmitry Spikhalskiy Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.