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. Collabora Online (CODE)
  3. slow document loading due to coolmount permission errors

slow document loading due to coolmount permission errors

Scheduled Pinned Locked Moved Collabora Online (CODE)
11 Posts 4 Posters 209 Views 4 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.
  • jamesJ Offline
    jamesJ Offline
    james
    Staff
    wrote last edited by
    #2

    Hello @sponch
    I was able to reproduce this issue and also have an idea how to fix this.

    1 Reply Last reply
    0
    • sponchS Offline
      sponchS Offline
      sponch
      wrote last edited by
      #3

      Something we can do or must that be done on your side?

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote last edited by
        #4

        I've tested with SYS_ADMIN cap and the mount error goes away, however I cannot notice any speedups due to that though, but it might depend on how fast the filesystem is. Have to think about how to give collabora such wide system access.

        1 Reply Last reply
        1
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote last edited by
          #5

          @sponch can you check how fast your disk I/O is (you can see this in your Cloudron dashboard in Server view). It seems quite risky to give that app such system capabilities as if it has a bug it can easily bring down the server. Might be good to first get an understanding what the root cause for slowness in your case really is.

          1 Reply Last reply
          0
          • sponchS Offline
            sponchS Offline
            sponch
            wrote last edited by
            #6

            I/O Rate of the VPS is about 2GB/s DiskIO between 1MB to peaks of 120MB during the last 24h. We are just testing if it is a client thing on one of our staff's Mac, where the problem occured ("long opening times" as the warning can be seen on each client),.

            1 Reply Last reply
            0
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote last edited by
              #7

              that is much faster than on my server where I don't really see any difference and it is quite fast actually. I suspect something else is the issue there then.

              1 Reply Last reply
              0
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote last edited by nebulon
                #8

                @sponch maybe you can enable remote ssh support for us and send a mail with the Cloudron's ip to support@cloudron.io I can then locally apply the patch to give collabora all those system permissions and we can evaluate if that is the root issue in the first place.

                FYI to test this one can add the following at https://git.cloudron.io/platform/box/-/blob/master/src/docker.js?ref_type=heads#L731 :

                    containerOptions.HostConfig.CapAdd.push('SYS_ADMIN');
                    containerOptions.HostConfig.CapAdd.push('SYS_CHROOT');
                    containerOptions.HostConfig.CapAdd.push('FOWNER');
                    containerOptions.HostConfig.CapAdd.push('CHOWN');
                

                Then systemctl restart box for good measure and then reinstall collabora in the same domain, as it is anyways stateless

                sponchS 1 Reply Last reply
                1
                • nebulonN nebulon

                  @sponch maybe you can enable remote ssh support for us and send a mail with the Cloudron's ip to support@cloudron.io I can then locally apply the patch to give collabora all those system permissions and we can evaluate if that is the root issue in the first place.

                  FYI to test this one can add the following at https://git.cloudron.io/platform/box/-/blob/master/src/docker.js?ref_type=heads#L731 :

                      containerOptions.HostConfig.CapAdd.push('SYS_ADMIN');
                      containerOptions.HostConfig.CapAdd.push('SYS_CHROOT');
                      containerOptions.HostConfig.CapAdd.push('FOWNER');
                      containerOptions.HostConfig.CapAdd.push('CHOWN');
                  

                  Then systemctl restart box for good measure and then reinstall collabora in the same domain, as it is anyways stateless

                  sponchS Offline
                  sponchS Offline
                  sponch
                  wrote last edited by
                  #9

                  @nebulon thanks. We tested the specific Mac today. Must have been a Browser Cache thing (or anything else with Chrome). After clearing CHrome cache the files open immediately (though the warning still appears).

                  1 Reply Last reply
                  0
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote last edited by
                    #10

                    Thanks for coming back to this. The warning as such is harmless in the logs as the code has a totally fine fallback. So I guess there is no need to elevate permissions for the app, potentially opening up security risks.

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      joseph
                      Staff
                      wrote last edited by
                      #11

                      There's more information in this comment - https://github.com/CollaboraOnline/online/issues/779#issuecomment-1107512362 . To make those warnings go away, collabora app has to be give admin permissions on the server. Not sure if that is a good idea.

                      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