Upgrade tunnel on Ubuntu

My laptop has been updating the tunneler package, it currently shows 1.2.2. The admin console shows that 1.1.2 is running, which would be from about the time that I originally installed.

I can't find any documentation specifically about upgrading the tunneler. It's not clear to me to following the instructions for a new debian install would be appropriate.

Suggestions appreciated. Thanks

Hi again @aepurvis :wave:

Yes, you can upgrade the Linux package normally. The latest stable release of the Linux tunneler is 1.2.9. You're on Debian, so the commands are:

sudo apt update
sudo apt install ziti-edge-tunnel

The version of the tunneler is different from the version of the Ziti controller, router, etc.

You can check what's installed.

ziti-edge-tunnel version

The version command does indeed show 1.2.2. I'm actually on Ubuntu, and this appears to be the latest version available.

The Identities page of the admin console shows the SDK version, but I just discovered that if you mouse over the SDK entry you see the current version running on the device.

Yep! Each edge SDK reports some metadata to your Ziti controller for observability. This includes the version of the SDK used by the tunneler. Based on this console inspection, Tunneler 1.2.9 uses Ziti's C (lang) SDK 1.2.1.

Peek 2024-12-09 13-35

I expected tunneler version 1.2.9 to be available after sudo apt update because 1.2.9 was promoted last Thursday to the latest stable status and published in the Debian repository used by Ubuntu distributions.

Do you get an error when specifying the version?

sudo apt install ziti-edge-tunnel=1.2.9

I get this:

andrew@ThinkPad-T480:~$ sudo apt install ziti-edge-tunnel=1.2.9
[sudo] password for andrew:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package ziti-edge-tunnel is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Version '1.2.9' for 'ziti-edge-tunnel' was not found

If I don't specify the version I get this:

andrew@ThinkPad-T480:~$ sudo apt install ziti-edge-tunnel
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ziti-edge-tunnel is already the newest version (1.2.2).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

Did updating the package cache cause an error?

No errors from the update, and install still reporting 1.2.2 as latest.

I just checked, and 1.2.2 was installed within a couple of days of release so this is kind of odd.

I was unable to recreate the problem with Ubuntu Focal 20 or Noble 24. I keep getting the expected latest tunneler 1.2.9 when I do apt update and apt install ziti-edge-tunnel.

Which repo source are you using? It may be defined in a file like this.

$ cat /etc/apt/sources.list.d/ziti-edge-tunnel.list                                                                            
deb [signed-by=/usr/share/keyrings/openziti.gpg] https://packages.openziti.org/zitipax-openziti-deb-stable jammy main

The "jammy" repo is the latest Debian/Ubuntu build, so that's what I use for DEB distros based on the same or newer, e.g., Ubuntu 22+, Debian 12+.

ref: Tunneling on Debian GNU/Linux | OpenZiti

That was the problem - no repo source defined. Not sure how I got the last few updates installed, but updated to 1.2.9 now.

Re the ref, I hadn't looked at the Debian GNU/linux tab because there was one for Ubuntu.

It occurs to me that I upgraded to 24.04 LTS about a month ago. I had neglected to enable 3rd party repositories so that's probably when the updates stopped.

Thanks for the help.

1 Like