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. Cubby
  3. Cubby & Collabora integration

Cubby & Collabora integration

Scheduled Pinned Locked Moved Cubby
14 Posts 4 Posters 1.5k 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.
  • nebulonN nebulon

    Hm the error indicates, that the file could not be found in cubby. Did the file have some special unicode characters maybe?

    H Offline
    H Offline
    hakunamatata
    wrote on last edited by
    #5

    @nebulon Nope. Maybe later when I have some spare time, I will re-install cubby and do some more testing on this. But for now I am back to using nextcloud.

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

      Thanks. Would be great to get that sorted out.

      1 Reply Last reply
      1
      • W Offline
        W Offline
        wesleynuijens
        wrote on last edited by
        #7

        I experience the same. Though *.doc files do work, *.docx don't.

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

          I still cannot reproduce this with my .docx files @wesleynuijens do you get any error somewhere? Or if possible can you share the non working document with us? If you do not want to share it publicly, you may also send it to support@cloudron.io so we can try to reproduce and fix this.

          1 Reply Last reply
          0
          • luckowL Offline
            luckowL Offline
            luckow
            translator
            wrote last edited by luckow
            #9

            Cubby <-> Collabora on different instances.

            Any idea what this console error means?

            Firefox kann keine Verbindung zu dem Server unter wss://collabora.example.org/cool/https%3A%2F%2Fcubby.example.com%2Fapi%2Fv1%2Foffice%2Fwopi%2Ffiles%2Fhid-5b95502b9786ed3ba72f8e882b08cf4133db7c7c2cfb7c321e5cf0391a111e1b%3Faccess_token%3D9960178323b43261501c591b7f1ff6ed0fae9611add6d64935e087c1ceb49013%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=https%3A%2F%2Fcubby.example.com%%2Fapi%2Fv1%2Foffice%2Fwopi%2Ffiles%2Fhid-5b95502b9786ed3ba72f8e882b08cf4133db7c7c2cfb7c321e5cf0391a111e1b&compat=/ws aufbauen. global.js:1:38362
            Die Verbindung zu wss://collabora.example.org/cool/https%3A%2F%2Fcubby.example.com%%2Fapi%2Fv1%2Foffice%2Fwopi%2Ffiles%2Fhid-5b95502b9786ed3ba72f8e882b08cf4133db7c7c2cfb7c321e5cf0391a111e1b%3Faccess_token%3D9960178323b43261501c591b7f1ff6ed0fae9611add6d64935e087c1ceb49013%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=https%3A%2F%2Fcubby.example.com%%2Fapi%2Fv1%2Foffice%2Fwopi%2Ffiles%2Fhid-5b95502b9786ed3ba72f8e882b08cf4133db7c7c2cfb7c321e5cf0391a111e1b&compat=/ws wurde unterbrochen, während die Seite geladen wurde.
            

            7a252b9e-2176-43bb-a313-921882ec55fc-image.png

            image.png

            Pronouns: he/him | Primary language: German

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

              Do you see any blocked requests or other errors in the browser network tab while trying to open a document? Assuming you see this error while opening a document.

              Also anything in either app logs?

              luckowL 1 Reply Last reply
              0
              • nebulonN nebulon

                Do you see any blocked requests or other errors in the browser network tab while trying to open a document? Assuming you see this error while opening a document.

                Also anything in either app logs?

                luckowL Offline
                luckowL Offline
                luckow
                translator
                wrote last edited by
                #11

                @nebulon User error confirmed after 15 minutes of testing. Note: adding another domain to Collabora requires the format [a-zA-Z0-9_\-.]*domain1.org|[a-zA-Z0-9_\-.]*domain2.org plus a restart. We should probably update the settings page with this info.

                Pronouns: he/him | Primary language: German

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

                  The required restart is a good hint which the UI should give. We will add this.

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

                    After debugging this, turns out the internal app restart was broken, hence it required a whole app restart. This is fixed with next package version.

                    1 Reply Last reply
                    2
                    • H Offline
                      H Offline
                      hakunamatata
                      wrote last edited by hakunamatata
                      #14

                      I think I may have stumbled upon the issue on my end. I have Collabora running behind Cloudflare's proxy.

                      When attempting to open files with spaces in their filenames via Collabora, Cubby fails to load the document and returns a 404 Not Found in the browser console. This appears to be caused by double-encoding of the file path in the WOPI handshake.

                      Steps to Reproduce:

                      1. Upload a file with a space in the name (e.g., Audit Record 2026.xlsx) to Cubby.

                      2. Attempt to open the file with the Collabora integration.

                      3. The editor opens but remains blank.

                      Observed Behavior:
                      The browser console shows a 404 error for the file path:
                      api/v1/files?path=%2Fhome%2F2025-11-19%2520Work%2520Orders.xlsx
                      The space character (%20) has been double-encoded into %2520.

                      Expected Behavior:
                      The path should be decoded correctly by the server/proxy to locate the file on disk.

                      Workaround Found:
                      Renaming the file to remove spaces (e.g., Audit_Record_2026.xlsx) resolves the issue and the file opens successfully.

                      Possible Solution:
                      Cloudron team can fix this by changing how the app handles the WOPI access_token or by ensuring the path is decoded once more before the final request.

                      1 Reply Last reply
                      0
                      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