Dockerfile say, Zerotier 1.6.6, whereas current is 1.8.4
jradxl opened this issue · comments
Hello
Current version of ZeroTier is 1.8.4
Are you continuing to support this?
OK:
Just seen your latest commit, where you identify 1.8.4 breaks controller.
I guess there are other things too as I had to add libpq-dev, but still the controller build fails
Yes:
Just looked at PostgreSQL.cpp, and they are very different. Alas, I'm not conversant with C++
@chmis8000 Hello Friend, please check my fork https://github.com/D4rk4/docker-zerotier-controller
@chmis8000 Hello Friend, please check my fork https://github.com/D4rk4/docker-zerotier-controller
Dear friend , i use you fork, follow the instructions to complete the installation.
I replaced the planet file on the client and restarted the service, zerotier-cli listpeers
showed endpoints as leaf but not planet, and the official planet points still exist.
200 listpeers <ztaddr> <path> <latency> <version> <role>
200 listpeers 62f865ae71 50.7.252.138/9993;4108;3708 401 - PLANET
200 listpeers 778cde7190 103.195.103.66/9993;4108;3877 233 - PLANET
200 listpeers xxx x.x.x.x/9993;7451;7451 42 1.8.4 LEAF # I have hidden personal information
200 listpeers cafe04eba9 84.17.53.155/9993;4108;3902 207 - PLANET
200 listpeers cafe9efeb9 104.194.8.134/9993;9557;3927 181 - PLANET
Is this as expected?
@jqtmviyu custom planet deployment:
0) Stop zerotier-one
- Remove all content of /var/lib/zerotier-one/
- place custom plannet to /var/lib/zerotier-one/planet
- copy your moons to /var/lib/zerotier-one/moons.d/
- start zerotier-one service
P.S. You must have at least one moon, the first moon must be placed on the controller node you can generate it with snippet like:
zerotier-idtool initmoon identity.public > moon.json
ip addr show | grep inet | grep global | awk '{print $2}' | cut -f1 -d/ | sed 's|$|/5061|'
# add stable endpoint at this step
nano moon.json
zerotier-idtool genmoon moon.json
cp *.moon moons.d/
Dockerfile, Line 7, ENV PATCH_ALLOW=1. Needed to run patch.py
With =0, you'll see "PATCH: Nothing to do" in the build log, and that's why you have the 4 Zerotier Planets