ZeroTier-CLI on Linux Mint Error



  • Installed the ZeroTier One client on Linux Mint 17.3. Following the instructions here, running the command should product the output of command options. But even getting the help options returns an error:

    $ sudo zerotier-cli 
    zerotier-cli: missing port and zerotier-one.port not found in /var/lib/zerotier-one
    


  • Using zerotier-cli -h does what is expected, just not as documented on the site.



  • Ah ha, document seems to leave out this critical instruction:

    sudo service zerotier-one start
    

    Once you run that, the command starts to work.



  • @scottalanmiller said:

    Ah ha, document seems to leave out this critical instruction:

    sudo service zerotier-one start
    

    Once you run that, the command starts to work.

    Ya I don't think the documentation mentions it. It just tells you on the cli when it's done installing.



  • @johnhooks said:

    Ya I don't think the documentation mentions it. It just tells you on the cli when it's done installing.

    On CentOS it does, on Mint it does not. There is no output of the command on Mint. Because Mint is a desktop using a graphical installer, that feedback is lost. So there is no way of knowing that they have info that you need there.



  • @adam-ierymenko -- Perhaps it would be worth having the ZeroTier daemon start after the packages have been installed?



  • @dafyre said:

    @adam-ierymenko -- Perhaps it would be worth having the ZeroTier daemon start after the packages have been installed?

    That would be my guess. Or at a very minimum, just adding that to the installation instruction page. It seems that the assumption is that the Linux install is for servers, and I am sure it often is, but if you are on a desktop or use a graphical UNIX server interface, that information is lacking. It only caught me because my first installation of ZeroTier was to a Mint graphical system where you just click the DEB file and it installs. So neither the package for the instructions gave any hint of another step being needed and running the command provided no hint either.



  • @scottalanmiller said:

    @johnhooks said:

    Ya I don't think the documentation mentions it. It just tells you on the cli when it's done installing.

    On CentOS it does, on Mint it does not. There is no output of the command on Mint. Because Mint is a desktop using a graphical installer, that feedback is lost. So there is no way of knowing that they have info that you need there.

    Oooh, I did it on Ubuntu but I used the cli to install. I guess that's why I never noticed haha.



  • It's kind of funny how people approach things differently too. I use the cli on my desktops all the time. I never would have thought to use the package installer. I don't know the last time I actually used the software store either. It seems much quicker to just type it, and I think it downloads and installs faster that way too.



  • @johnhooks said:

    It's kind of funny how people approach things differently too. I use the cli on my desktops all the time. I never would have thought to use the package installer. I don't know the last time I actually used the software store either. It seems much quicker to just type it, and I think it downloads and installs faster that way too.

    Depends, if you have to do it often, it's faster to get it from the CLI. But if you are on the web site doing a one off, the click to download and go straight to graphical installer is about as instant as it is going to get.



  • @scottalanmiller said:

    @johnhooks said:

    It's kind of funny how people approach things differently too. I use the cli on my desktops all the time. I never would have thought to use the package installer. I don't know the last time I actually used the software store either. It seems much quicker to just type it, and I think it downloads and installs faster that way too.

    Depends, if you have to do it often, it's faster to get it from the CLI. But if you are on the web site doing a one off, the click to download and go straight to graphical installer is about as instant as it is going to get.

    I think the Ubuntu store ruined it for me. It used to take forever to load so I always just did cli, maybe I need to try the Fedora store and see how it works.



  • @johnhooks said:

    I think the Ubuntu store ruined it for me. It used to take forever to load so I always just did cli, maybe I need to try the Fedora store and see how it works.

    On Mint you just click on the DEB, there is no store involved.



  • @scottalanmiller said:

    @johnhooks said:

    I think the Ubuntu store ruined it for me. It used to take forever to load so I always just did cli, maybe I need to try the Fedora store and see how it works.

    On Mint you just click on the DEB, there is no store involved.

    Ah ok. Ya Ubuntu used to load the full store (not sure if it still does) to install something. So I just started doing gdebi or dpkg -i or dnf install ./package for everything I downloaded.

    I have my menu key on my keyboard mapped to the drop down terminal Gnome 3 extension because I don't use that key anyway. So opening the terminal and running it is pretty quick.

    I'll have to see how Fedora handles that.