RocketChat / RocketChat/Rocket.Chat

Marketplace error after upgrading snap installation from 7.x to 8.x

Open
#40,972 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

We are running Rocketchat with snap.
Due to the nearing support end of 7.13 we switched to 8.3.2 (Snap 8.x/edge) which is the only still supported version available via snap.
Upgrading worked without a hitch.
The only problem is that now the Marketplace does not work.

We get the following error in the systemd journal:

rocketchat-server.rocketchat-server[16790]: Subprocess stderr error: Specifier not found in cache: "https://registry-staging.deno.com/@std/io/meta.json", --cached-only is specified.
rocketchat-server.rocketchat-server[16790]:     at file:///tmp/apps-engine-temp/deno-runtime/lib/metricsCollector.ts:1:26

This seems to be a problem with Deno.
That's as far as I have been able to debug the problem.
Since it is a snap installation I cannot access or change anything about the used Deno version.

On the client side i get a "Connection error" if I try to open Marketplace.

Server Setup Information:
  • Version of Rocket.Chat Server: 8.3.2
  • License Type: Community
  • Number of Users: 82
  • Operating System: Ubuntu
  • Deployment Method: snap
  • Number of Running Instances: 1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Deno error from metricsCollector.ts in the snap's systemd journal and compare the Marketplace failure with the reported Rocket.Chat 8.3.2 snap setup. Trace why the cached-only runtime cannot resolve https://registry-staging.deno.com/@std/io/meta.json; done means Marketplace opens without the client connection error after upgrading from 7.x.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, typescript, ubuntu
Domain
backend, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.