Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
D

domi-bue

@domi-bue
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Add Deno to Rocket.Chat for Apps to work
    D domi-bue

    Yeah, that fixed it. Thank you for that.

    Rocket.Chat

  • Add Deno to Rocket.Chat for Apps to work
    D domi-bue

    I tested around 10 different apps, and they all tried to write to /app/code. Looks like that Deno tries to install the dependencies there.

    Rocket.Chat

  • Add Deno to Rocket.Chat for Apps to work
    D domi-bue

    With 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?

    Rocket.Chat

  • Add Deno to Rocket.Chat for Apps to work
    D domi-bue

    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'
    ]
    }
    
    Rocket.Chat
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search