Introducing SNAP Tracks!

Introducing snap tracks

A long requested feature from our snap users has been to have more control over their upgrades. Cases like where we release 2.0 and maybe it changes a behavior they want a bit more time to adjust for. Or more importantly they want to be there when the snap is updated in case something goes wrong.

Snap tracks are a simple way for you as a user to control which version of Rocket.Chat you are running.

By default if you perform:

snap install rocketchat-server

You are put into the “latest” track. This means you will always get the latest release no matter what.

We have now introduced the 2.x track. Switching to this track means that you will only receive updates related to our 2.x releases. So when we release 3.0 to snaps your server will ignore it.

Switching to a track

To switch to the 2.x track you need to run:

snap switch rocketchat-server --channel=2.x/stable

Much like the normal latest track you have stable / candidate / edge. We will likely continue to make use of candidate to release minor updates to before we move them over to stable.

If you do want to be in one of those other channels you can do:

snap switch rocketchat-server --channel=2.x/candidate

We’d still strongly recommend staying in the stable channel for production.

Upgrading between tracks

When comes time to upgrade to another version you can choose when to make this update happen.

First backup your data

https://rocket.chat/docs/installation/manual-installation/ubuntu/snaps/#how-do-i-backup-my-snap-data

Then you can perform:

snap switch rocketchat-server --channel=3.x/stable

Feedback

Now that we are beginning the use of tracks. We’d like to know from you. Is this useful? How would you like to be informed of new tracks being released?

We are investigating the possibility of maybe opening the track sooner if not with new releases? So maybe the release notes?

We’d love to hear your thoughts!

Thanks!

1 Like

As of now, there is a gap of maybe 4 weeks between a new release and its representation in snap. Does “latest - no matter what” mean this gap will be closed?

Great news! Looking foward to get new releases on SNAP earlier.

lastest seems to mean latest 2.X version, at the moment 2.4.9 :slight_smile:

Latest in this sense just means latest snap released.

Right now even though it feels like torture for some. It really is for the best interest of everyone that we take longer. In the time we delay, most of the time we get a couple of patch releases out. Leading to a more stable release when its automatically rolled out for all of the snap users. (which is a lot)

Indeed. We are going to introduce the 3.x track soon so people can begin to use 3.X as they wish.

We will keep posted!

We have now made 3.x the new default. So any new install will automatically track the 3.x track if they do not manually specify their track of choice. :slight_smile:

2 Likes

Thanks a lot - I switched the track to 3 and updated the server - works like a charm.