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. Do I need to allow my Nextcloud via CSP?

Do I need to allow my Nextcloud via CSP?

Scheduled Pinned Locked Moved Solved Collabora Online (CODE)
nextcloud
6 Posts 3 Posters 2.0k Views 3 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.
  • JOduMonTJ Offline
    JOduMonTJ Offline
    JOduMonT
    wrote on last edited by
    #1

    Collabora is managed and hosted on a Cloudron

    When Nextcloud is managed and hosted by Cloudron the connection works
    but When Nextcloud is outside Cloudon the connection is not established.

    Do I need to allow my Nextcloud via CSP?

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

      To get this working, you have to login to the collabora app on your Cloudron (we have added a small config UI for that purpose) and then configure which origins can connect: https://docs.cloudron.io/apps/collabora/

      1 Reply Last reply
      1
      • girishG girish has marked this topic as solved on
      • M Offline
        M Offline
        msbt
        App Dev
        wrote on last edited by
        #3

        Sorry to re-use this thread, but I tried adding two domains on a collabora instance and couldn't get it to work with both of them - it either gave me this 502 or some other WOPI error. Until I found this snippet and added it manually into the coolwsd.xml file.

        The gui suggests you can add multiple domains via regex, split with pipes, but I tried all variations and just couldn't get it to work properly. Is there something that I've missed? One domain includes a dash, but with or without escaping, it just wouldn't work (only with the method above). Is there a trick to it to make collabora work with nextcloud domains?

        Happy Hosting & Web Development

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

          The config settings UI in Cloudron just forwards the input value for https://sdk.collaboraonline.com/docs/installation/Configuration.html#multihost-configuration

          1 Reply Last reply
          0
          • M Offline
            M Offline
            msbt
            App Dev
            wrote on last edited by
            #5

            thanks @nebulon, I thought as much, but what's the actual syntax? The same as in the suggestions in the UI? Should that also update the xml file? Does the app require a restart afterwards? I just couldn't get two hosts to work...

            Happy Hosting & Web Development

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

              Yes it will put the raw value into the XML config and then also restart the collabora server in the background. For the actual value, I don't know either, you may have to ask the collabora community for that.

              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