root@rocketchat:~# snap info rocketchat-server
name: rocketchat-server
summary: Rocket.Chat server
publisher: Rocket.Chat (rocketchat*)
store-url: https://snapcraft.io/rocketchat-server
contact: https://open.rocket.chat/channel/ubuntu-snap
license: unset
description: |
Have your own Slack like online chat, built with Meteor. https://rocket.chat/
commands:
- rocketchat-server.backupdb
- rocketchat-server.mongo
- rocketchat-server.restoredb
services:
rocketchat-server.rocketchat-caddy: simple, enabled, inactive
rocketchat-server.rocketchat-mongo: forking, enabled, active
rocketchat-server: simple, enabled, active
snap-id: wdBUbiEuMNHmAHLBCXQXOcXaOCvbWS1e
tracking: 4.x/stable
refresh-date: 36 days ago, at 15:19 CST
channels:
4.x/stable: 4.3.1 2022-01-18 (1509) 238MB -
4.x/candidate: 4.3.1 2022-01-18 (1509) 238MB -
4.x/beta: 4.3.1 2022-01-18 (1509) 238MB -
4.x/edge: 4.3.1 2022-01-18 (1509) 238MB -
latest/stable: 3.18.3 2021-12-06 (1491) 289MB -
latest/candidate: 3.18.3 2021-12-06 (1491) 289MB -
latest/beta: 3.18.3 2021-12-06 (1491) 289MB -
latest/edge: 4.1.2 2021-12-06 (1497) 285MB -
3.x/stable: 3.18.3 2021-11-28 (1491) 289MB -
3.x/candidate: 3.18.3 2021-11-28 (1491) 289MB -
3.x/beta: 3.18.3 2021-11-28 (1491) 289MB -
3.x/edge: 3.18.3 2021-11-28 (1491) 289MB -
2.x/stable: 2.4.14 2020-12-23 (1453) 267MB -
2.x/candidate: 2.4.14 2020-12-23 (1453) 267MB -
2.x/beta: 2.4.14 2020-12-23 (1453) 267MB -
2.x/edge: ^
installed: 4.2.2 (1502) 255MB -
Tracking the latest. This is what happens when I try to refresh the snap:
root@rocketchat:~# snap refresh
error: cannot perform the following tasks:
- Run pre-refresh hook of "rocketchat-server" snap if present (run hook "pre-refresh":
-----
WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
/snap/rocketchat-server/1502/migrations/feature_compatibility/pre_adopt_version.sh: line 6: mongo_version_excluding_patch: command not found
jq: error: Could not open file command: No such file or directory
jq: error: Could not open file argument.: No such file or directory
jq: error: Could not open file Expected: No such file or directory
jq: error: Could not open file '3.6': No such file or directory
jq: error: Could not open file or: No such file or directory
jq: error: Could not open file '3.4',: No such file or directory
jq: error: Could not open file found: No such file or directory
jq: error: Could not open file in:: No such file or directory
jq: error: Could not open file {: No such file or directory
jq: error: Could not open file setFeatureCompatibilityVersion:: No such file or directory
jq: error: Could not open file \"\",: No such file or directory
jq: error: Could not open file lsid:: No such file or directory
jq: error: Could not open file {: No such file or directory
jq: error: Could not open file id:: No such file or directory
jq: error: Could not open file UUID(\"804a3c60-8595-4700-b0a9-bc92961e96cc\"): No such file or directory
jq: error: Could not open file },: No such file or directory
jq: error: Could not open file $clusterTime:: No such file or directory
jq: error: Could not open file {: No such file or directory
jq: error: Could not open file clusterTime:: No such file or directory
jq: error: Could not open file Timestamp(1642808143,: No such file or directory
jq: error: Could not open file 1),: No such file or directory
jq: error: Could not open file signature:: No such file or directory
jq: error: Could not open file {: No such file or directory
jq: error: Could not open file hash:: No such file or directory
jq: error: Could not open file BinData(0,: No such file or directory
jq: error: Could not open file 0000000000000000000000000000000000000000),: No such file or directory
jq: error: Could not open file keyId:: No such file or directory
jq: error: Could not open file 0: No such file or directory
jq: error: Could not open file }: No such file or directory
jq: error: Could not open file },: No such file or directory
jq: error: Could not open file $db:: No such file or directory
jq: error: Could not open file \"admin\": No such file or directory
jq: error: Could not open file }.: No such file or directory
jq: error: Could not open file See: No such file or directory
jq: error: Could not open file http://dochub.mongodb.org/core/3.6-feature-compatibility.","code":2,"codeName":"BadValue","$clusterTime":{"clusterTime":{"$timestamp":{"t":1642808143,"i":1}},"signature":{"hash":{"$binary":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","$type":"00"},"keyId":{"$numberLong":"0"}}}}: No such file or directory
jq: error: Could not open file command: No such file or directory
jq: error: Could not open file argument.: No such file or directory
jq: error: Could not open file Expected: No such file or directory
jq: error: Could not open file '3.6': No such file or directory
jq: error: Could not open file or: No such file or directory
jq: error: Could not open file '3.4',: No such file or directory
jq: error: Could not open file found: No such file or directory
jq: error: Could not open file in:: No such file or directory
jq: error: Could not open file {: No such file or directory
jq: error: Could not open file setFeatureCompatibilityVersion:: No such file or directory
jq: error: Could not open file \"\",: No such file or directory
jq: error: Could not open file lsid:: No such file or directory
jq: error: Could not open file {: No such file or directory
jq: error: Could not open file id:: No such file or directory
jq: error: Could not open file UUID(\"804a3c60-8595-4700-b0a9-bc92961e96cc\"): No such file or directory
jq: error: Could not open file },: No such file or directory
jq: error: Could not open file $clusterTime:: No such file or directory
jq: error: Could not open file {: No such file or directory
jq: error: Could not open file clusterTime:: No such file or directory
jq: error: Could not open file Timestamp(1642808143,: No such file or directory
jq: error: Could not open file 1),: No such file or directory
jq: error: Could not open file signature:: No such file or directory
jq: error: Could not open file {: No such file or directory
jq: error: Could not open file hash:: No such file or directory
jq: error: Could not open file BinData(0,: No such file or directory
jq: error: Could not open file 0000000000000000000000000000000000000000),: No such file or directory
jq: error: Could not open file keyId:: No such file or directory
jq: error: Could not open file 0: No such file or directory
jq: error: Could not open file }: No such file or directory
jq: error: Could not open file },: No such file or directory
jq: error: Could not open file $db:: No such file or directory
jq: error: Could not open file \"admin\": No such file or directory
jq: error: Could not open file }.: No such file or directory
jq: error: Could not open file See: No such file or directory
jq: error: Could not open file http://dochub.mongodb.org/core/3.6-feature-compatibility.","code":2,"codeName":"BadValue","$clusterTime":{"clusterTime":{"$timestamp":{"t":1642808143,"i":1}},"signature":{"hash":{"$binary":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","$type":"00"},"keyId":{"$numberLong":"0"}}}}: No such file or directory
[ERROR] JSON.stringify(db.adminCommand({ setFeatureCompatibilityVersion: "" })) command failed
[ERROR] pre refresh migration "adopt_version.sh" run failed
-----)
root@rocketchat:~#