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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Collabora Online (CODE)
  3. Nextcloud can't connect to Collabora

Nextcloud can't connect to Collabora

Scheduled Pinned Locked Moved Solved Collabora Online (CODE)
networkingunboundhome
30 Posts 6 Posters 8.6k 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.
  • S staypath

    @staypath I'd like to ask - besides Nextcloud and Collabora/OnlyOffice, what Cloudron apps depend on being able to reach other apps on the same host?

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #19

    @staypath Most apps don't. The only case I can think of on top of my head is if you had webooks when one app is calling the other. Say you setup GitLab notifications to rocket.chat but those are not configured out of the box. So, you will see the issue and they won't be failing transparently.

    1 Reply Last reply
    0
    • S staypath

      @girish I ran some tcpdump sessions. When the container pings the public IPv4 of the host, the host responds to the ICMP packet, but it is responding to the private IP of the container (172.18.0.x). The packet doesn't seem to know how to get back to the container from the host.

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #20

      @staypath said in Nextcloud can't connect to Collabora:

      When the container pings the public IPv4 of the host, the host responds to the ICMP packet, but it is responding to the private IP of the container (172.18.0.x). The packet doesn't seem to know how to get back to the container from the host.

      If you happen to have another server, can you test this with a normal ubuntu and docker installation ? i.e just create server, install docker. Then from a container try to ping public IP.

      FWIW, this works out of the box in all the VPS servers.

      S 1 Reply Last reply
      0
      • girishG girish

        @staypath said in Nextcloud can't connect to Collabora:

        When the container pings the public IPv4 of the host, the host responds to the ICMP packet, but it is responding to the private IP of the container (172.18.0.x). The packet doesn't seem to know how to get back to the container from the host.

        If you happen to have another server, can you test this with a normal ubuntu and docker installation ? i.e just create server, install docker. Then from a container try to ping public IP.

        FWIW, this works out of the box in all the VPS servers.

        S Offline
        S Offline
        staypath
        wrote on last edited by
        #21

        @girish Thank you for the recommendation. I have tried on another bare metal server running Docker and I am able to access the external host IP from the Docker container. This is clearly a network issue with the host where I have Cloudron installed.

        1 Reply Last reply
        1
        • jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #22

          I just tried installing Collabora and hit this exact same issue.

          This issue is marked as solved, but I'm not sure why as it doesn't appear to be actually solved.

          I use Cloudron with Gandi & Hetzner

          nebulonN 1 Reply Last reply
          0
          • jdaviescoatesJ jdaviescoates

            I just tried installing Collabora and hit this exact same issue.

            This issue is marked as solved, but I'm not sure why as it doesn't appear to be actually solved.

            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #23

            @jdaviescoates actually so far reinstallation of collabora and resetting the app in nextcloud mostly solved this. It is however quite unclear still why this happens.

            jdaviescoatesJ 1 Reply Last reply
            1
            • nebulonN nebulon

              @jdaviescoates actually so far reinstallation of collabora and resetting the app in nextcloud mostly solved this. It is however quite unclear still why this happens.

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #24

              @nebulon I note the setting says:

              URL (and Port) of Collabora Online-server

              I wonder if we need to specify a port too?

              I use Cloudron with Gandi & Hetzner

              jdaviescoatesJ 1 Reply Last reply
              0
              • jdaviescoatesJ jdaviescoates

                @nebulon I note the setting says:

                URL (and Port) of Collabora Online-server

                I wonder if we need to specify a port too?

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #25

                Although I think in my case perhaps it's just because I've already connected Netxtcloud to OnlyOffice! I'm not sure it's actually possible to use both alongside eachother.

                I use Cloudron with Gandi & Hetzner

                jdaviescoatesJ 1 Reply Last reply
                0
                • jdaviescoatesJ jdaviescoates

                  Although I think in my case perhaps it's just because I've already connected Netxtcloud to OnlyOffice! I'm not sure it's actually possible to use both alongside eachother.

                  jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #26

                  @jdaviescoates said in Nextcloud can't connect to Collabora:

                  Although I think in my case perhaps it's just because I've already connected Netxtcloud to OnlyOffice!

                  Nope, that's not it. I just tried it with a Nextcloud that doesn't have OnlyOffice set-up and that couldn't connect either.

                  I'm not sure it's actually possible to use both alongside eachother.

                  Sounds like perhaps it is possible https://help.nextcloud.com/t/install-both-onlyoffice-and-collabora/76180/3

                  I use Cloudron with Gandi & Hetzner

                  jdaviescoatesJ 1 Reply Last reply
                  0
                  • jdaviescoatesJ jdaviescoates

                    @jdaviescoates said in Nextcloud can't connect to Collabora:

                    Although I think in my case perhaps it's just because I've already connected Netxtcloud to OnlyOffice!

                    Nope, that's not it. I just tried it with a Nextcloud that doesn't have OnlyOffice set-up and that couldn't connect either.

                    I'm not sure it's actually possible to use both alongside eachother.

                    Sounds like perhaps it is possible https://help.nextcloud.com/t/install-both-onlyoffice-and-collabora/76180/3

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #27

                    OK, so actually the solution was maddeningly simple

                    You mustn't put a trailing slash because then it's not a FQDN

                    You have to put

                    collabora.domain.coop
                    or
                    https://collabora.domain.coop

                    NOT

                    collabora.domain.coop/
                    nor
                    https://collabora.domain.coop/

                    Then it works fine!

                    (And it is possible to have both OnlyOffice and Collabora installs. My files still default to opening in OnlyOffice but I've now got an extra Edit with Collabora Online Development Edition option in the 3 little dots menu for files)

                    @nebulon I guess something about trailing slashes could be added to the docs? 🙂

                    I use Cloudron with Gandi & Hetzner

                    girishG 1 Reply Last reply
                    1
                    • jdaviescoatesJ jdaviescoates

                      OK, so actually the solution was maddeningly simple

                      You mustn't put a trailing slash because then it's not a FQDN

                      You have to put

                      collabora.domain.coop
                      or
                      https://collabora.domain.coop

                      NOT

                      collabora.domain.coop/
                      nor
                      https://collabora.domain.coop/

                      Then it works fine!

                      (And it is possible to have both OnlyOffice and Collabora installs. My files still default to opening in OnlyOffice but I've now got an extra Edit with Collabora Online Development Edition option in the 3 little dots menu for files)

                      @nebulon I guess something about trailing slashes could be added to the docs? 🙂

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #28

                      @jdaviescoates Oh good catch. I much prefer fixing the app itself than docs which nobody reads 🙂 cc @nebulon

                      nebulonN 1 Reply Last reply
                      0
                      • girishG girish

                        @jdaviescoates Oh good catch. I much prefer fixing the app itself than docs which nobody reads 🙂 cc @nebulon

                        nebulonN Offline
                        nebulonN Offline
                        nebulon
                        Staff
                        wrote on last edited by
                        #29

                        @girish I've created an upstream issue with the plugin https://github.com/nextcloud/richdocuments/issues/1395

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

                          Looks like this is fixed upstream with next release then https://github.com/nextcloud/richdocuments/pull/1412

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