Upgrading rocketchat-server with snap to 6.x fails on ARM64

Description

Hello. I’m trying to upgrade rocketchat-server on ARM64 from 5.4.10 to 6.4.5 with snap. However when running “sudo snap refresh rocketchat-server --channel=6.x/stable”, I get:

error: snap “rocketchat-server” is not available on 6.x/stable but is available to install on the
following channels:

   6.x/candidate  snap refresh --channel=6.x/candidate rocketchat-server
   6.x/beta       snap refresh --channel=6.x/beta rocketchat-server
   6.x/edge       snap refresh --channel=6.x/edge rocketchat-server

   Please be mindful pre-release channels may include features not completely tested or
   implemented. Get more information with 'snap info rocketchat-server'.

Even though, it shows as available when I do a “sudo snap info rocketchat-server”:

channels:
6.x/stable: 6.4.5 2023-11-29 (1591) 359MB -
6.x/candidate: ↑
6.x/beta: ↑
6.x/edge: 6.4.5 2023-11-08 (1591) 359MB -

And it also shows as available at the snapcraft.io repo for ARM64:
Install Rocket.Chat Server on Linux | Snap Store

Can you help? Thanks in advance.

Server Setup Information

  • Version of Rocket.Chat Server: 5.4.10
  • Operating System: Raspberry Pi OS Bullseye
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 14.19.3 - arm64
  • MongoDB Version: 4.0.28
  • Proxy: caddy
  • Firewalls involved: none

Any additional Information

I’m upgrading because the current snap package for 5.4.10 has the error below:

YOUR CURRENT MONGODB VERSION IS NOT SUPPORTED,
PLEASE UPGRADE TO VERSION 4.4 OR LATER

I’m not sure what the status is with these builds.

Let me try and find out.

Hi, just curious if you had any further info on this? Running Rocketchat Server on a Raspberri Pi is a very nice option for some, hoping development for ARM64 will continue.

I have asked what the status is and it is being investigated but I have no timeline for this.

I don’t think these were ever ‘official’ builds so it was up to interested individuals to produce them.

I’ll let you know as soon as I hear something - I do have the right person on the case - but it might take a while internally to resolve. As ever, there are many competing priorities.

Subject: Solution: Working Docker Image for Rocket.Chat on ARM64 (v7.9.3)

Hello everyone,

After struggling for days with build errors (sharp, bcrypt) and runtime issues (“Topology is closed”, Node.js version conflicts) trying to get a modern version of Rocket.Chat running on my ARM64 server, I finally managed to create a stable, working Docker image.

To save others from the same headache, I’ve published the image publicly on Docker Hub. It’s built for linux/arm64 and is perfect for Raspberry Pi, Oracle Cloud ARM instances, and similar platforms.

You can find the image and detailed setup instructions here:
https://hub.docker.com/r/p1626/rocketchat-arm64

I hope this helps anyone else who is stuck. This build is for Rocket.Chat v7.9.3 running on Node.js v22.

Good effort.

Let them know in the pi channel here:

#raspberrypi

Note Mongo 5 has been EOL since 10/2024.

You need to get 6 or 7 running but that likely needs a Pi 5+