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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Rocket.Chat
  3. Add Deno to Rocket.Chat for Apps to work

Add Deno to Rocket.Chat for Apps to work

Scheduled Pinned Locked Moved Solved Rocket.Chat
14 Posts 8 Posters 4.2k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • girishG girish

    @jeaninerenee we have opened an issue internally for fixing this. Will update when we have a fix.

    J Offline
    J Offline
    jeaninerenee
    wrote on last edited by
    #5

    @girish Thank you. We appreciate your work.

    1 Reply Last reply
    0
    • foliovisionF Offline
      foliovisionF Offline
      foliovision
      wrote on last edited by
      #6

      RocketChat is becoming really problematic. We only know RocketChat on Cloudron and we are running the 7.2 version. Our iOS apps don't notify reliably and don't keep a persistent login.

      Desktop is much better.

      We've noticed notifications about limits to the free version of 50 or 25 users (how is this FOSS?) but that doesn't affect us.

      The steady degradation of RocketChat (we were delighted with RocketChat already at v3) has been frustrating. It's over ten years of RocketChat for us and it's now almost unusable. We hosted our RocketChat on the development team's paid servers, but the offer kept changing from flat $50/month to per user pricing (that would have affected us negatively at the time). What moved us off the RocketChat servers finally was the insistence on AWS infrastructure.

      Keeping our private, open source chat application on the CIA's cloud providers didn't make much sense. It seems to me that outside of the commercial pressure, somehow the American intelligence community entered into a relationship with RocketChat where RocketChat gets some money/support in exchange for making sure everyone's RocketChat can be monitored. All RocketChat installs are federated with the development team server, which at least lets them know who is where and who is sending messages on a given server. That's a lot of information.

      After ten years of RocketChat, five of which were very happy, not sure where to go now. Matrix, Zulip, Mattermost or even back to IRC. Or try to keep fighting RocketChat.

      My point about fighting RocketChat is that Cloudron should probably be looking for a forked version of RocketChat which doesn't include all this monitoring software and limitations. I'll take a quick check now.

      robiR andreasduerenA 2 Replies Last reply
      0
      • foliovisionF foliovision

        RocketChat is becoming really problematic. We only know RocketChat on Cloudron and we are running the 7.2 version. Our iOS apps don't notify reliably and don't keep a persistent login.

        Desktop is much better.

        We've noticed notifications about limits to the free version of 50 or 25 users (how is this FOSS?) but that doesn't affect us.

        The steady degradation of RocketChat (we were delighted with RocketChat already at v3) has been frustrating. It's over ten years of RocketChat for us and it's now almost unusable. We hosted our RocketChat on the development team's paid servers, but the offer kept changing from flat $50/month to per user pricing (that would have affected us negatively at the time). What moved us off the RocketChat servers finally was the insistence on AWS infrastructure.

        Keeping our private, open source chat application on the CIA's cloud providers didn't make much sense. It seems to me that outside of the commercial pressure, somehow the American intelligence community entered into a relationship with RocketChat where RocketChat gets some money/support in exchange for making sure everyone's RocketChat can be monitored. All RocketChat installs are federated with the development team server, which at least lets them know who is where and who is sending messages on a given server. That's a lot of information.

        After ten years of RocketChat, five of which were very happy, not sure where to go now. Matrix, Zulip, Mattermost or even back to IRC. Or try to keep fighting RocketChat.

        My point about fighting RocketChat is that Cloudron should probably be looking for a forked version of RocketChat which doesn't include all this monitoring software and limitations. I'll take a quick check now.

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #7

        @foliovision Look into Revolt, there's an App request for it in this forum as well.

        Conscious tech

        1 Reply Last reply
        0
        • foliovisionF foliovision

          RocketChat is becoming really problematic. We only know RocketChat on Cloudron and we are running the 7.2 version. Our iOS apps don't notify reliably and don't keep a persistent login.

          Desktop is much better.

          We've noticed notifications about limits to the free version of 50 or 25 users (how is this FOSS?) but that doesn't affect us.

          The steady degradation of RocketChat (we were delighted with RocketChat already at v3) has been frustrating. It's over ten years of RocketChat for us and it's now almost unusable. We hosted our RocketChat on the development team's paid servers, but the offer kept changing from flat $50/month to per user pricing (that would have affected us negatively at the time). What moved us off the RocketChat servers finally was the insistence on AWS infrastructure.

          Keeping our private, open source chat application on the CIA's cloud providers didn't make much sense. It seems to me that outside of the commercial pressure, somehow the American intelligence community entered into a relationship with RocketChat where RocketChat gets some money/support in exchange for making sure everyone's RocketChat can be monitored. All RocketChat installs are federated with the development team server, which at least lets them know who is where and who is sending messages on a given server. That's a lot of information.

          After ten years of RocketChat, five of which were very happy, not sure where to go now. Matrix, Zulip, Mattermost or even back to IRC. Or try to keep fighting RocketChat.

          My point about fighting RocketChat is that Cloudron should probably be looking for a forked version of RocketChat which doesn't include all this monitoring software and limitations. I'll take a quick check now.

          andreasduerenA Offline
          andreasduerenA Offline
          andreasdueren
          App Dev
          wrote on last edited by
          #8

          @foliovision All three are good solutions, lattermost probably being the most closed one. Alternatively I can also highly recommend NC Talk

          1 Reply Last reply
          0
          • D Offline
            D Offline
            domi-bue
            wrote on last edited by
            #9

            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?

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #10

              Writing to code directory is not allowed and we can't support apps which write code at runtime.

              Does this happen for any Rocket.chat app?

              1 Reply Last reply
              0
              • D Offline
                D Offline
                domi-bue
                wrote on last edited by
                #11

                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.

                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #12

                  @domi-bue I pushed a possible fix, can you update and try?

                  1 Reply Last reply
                  3
                  • D Offline
                    D Offline
                    domi-bue
                    wrote on last edited by
                    #13

                    Yeah, that fixed it. Thank you for that.

                    1 Reply Last reply
                    2
                    • nebulonN nebulon marked this topic as a question on
                    • nebulonN nebulon has marked this topic as solved on
                    • Z Offline
                      Z Offline
                      zigmasdirigeant
                      wrote last edited by zigmasdirigeant
                      #14

                      Hi guys, I think we need to revive this post again:

                      The Rocket.Chat Apps Engine is broken on both Cloudron package versions 3.1.0 (upstream 8.2.1) and 3.2.0 (upstream 8.3.1). No marketplace apps can be installed or run.

                      Error logs:

                      error: failed reading lockfile '/app/code/bundle/programs/server/npm/node_modules/@rocket.chat/apps-engine/deno-runtime/deno.lock'
                      

                      Caused by:

                      Error getting response at https://registry.npmjs.org/@msgpack/msgpack for package "@msgpack/msgpack": An npm specifier not found in cache: "@msgpack/msgpack", --cached-only is specified.
                      

                      Root cause:
                      The deno.lock file is located in /app/code/, which is on the read-only Docker image layer. When Deno tries to resolve the @msgpack/msgpack npm dependency, it can't find it in cache and can't update the lockfile because the filesystem is read-only (Read-only file system, os error 30).

                      This means the Deno runtime can't start app subprocesses, so all marketplace apps (e.g. Giphy) fail with compiler errors and crash-loop.

                      Steps to reproduce:
                      Install or update to Rocket.Chat 3.1.0 or 3.2.0 on Cloudron
                      Go to Admin > Apps > Marketplace
                      Try to install any app (e.g. Giphy)
                      Installation fails with "The App had compiler errors, can not enable it"

                      Suggested fix:
                      Either pre-cache the @msgpack/msgpack npm package in the Docker image at build time, or move the Deno cache/lockfile to a writable location (e.g. /app/data/ or /tmp/).

                      Thanks!

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

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