Add Deno to Rocket.Chat for Apps to work
-
To ensure full functionality of Rocket.Chat, especially for app support, please consider adding Deno to the Docker container. Since Deno is now a requirement, it’s essential for apps to function correctly.
Server Details:
+-----------------------------------------------+ | SERVER RUNNING | +-----------------------------------------------+ | | | Rocket.Chat Version: 7.0.0 | | NodeJS Version: 20.17.0 - x64 | | MongoDB Version: 6.0.13 | | MongoDB Engine: unknown | | Platform: linux | | Process Port: 3000 | | Site URL: https://rocket.chat | | ReplicaSet OpLog: Enabled | | Commit Hash: dfc7e0e874 | | Commit Branch: HEAD | | | +-----------------------------------------------+
Note: The URL has been modified for privacy.
Error Stack Trace:
The following logs indicate the issue encountered when Deno is not present in the container:
appsEngine:runtime:deno:c95ba73a-0485-4d12-ae8a-a3e68330065a Setting up app subprocess +0ms ... Failed to startup Deno subprocess Error: spawn deno ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn deno', path: 'deno', spawnargs: [ 'run', '--allow-net', '--allow-read=/app/code/bundle/programs/server/npm/node_modules/@rocket.chat/apps-engine,/app/code/bundle/programs/server/npm/node_modules', '--allow-env=NODE_EXTRA_CA_CERTS', '/app/code/bundle/programs/server/npm/node_modules/@rocket.chat/apps-engine/deno-runtime/main.ts', '--subprocess', 'c95ba73a-0485-4d12-ae8a-a3e68330065a' ] }
-
-
I have added deno to the package for the moment at https://git.cloudron.io/cloudron/rocketchat-app/-/commit/7cbeed49142d7a7616b7c7f2ebe63c37a54b6d5f
But won't release a package yet, since I wasn't able to install any marketplace app due to various javascript exceptions thrown. But at least the
deno
error is gone. Strange system this. -
Hello. Thank you for this. I have a client with Rocket.Chat on Cloudron, and since Rocket.Chat Release 7.0.0, we are unable to install any of the Rocket.Chat Marketplace Apps. When we attempt various ways to enable or install them, we receive errors such as "Timeout: app process not ready" and "The App had compiler errors, can not enable it." As a result, we have not been able to upgrade to Rocket.Chat 7.0 and beyond since the Marketplace Apps that we use are essential for us.
Is this topic related to this issue and/or have others had problems using the Marketplace Apps in Rocket.Chat on Cloudron? I did deploy Rocket.Chat with Docker on my own server apart from Cloudron, and the Marketplace App installations work as intended, so this appears to only be isolated to my client's Rocket.Chat on Cloudron.
Is this a known issue, and if it is, is there a fix in queue?
Thank you for your help.