Yeah, that fixed it. Thank you for that.
domi-bue
Posts
-
Add Deno to Rocket.Chat for Apps to workJan 22, 2025, 4:10 PM -
Add Deno to Rocket.Chat for Apps to workJan 22, 2025, 9:24 AMI tested around 10 different apps, and they all tried to write to
/app/code
. Looks like that Deno tries to install the dependencies there. -
Add Deno to Rocket.Chat for Apps to workJan 21, 2025, 9:46 AMWith the recent update to Rocket.Chat (2.54.2), app installs are breaking again. This issue did not occur in version 2.54.1.
Below is the error message encountered:
Caused by: 0: Error creating '/app/code/bundle/programs/server/npm/node_modules/@rocket.chat/apps-engine/.deno-cache/npm/registry.npmjs.org/uuid/8.3.2'. 1: Read-only file system (os error 30)
According to this forum post, only the
/app/data
,/run
, and/tmp
directories are writable. However, Deno (or Rocket.Chat) attempts to write to/app/code
, which is read-only.Is there a workaround or temporary solution to allow writing to
/app/code
until this issue is resolved? -
Add Deno to Rocket.Chat for Apps to workNov 14, 2024, 3:31 PMTo 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' ] }