I’m try to install pritunl-endpoint on ubuntu 22.04 with these below steps
sudo tee /etc/apt/sources.list.d/pritunl.list << EOF
deb https://repo.pritunl.com/stable/apt jammy main
EOF
sudo apt --assume-yes install gnupg
gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A
gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A | sudo tee /etc/apt/trusted.gpg.d/pritunl.asc
sudo apt update
sudo apt install pritunl-endpoint
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
ipset libipset13 libpkcs11-helper1 net-tools openvpn pritunl-ndppd
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
pritunl-endpoint
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 4,634 kB of archives.
After this operation, 8,753 kB of additional disk space will be used.
Get:1 https://repo.pritunl.com/stable/apt jammy/main amd64 pritunl-endpoint amd64 1.0.2899.20-0ubuntu1~jammy [4,634 kB]
Fetched 4,634 kB in 2s (2,940 kB/s)
Selecting previously unselected package pritunl-endpoint.
(Reading database ... 97544 files and directories currently installed.)
Preparing to unpack .../pritunl-endpoint_1.0.2899.20-0ubuntu1~jammy_amd64.deb ...
Unpacking pritunl-endpoint (1.0.2899.20-0ubuntu1~jammy) ...
Setting up pritunl-endpoint (1.0.2899.20-0ubuntu1~jammy) ...
Scanning processes...
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
looks like the setup succeed but when we check the status is failed
sudo systemctl status pritunl-endpoint
× pritunl-endpoint.service - Pritunl Endpoint Daemon
Loaded: loaded (/etc/systemd/system/pritunl-endpoint.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2024-05-09 09:57:09 UTC; 6s ago
Process: 26153 ExecStart=/usr/bin/pritunl-endpoint start (code=exited, status=2)
Main PID: 26153 (code=exited, status=2)
CPU: 68ms
May 09 09:57:09 pritunl-zero pritunl-endpoint[26153]: /go/src/github.com/pritunl/pritunl-endpoint/main.go:49 +0x6adfaf
May 09 09:57:09 pritunl-zero pritunl-endpoint[26153]: runtime.main
May 09 09:57:09 pritunl-zero pritunl-endpoint[26153]: /usr/local/go/src/runtime/proc.go:267 +0x439b7a
May 09 09:57:09 pritunl-zero pritunl-endpoint[26153]: runtime.goexit
May 09 09:57:09 pritunl-zero pritunl-endpoint[26153]: /usr/local/go/src/runtime/asm_amd64.s:1650 +0x468d00
May 09 09:57:09 pritunl-zero pritunl-endpoint[26153]: goroutine 1 [running]:
May 09 09:57:09 pritunl-zero pritunl-endpoint[26153]: main.main()
May 09 09:57:09 pritunl-zero pritunl-endpoint[26153]: /go/src/github.com/pritunl/pritunl-endpoint/main.go:51 +0x830
May 09 09:57:09 pritunl-zero systemd[1]: pritunl-endpoint.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 09 09:57:09 pritunl-zero systemd[1]: pritunl-endpoint.service: Failed with result 'exit-code'.
From the log we can’t see the error
tail -f /var/log/pritunl-endpoint.log
[2024-05-09 09:15:11][INFO] ▶ endpoint: Registration key saved ◆ endpoint_id="cbb704ed664a14a4564e968d" ◆ pritunl_zero_host="vpn-zero.domain.com"
Whether the repository is wrong ? is there any idea for fix this ?