zerotier / install.zerotier.com Goto Github PK
View Code? Open in Web Editor NEWSource for https://install.zerotier.com curl|bash installer
Home Page: https://install.zerotier.com
License: BSD 3-Clause "New" or "Revised" License
Source for https://install.zerotier.com curl|bash installer
Home Page: https://install.zerotier.com
License: BSD 3-Clause "New" or "Revised" License
following instructions on [https://www.zerotier.com/download/](the dowwnload page)
and either executing
curl -s https://install.zerotier.com | sudo bash
or
curl -s 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/main/doc/contact%40zerotier.com.gpg' | gpg --import && \ if z=$(curl -s 'https://install.zerotier.com/' | gpg); then echo "$z" | sudo bash; fi
ends up breaking the system with.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (URI parse)
E: The list of sources could not be read.*** Package installation failed! Unfortunately there may not be a package
*** for your architecture or distribution. For the source go to:
*** https://github.com/zerotier/ZeroTierOne
my current workaround to fix this, has been to manually disable the ZT repo, from the script, followed by manually adding
deb http://download.zerotier.com/debian/bookworm bookworm main
as its repo
manually adding the gpg key, from the install script, as well as attempt to followthe following steps.
I would really appreciate a .deb installer!
Currently zerotier creates a malformed .list file which breaks apt cache and doesn't install a package
*** ZeroTier Service Quick Install for Unix-like Systems
*** Tested OSes / distributions:
*** MacOS (10.13+) (just installs ZeroTier One.pkg)
*** Debian Linux (7+)
*** RedHat/CentOS Linux (6+)
*** Fedora Linux (16+)
*** SuSE Linux (12+)
*** Mint Linux (20+)
*** Kali Linux (2024.1+)
*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.
*** Please report problems by opening a GitHub issue or Pull Request at:
*** https://github.com/zerotier/install.zerotier.com
*** Please include the content of /etc/os-release for your distribution.
*** Detecting Linux Distribution
*** Detected Linux Mint, creating /etc/apt/sources.list.d/zerotier.list
E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (URI parse)
E: The list of sources could not be read.
*** Installing zerotier-one package...
E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (URI parse)
E: The list of sources could not be read.
*** Package installation failed! Unfortunately there may not be a package
*** for your architecture or distribution. For the source go to:
*** https://github.com/zerotier/ZeroTierOne
/etc/os-release contents:
NAME="Linux Mint"
VERSION="22 (Wilma)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 22"
VERSION_ID="22"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=wilma
UBUNTU_CODENAME=noble
Was previously working and now no longer working. Unsure what else ya'lls need.
|| [ $ID == "opencloudos" ]
*** ZeroTier Service Quick Install for Unix-like Systems
*** Tested OSes / distributions:
*** MacOS (10.13+) (just installs ZeroTier One.pkg)
*** Debian Linux (7+)
*** RedHat/CentOS Linux (6+)
*** Fedora Linux (16+)
*** SuSE Linux (12+)
*** Mint Linux (20+)
*** Kali Linux (2024.1+)
*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.
*** Please report problems by opening a GitHub issue or Pull Request at:
*** https://github.com/zerotier/install.zerotier.com
*** Please include the content of `/etc/os-release` for your distribution.
*** Detecting Linux Distribution
*** Found unknown yum-based repo, using el/7, creating /etc/yum.repos.d/zerotier.repo
*** Installing ZeroTier service package...
ZeroTier, Inc. RPM Release Repository 9.6 kB/s | 3.0 kB 00:00
Error:
Problem: cannot install the best candidate for the job
- nothing provides libcrypto.so.10()(64bit) needed by zerotier-one-1.14.0-1.el7.x86_64 from zerotier
- nothing provides libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) needed by zerotier-one-1.14.0-1.el7.x86_64 from zerotier
- nothing provides libcrypto.so.10(OPENSSL_1.0.2)(64bit) needed by zerotier-one-1.14.0-1.el7.x86_64 from zerotier
- nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by zerotier-one-1.14.0-1.el7.x86_64 from zerotier
- nothing provides libssl.so.10()(64bit) needed by zerotier-one-1.14.0-1.el7.x86_64 from zerotier
- nothing provides libssl.so.10(libssl.so.10)(64bit) needed by zerotier-one-1.14.0-1.el7.x86_64 from zerotier
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
*** Package installation failed! Unfortunately there may not be a package
*** for your architecture or distribution. For the source go to:
*** https://github.com/zerotier/ZeroTierOne
NAME="OpenCloudOS"
VERSION="9.0"
ID="opencloudos"
ID_LIKE="opencloudos"
VERSION_ID="9.0"
PLATFORM_ID="platform:oc9"
PRETTY_NAME="OpenCloudOS 9.0"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:opencloudos:opencloudos:9"
HOME_URL="https://www.opencloudos.org/"
BUG_REPORT_URL="https://bugs.opencloudos.tech/"
Last metadata expiration check: 0:04:33 ago on Wed 12 Jun 2024 11:40:01 AM CST.
openssl-libs-1.0.2k-19.el7.x86_64.rpm 80 kB/s | 1.2 MB 00:15
Error:
Problem: problem with installed package xmlrpc-c-1.54.05-5.oc9.x86_64
- package xmlrpc-c-1.54.05-5.oc9.x86_64 from @System requires libcrypto.so.3()(64bit), but none of the providers can be installed
- package xmlrpc-c-1.54.05-5.oc9.x86_64 from @System requires libcrypto.so.3(OPENSSL_3.0.0)(64bit), but none of the providers can be installed
- package xmlrpc-c-1.54.05-5.oc9.x86_64 from @System requires libssl.so.3()(64bit), but none of the providers can be installed
- package xmlrpc-c-1.54.05-5.oc9.x86_64 from @System requires libssl.so.3(OPENSSL_3.0.0)(64bit), but none of the providers can be installed
- package xmlrpc-c-1.54.05-5.oc9.x86_64 from AppStream requires libcrypto.so.3()(64bit), but none of the providers can be installed
- package xmlrpc-c-1.54.05-5.oc9.x86_64 from AppStream requires libcrypto.so.3(OPENSSL_3.0.0)(64bit), but none of the providers can be installed
- package xmlrpc-c-1.54.05-5.oc9.x86_64 from AppStream requires libssl.so.3()(64bit), but none of the providers can be installed
- package xmlrpc-c-1.54.05-5.oc9.x86_64 from AppStream requires libssl.so.3(OPENSSL_3.0.0)(64bit), but none of the providers can be installed
- cannot install both openssl-libs-1:1.0.2k-19.el7.x86_64 from @commandline and openssl-libs-3.0.12-3.oc9.x86_64 from @System
- cannot install both openssl-libs-1:1.0.2k-19.el7.x86_64 from @commandline and openssl-libs-3.0.12-7.oc9.x86_64 from BaseOS
- conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
The install script does not seem to throw proper exit codes for error handling, it would be useful to have proper exit codes for automation.
curl -s https://install.zerotier.com | sudo bash
*** ZeroTier Service Quick Install for Unix-like Systems
*** Tested OSes / distributions:
*** MacOS (10.13+) (just installs ZeroTier One.pkg)
*** Debian Linux (7+)
*** RedHat/CentOS Linux (6+)
*** Fedora Linux (16+)
*** SuSE Linux (12+)
*** Mint Linux (20+)
*** Kali Linux (2024.1+)
*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.
*** Please report problems by opening a GitHub issue or Pull Request at:
*** https://github.com/zerotier/install.zerotier.com
*** Please include the content of /etc/os-release
for your distribution.
*** Detecting Linux Distribution
*** Unknown or unsupported distribution! Aborting.
cat /etc/os-release
NAME="Alibaba Cloud Linux"
VERSION="3 (Soaring Falcon)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3 (Soaring Falcon)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"
around line 134
Detecting Linux Distribution
Does that section need an entry for Ubuntu 18.04 LTS that was released last month?
When i do curl -s https://install.zerotier.com/ | bash
It return:
`
Problem: nothing provides libcrypto.so.10()(64bit) needed by zerotier-one-1.10.5-1.el7.x86_64
Solution 1: do not install zerotier-one-1.10.5-1.el7.x86_64
Solution 2: break zerotier-one-1.10.5-1.el7.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c): c
`
Dear developers!
After installing "in one click" and easy to go ZeroTier in Windows me (and not only me) people for years have trying to solve bug with LMDE , Mint and much other systems
Can we gently ask to create same "one-click" .deb installer (including GUI) for all Debian based distros? Hope that day will comes and not only Windows users would be happy with ease
Thank you very much and hope to be heared :)
Hello,
When install Zerotier on Alpine machine using the script curl -s https://install.zerotier.com | sudo bash it returned error.
CT158:~# curl -s https://install.zerotier.com | sudo bash
*** ZeroTier Service Quick Install for Unix-like Systems
*** Tested OSes / distributions:
*** MacOS (10.13+) (just installs ZeroTier One.pkg)
*** Debian Linux (7+)
*** RedHat/CentOS Linux (6+)
*** Fedora Linux (16+)
*** SuSE Linux (12+)
*** Mint Linux (20+)
*** Kali Linux (2024.1+)
*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.
*** Please report problems by opening a GitHub issue or Pull Request at:
*** https://github.com/zerotier/install.zerotier.com
*** Please include the content of /etc/os-release
for your distribution.
*** Detecting Linux Distribution
*** Unknown or unsupported distribution! Aborting.
CT158:~#
nano /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.19.1
PRETTY_NAME="Alpine Linux v3.19"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
Anyone know what could help?
Steps to reproduce
Spin up a Debian 10 instance at Vultr, and run the following:
curl -s https://install.zerotier.com | bash
(already logged in as root, so no sudo required)
Output is as follows:
`*** ZeroTier One Quick Install for Unix-like Systems
*** Tested distributions and architectures:
*** MacOS (10.7+) on x86_64 (just installs ZeroTier One.pkg)
*** Debian (7+) on x86_64, x86, arm, and arm64
*** RedHat/CentOS (6+) on x86_64 and x86
*** Fedora (16+) on x86_64 and x86
*** SuSE (12+) on x86_64 and x86
*** Mint (18+) on x86_64, x86, arm, and arm64
*** Please report problems to [email protected] and we will try to fix.
*** Detecting Linux Distribution
*** Found Debian "buster", or "sid" (or similar), creating /etc/apt/sources.list.d/zerotier.list
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
*** Installing zerotier-one package...
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Get:4 http://download.zerotier.com/debian/buster buster InRelease [25.9 kB]
Err:4 http://download.zerotier.com/debian/buster buster InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1657198823E52A61
Reading package lists... Done
W: GPG error: http://download.zerotier.com/debian/buster buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1657198823E52A61
E: The repository 'http://download.zerotier.com/debian/buster buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package zerotier-one
*** Package installation failed! Unfortunately there may not be a package
*** for your architecture or distribution. For the source go to:
*** https://github.com/zerotier/ZeroTierOne`
For the record, installing gpg with apt install gpg
and using the following method (as shown on the ZeroTier download page) works just fine:
curl -s 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg' | gpg --import && \ if z=$(curl -s 'https://install.zerotier.com/' | gpg); then echo "$z" | bash; fi
I can also confirm that the simpler method of curl -s https://install.zerotier.com | bash
works just fine for their Debian 9 instances over at Vultr.
This Ubuntu version is going to be released in couple months, daily builds are already available. Maybe we could get support in before it's officially out?
Hi;
when I try to install zerotier on Debian 10 (Buster) it just don't reconize it; the script just jump to
else
echo "*** FAILED: unrecognized or ancient distribution: $dvers"
exit 1
The mistake is probably how the script identify Buster at the line 175 but I was'nt able to debug it :(
Note : on my machine cat /etc/debian_version
return buster/sid
and cat /etc/debian_version | cut -d '.' -f 1 | cut -d '/' -f 1
return buster
Remark : It's a similar issue of #3
if [ -f /etc/debian_version ]; then
dvers=`cat /etc/debian_version | cut -d '.' -f 1 | cut -d '/' -f 1`
$SUDO rm -f /tmp/zt-sources-list
echo '*** Found Debian "buster", or "sid" (or similar), creating /etc/apt/sources.list.d/zerotier.list'
echo "deb ${ZT_BASE_URL_HTTP}debian/buster buster main" >/tmp/zt-sources-list
...
Remark : I change the line originaly 177 for
/buster buster main
instead of/buster stretch main
The one line install command fails to install zerotier on OpenSUSE Leap 15.6 on aarch64 (Raspberry Pi) with *** Unknown or unsupported distribution! Aborting.
It seems like ID
has been updated from opensuse
to opensuse-leap
. The contents of /etc/os-release
is as follows:
localhost:~ # cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.6"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.6"
PRETTY_NAME="openSUSE Leap 15.6"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.6"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap"
LOGO="distributor-logo-Leap"
I assume this is also the case for x86_64, however I haven't tested this.
Updating the install script to look for opensuse-leap
instead of opensuse
throws the following error:
localhost:~ # bash install.sh
*** ZeroTier Service Quick Install for Unix-like Systems
*** Tested OSes / distributions:
*** MacOS (10.13+) (just installs ZeroTier One.pkg)
*** Debian Linux (7+)
*** RedHat/CentOS Linux (6+)
*** Fedora Linux (16+)
*** SuSE Linux (12+)
*** Mint Linux (20+)
*** Kali Linux (2024.1+)
*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.
*** Please report problems by opening a GitHub issue or Pull Request at:
*** https://github.com/zerotier/install.zerotier.com
*** Please include the content of `/etc/os-release` for your distribution.
*** Detecting Linux Distribution
*** Found SuSE, adding zypper YUM repo...
Warning: Legacy commandline option --type detected. This option is ignored.
Adding repository 'zerotier' ...............................................................................................................................................[done]
Repository 'zerotier' successfully added
URI : http://download.zerotier.com/redhat/el/7
Enabled : Yes
GPG Check : Yes
Autorefresh : No
Priority : 99 (default priority)
Repository priorities are without effect. All enabled repositories share the same priority.
*** Installing zeortier-one package...
Warning: File 'repomd.xml' from repository 'zerotier' is unsigned.
Note: Signing data enables the recipient to verify that no modifications occurred after the data
were signed. Accepting data with no, wrong or unknown signature can lead to a corrupted system
and in extreme cases even to a system compromise.
Note: File 'repomd.xml' is the repositories master index file. It ensures the integrity of the
whole repo.
Warning: We can't verify that no one meddled with this file, so it might not be trustworthy
anymore! You should not continue unless you know it's safe.
File 'repomd.xml' from repository 'zerotier' is unsigned.
Continue? [yes/no] (no): no
Error building the cache:
[zerotier|http://download.zerotier.com/redhat/el/7] Valid metadata not found at specified URL
History:
- Signature verification failed for repomd.xml
Warning: Skipping repository 'zerotier' because of the above error.
Some of the repositories have not been refreshed because of an error.
Loading repository data...
Reading installed packages...
'zerotier-one' not found in package names. Trying capabilities.
No provider of 'zerotier-one' found.
*** Package installation failed! Unfortunately there may not be a package
*** for your architecture or distribution. For the source go to:
*** https://github.com/zerotier/ZeroTierOne
localhost:~ #
The installer seems to work correctly on OpenSUSE Tumbleweed on aarch64.
Hi,
The incorrect GPG url is provided on https://www.zerotier.com/download/. This results in an error when trying to install using the more secure instructions. The incorrect GPG url given is https://raw.githubusercontent.com/zerotier/download.zerotier.com/master/htdocs/contact%40zerotier.com.gpg
When detecting Linux distribution, installation script assumes /etc/SuSE-release
file exists for SUSE distros. That fails on new versions because it has been removed.
toor@HOLODECK:~> lsb_release -a
LSB Version: n/a
Distributor ID: openSUSE
Description: openSUSE Tumbleweed
Release: 20210325
Codename: n/a
toor@HOLODECK:~> curl -s https://install.zerotier.com | sudo bash
[sudo] password for root:
*** ZeroTier One Quick Install for Unix-like Systems
*** Tested distributions and architectures:
*** MacOS (10.7+) on x86_64 (just installs ZeroTier One.pkg)
*** Debian (7+) on x86_64, x86, arm, and arm64
*** RedHat/CentOS (6+) on x86_64 and x86
*** Fedora (16+) on x86_64 and x86
*** SuSE (12+) on x86_64 and x86
*** Mint (18+) on x86_64, x86, arm, and arm64
*** Please report problems to [email protected] and we will try to fix.
*** Detecting Linux Distribution
*** Package installation failed! Unfortunately there may not be a package
*** for your architecture or distribution. For the source go to:
*** https://github.com/zerotier/ZeroTierOne
OpenSUSE documentation has an article for third-party software developers, who wish to add SUSE and openSUSE distros compatibility into their software.
In short, /usr/lib/os-release
is the way to go.
zerotier-one installation via curl -s https://install.zerotier.com | sudo bash
this worked with older zerotier version and on older xcp-ng version.
not installing:
*** Detecting Linux Distribution
*** Unknown or unsupported distribution! Aborting.
curl -s https://install.zerotier.com | sudo bash
curl -s https://install.zerotier.com | sudo bash
*** ZeroTier Service Quick Install for Unix-like Systems
*** Tested OSes / distributions:
*** MacOS (10.13+) (just installs ZeroTier One.pkg)
*** Debian Linux (7+)
*** RedHat/CentOS Linux (6+)
*** Fedora Linux (16+)
*** SuSE Linux (12+)
*** Mint Linux (20+)
*** Kali Linux (2024.1+)
*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.
*** Please report problems by opening a GitHub issue or Pull Request at:
*** https://github.com/zerotier/install.zerotier.com
*** Please include the content of `/etc/os-release` for your distribution.
*** Detecting Linux Distribution
*** Unknown or unsupported distribution! Aborting.
NAME="XCP-ng"
VERSION="8.2.1"
ID="xenenterprise"
ID_LIKE="centos rhel fedora"
VERSION_ID="8.2.1"
PRETTY_NAME="XCP-ng 8.2.1"
$ curl -s https://install.zerotier.com/ | bash
*** ZeroTier Service Quick Install for Unix-like Systems
*** Tested OSes / distributions:
*** MacOS (10.13+) (just installs ZeroTier One.pkg)
*** Debian Linux (7+)
*** RedHat/CentOS Linux (6+)
*** Fedora Linux (16+)
*** SuSE Linux (12+)
*** Mint Linux (20+)
*** Kali Linux (2024.1+)
*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.
*** Please report problems by opening a GitHub issue or Pull Request at:
*** https://github.com/zerotier/install.zerotier.com
*** Please include the content of `/etc/os-release` for your distribution.
*** Detecting Linux Distribution
*** Unknown or unsupported distribution! Aborting.
Installation failing for KDE Neon... here are the contents of the /etc/os-release
:
PRETTY_NAME="KDE neon 6.0"
NAME="KDE neon"
VERSION_ID="22.04"
VERSION="6.0"
VERSION_CODENAME=jammy
ID=neon
ID_LIKE="ubuntu debian"
HOME_URL="https://neon.kde.org/"
SUPPORT_URL="https://neon.kde.org/"
BUG_REPORT_URL="https://bugs.kde.org/"
PRIVACY_POLICY_URL="https://kde.org/privacypolicy/"
UBUNTU_CODENAME=jammy
LOGO=start-here-kde-neon
Hi guys, I have just spun up a new VPS and went to install ZeroTier and I am getting the following error:
`ubuntu@vps-app-dev-001:~$ curl -s https://install.zerotier.com | sudo bash
*** ZeroTier Service Quick Install for Unix-like Systems
*** Tested OSes / distributions:
*** MacOS (10.13+) (just installs ZeroTier One.pkg)
*** Debian Linux (7+)
*** RedHat/CentOS Linux (6+)
*** Fedora Linux (16+)
*** SuSE Linux (12+)
*** Mint Linux (20+)
*** Kali Linux (2024.1+)
*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.
*** Please report problems by opening a GitHub issue or Pull Request at:
*** https://github.com/zerotier/install.zerotier.com
*** Please include the content of /etc/os-release
for your distribution.
*** Detecting Linux Distribution
bash: line 291: [: missing `]'
bash: line 291: ubuntu: command not found
*** Unknown or unsupported distribution! Aborting.
ubuntu@vps-app-dev-001:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
ubuntu@vps-app-dev-001:~$
`
ZeroTier should install.
The installer fails because of an unrecognized distro.
Install EndeavourOS. Try to install ZeroTier. Notice the error.
It’s a fairly straightforward issue, so these shouldn’t be necessary.
Desktop (please complete the following information):
Additional context
Yes, but for an unrelated issue. ZeroTier actually works fine on EndeavourOS, the installer just isn’t able to detect it as an arch-based distro. I would recommend getting ZeroTier on Flatpak, AUR, Snap, or literally anything other than the installer, but I know that this is difficult.
If you just cat /etc/lsb-release
, you can grep for EndeavourOS. I don’t think you need to set up any automatic updates, unless you want to do that on AUR (which I would recommend).
Dear ZertoTier Humans,
Could you please consider releasing a binary for my very old school Synology as above for me to run your incredibly cool global networking tool? My Synology serves as a NFS storage server for my Kubernetes cluster at home. I am about to release an overhauled version of my blog here https://ortelius.io/blog/2024/04/05/how-to-bake-an-ortelius-pi-part-1-the-hardware/ that explains how folks can run a GitOps environment at home. I would like to include Zerotier in this blog to illustrate how they can use Zerotier to access this environment from anywhere in the world and showcase GitOps in action.
Yours sincerely
Sacha Wharton
What you expect to happen
When running the installer on Rocky Linux, it would determine that it should have a similar yum repo endpoint as CentOS/RHEL
What is actually happening
The installer does not recognize Rocky Linux as CentOS/RHEL equivalent and falls back to generic el7 rpm yum config. With 1.8.5 this causes the installation to proceed, but the zerotier applications fail in finding a dependent library unless it is previously installed:
zerotier/ZeroTierOne#1575 (comment)
Steps to reproduce the error
Start with a current Rocky Linux 8.5 system and run:
curl -s https://install.zerotier.com | sudo bash
zerotier-cli join <valid-network-id>
Recommended fix
Update installer script to match Rocky
and configure an identical yum repo as CentOS/RHEL
Content of /etc/os-release
NAME="VMware Photon OS"
VERSION="5.0"
ID=photon
VERSION_ID=5.0
PRETTY_NAME="VMware Photon OS/Linux"
ANSI_COLOR="1;34"
HOME_URL="https://vmware.github.io/photon/"
BUG_REPORT_URL="https://github.com/vmware/photon/issues"
Photon os uses tdnf (yum) as package manager so it can handle rpm files.
That package works on Photon OS 5
https://download.zerotier.com/RELEASES/1.14.0/dist/redhat/el9/zerotier-one-1.14.0-1.el9.x86_64.rpm
Zerotier dependency resolution fails on Opensuse Tumbleweed
Package specifies the following dependencies:
systemd
iproute
rtld(GNU_HASH)
libstdc++
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libm.so.6()(64bit)
libpthread.so.0()(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
libstdc++.so.6(GLIBCXX_3.4.17)(64bit)
libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libstdc++ isn't seen as a resolvable dependency by zypper despite libstdc++6 being installed.
The variable $VERSION_ID
used in
install.zerotier.com/install.sh.in
Lines 281 to 305 in ed81856
/etc/os-release
but does not exists for Debian testing.
Same problem can be observed in ValveSoftware/steam-for-linux#9857
Old bug report of this problem https://groups.google.com/g/linux.debian.bugs.dist/c/AYCKa0HZzSI
A possible solution may be to assume that an empty VERSION_ID
is debian:testing
or debian:sid
, and using MAX_SUPPORTED_DEBIAN_VERSION
Ubuntu and I guess others too got the problem that if the url is not https it is not working.
Any reason why http is used instead of https?
https://github.com/zerotier/install.zerotier.com/blob/master/install.sh.in#L177
Get:10 http://download.zerotier.com/debian/bionic bionic InRelease
Err:10 http://download.zerotier.com/debian/bionic bionic InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done
E: Failed to fetch http://download.zerotier.com/debian/bionic/dists/bionic/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://download.zerotier.com/debian/bionic bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
- What you expect to be happening:
That OpenSuse Leap is expected to be supported:
*** Tested OSes / distributions:
*** MacOS (10.13+) (just installs ZeroTier One.pkg)
*** Debian Linux (7+)
*** RedHat/CentOS Linux (6+)
*** Fedora Linux (16+)
*** SuSE Linux (12+)
*** Mint Linux (20+)
*** Kali Linux (2024.1+)
- What is actually happening?
Error Message inside Terminal:
*** Detecting Linux Distribution
*** Unknown or unsupported distribution! Aborting.
- Any steps to reproduce the error.
inside Terminal:
sudo curl -s https://install.zerotier.com/ | sudo bash
- Any relevant console output or screenshots:
cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.6"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.6"
PRETTY_NAME="openSUSE Leap 15.6"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.6"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap"
LOGO="distributor-logo-Leap"
- What operating system and ZeroTier version. Please try the latest ZeroTier release.
Latest script
/etc/os-release info:
GNU nano 6.2 /etc/os-release
PRETTY_NAME="elementary OS 7.1 Horus"
NAME="elementary OS"
CPE_NAME="cpe:/o:elementary:elementary_os:7.1"
VERSION_ID="7.1"
VERSION="7.1 Horus"
VERSION_CODENAME=horus
ID=elementary
ID_LIKE="ubuntu debian"
HOME_URL="https://elementary.io/"
DOCUMENTATION_URL="https://elementary.io/docs/learning-the-basics"
SUPPORT_URL="https://elementary.io/support"
BUG_REPORT_URL="https://docs.elementary.io/contributor-guide/feedback/reporting-issues"
PRIVACY_POLICY_URL="https://elementary.io/privacy-policy"
UBUNTU_CODENAME=jammy
UBUNTU_PRETTY_NAME="Ubuntu 22.04.3 LTS"
UBUNTU_NAME="Ubuntu"
UBUNTU_VERSION_ID="22.04"
UBUNTU_VERSION="22.04.3 LTS (Jammy Jellyfish)"
Installation dies when in a chroot, as it waits forever for the identity generation.
https://github.com/faddat/clay/runs/1138033544?check_suite_focus=true
I might be able to fix this, but may also just start copying the sources.list file into my device image using packer, instead. Pretty sure the identity will be generated at first boot.
Also, just realized that I must defer the generation of identity, no choice-- they'll all be the same device otherwise!
The URL for your repo-signing GPG key is broken. https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg
gives me a 404.
I wasn't trying to get it because I regularly wear tin hats, but I wanted to import it from the provided URL into my apt keyring (in my ansible playbook). I didn't find any other reference to a GPG key as the install script has it inline which I can (and will have to) use but that's less convenient.
Installation on ipv6-only machines works fine in principle, but can't fetch the GPG key atm as github.com is only available on IPv4, see zerotier/ZeroTierOne#1277
@adamierymenko suggested to use https://download.zerotier.com/[email protected]
the current script does not allow installation in atomic versions of fedora
Can you add the distro kali-rolling to the install debian option.
kali@kali:$ grep VERSION /etc/os-release$
VERSION="2020.2"
VERSION_ID="2020.2"
VERSION_CODENAME="kali-rolling"
kali@kali:
kali@kali:$ uname -v$
zerotier/ZeroTierOne#1 SMP Debian 5.5.17-1kali1 (2020-04-21)
kali@kali:
kali@kali:$ uname -r$
5.5.0-kali2-amd64
kali@kali:
I have been using it on Kali for about a year and works great.
curl -s https://install.zerotier.com | sudo bash
*** ZeroTier Service Quick Install for Unix-like Systems
*** Tested OSes / distributions:
*** MacOS (10.13+) (just installs ZeroTier One.pkg)
*** Debian Linux (7+)
*** RedHat/CentOS Linux (6+)
*** Fedora Linux (16+)
*** SuSE Linux (12+)
*** Mint Linux (20+)
*** Kali Linux (2024.1+)
*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.
*** Please report problems by opening a GitHub issue or Pull Request at:
*** https://github.com/zerotier/install.zerotier.com
*** Please include the content of /etc/os-release
for your distribution.
*** Detecting Linux Distribution
*** Unknown or unsupported distribution! Aborting.
(My linux distro is nobara, i use the script on the official website, but doesn't work, idkw)
NAME="Nobara Linux"
VERSION="39 (KDE Plasma)"
ID=nobara
ID_LIKE="rhel centos fedora"
VERSION_ID=39
VERSION_CODENAME=""
PLATFORM_ID="platform:f39"
PRETTY_NAME="Nobara Linux 39 (KDE Plasma)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=nobara-logo-icon
CPE_NAME="cpe:/o:nobaraproject:nobara:39"
DEFAULT_HOSTNAME="nobara"
HOME_URL="https://nobaraproject.org/"
DOCUMENTATION_URL="https://www.nobaraproject.org/"
SUPPORT_URL="https://www.nobaraproject.org/"
BUG_REPORT_URL="https://gitlab.com/gloriouseggroll/nobara-images"
REDHAT_BUGZILLA_PRODUCT="Nobara"
REDHAT_BUGZILLA_PRODUCT_VERSION=39
REDHAT_SUPPORT_PRODUCT="Nobara"
REDHAT_SUPPORT_PRODUCT_VERSION=39
SUPPORT_END=2025-05-13
VARIANT="KDE Plasma"
VARIANT_ID=kde
PRETTY_NAME="uos 20 SP1"
NAME="uos"
VERSION_ID="20 SP1"
VERSION="20 SP1"
ID=uos
HOME_URL="https://www.chinauos.com/"
BUG_REPORT_URL="http://bbs.chinauos.com"
*** ZeroTier Service Quick Install for Unix-like Systems
*** Tested OSes / distributions:
*** MacOS (10.13+) (just installs ZeroTier One.pkg)
*** Debian Linux (7+)
*** RedHat/CentOS Linux (6+)
*** Fedora Linux (16+)
*** SuSE Linux (12+)
*** Mint Linux (20+)
*** Kali Linux (2024.1+)
*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.
*** Please report problems by opening a GitHub issue or Pull Request at:
*** https://github.com/zerotier/install.zerotier.com
*** Please include the content of /etc/os-release
for your distribution.
*** Detecting Linux Distribution
*** Unknown or unsupported distribution! Aborting.
Hello,
I'm trying to add the ZeroTier repository on openSUSE Tumbleweed without using the installer.
I get a warning that https://download.zerotier.com/redhat/el/7/repodata/repomd.xml
is not signed.
Warning: File 'repomd.xml' from repository 'ZeroTier-Download-RHEL-7' is unsigned.
Note: Signing data enables the recipient to verify that no modifications occurred after the data
were signed. Accepting data with no, wrong or unknown signature can lead to a corrupted system
and in extreme cases even to a system compromise.
Note: File 'repomd.xml' is the repositories master index file. It ensures the integrity of the
whole repo.
Warning: We can't verify that no one meddled with this file, so it might not be trustworthy
anymore! You should not continue unless you know it's safe.
File 'repomd.xml' from repository 'ZeroTier-Download-RHEL-7' is unsigned, continue? [yes/no] (no)
It's not a problem for me since I know it's safe with HTTPS and the individual packages are signed, but still something that can be improved.
Hello.
Please update the official repository "download.zerotier.com" with packages for Ubuntu 24 (noble), currently curl -s https://install.zerotier.com | sudo bash
does not work for Ubuntu 24.
Thanks.
Hi! I'm trying to install zerotier using the following command on my Pop!_OS 22.04:
curl -s https://install.zerotier.com | sudo bash
I get the following error:
*** ZeroTier Service Quick Install for Unix-like Systems
*** Tested OSes / distributions:
*** MacOS (10.13+) (just installs ZeroTier One.pkg)
*** Debian Linux (7+)
*** RedHat/CentOS Linux (6+)
*** Fedora Linux (16+)
*** SuSE Linux (12+)
*** Mint Linux (20+)
*** Kali Linux (2024.1+)
*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.
*** Please report problems by opening a GitHub issue or Pull Request at:
*** https://github.com/zerotier/install.zerotier.com
*** Please include the content of `/etc/os-release` for your distribution.
*** Detecting Linux Distribution
*** Unknown or unsupported distribution! Aborting.
Here's what my /etc/os-release
looks like:
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os
I am not sure with the use of a script coming from the network directly...
Maybe it is OK, you may know security way better than me. But I feel it is unsecure, and if the first step to use networking software is something I feel unsecure, I feel the whole product to be unsecure.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.