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
  • 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. OnlyOffice
  3. OnlyOffice timing out when used with Nextcloud documents

OnlyOffice timing out when used with Nextcloud documents

Scheduled Pinned Locked Moved Solved OnlyOffice
14 Posts 5 Posters 2.0k Views 5 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.
  • W Offline
    W Offline
    wu-lee
    wrote on last edited by
    #1

    Since the update rolled out last night, on two Cloudron servers I maintain which use Nextcloud and OnlyOffice, we can now no longer open documents in OnlyOffice.

    The usual splash screen appears, the loading animation begins, but no percentage shows, and it eventually times out with an error dialog saying: "Connection to the server has been interrupted"

    Inspecting the browser console, I see that the websocket connection is repeatedly attempted, until eventually it fails. This is in Firefox on Linux for me, but it has been reported by users on other OSes (Windows I think) and presumably other browsers.

    There appears to be no errors I can see in the OnlyOffice app server logs, or the NextCloud logs. the OnlyOffice web page indicates no problems. I've restarted the apps and the server. It still doesn't work. But as I said, the thing which makes me think it may be a problem with the update is that it is behaving like this on two Cloudron instances, running on different servers for different organisations I'm involved with.

    Is there anything else I can try to work out what the problem is?

    Thanks

    girishG 1 Reply Last reply
    1
    • W wu-lee

      Since the update rolled out last night, on two Cloudron servers I maintain which use Nextcloud and OnlyOffice, we can now no longer open documents in OnlyOffice.

      The usual splash screen appears, the loading animation begins, but no percentage shows, and it eventually times out with an error dialog saying: "Connection to the server has been interrupted"

      Inspecting the browser console, I see that the websocket connection is repeatedly attempted, until eventually it fails. This is in Firefox on Linux for me, but it has been reported by users on other OSes (Windows I think) and presumably other browsers.

      There appears to be no errors I can see in the OnlyOffice app server logs, or the NextCloud logs. the OnlyOffice web page indicates no problems. I've restarted the apps and the server. It still doesn't work. But as I said, the thing which makes me think it may be a problem with the update is that it is behaving like this on two Cloudron instances, running on different servers for different organisations I'm involved with.

      Is there anything else I can try to work out what the problem is?

      Thanks

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

      @wu-lee yes, the package was already revoked since it's broken. Please revert to the previous package version.

      J 1 Reply Last reply
      1
      • W Offline
        W Offline
        wu-lee
        wrote on last edited by
        #3

        I wasn't aware that I could, or at least not easily... trying to work out how now.

        1 Reply Last reply
        0
        • W Offline
          W Offline
          wu-lee
          wrote on last edited by
          #4

          Ok, it's described here: https://docs.cloudron.io/backups/#restore-app

          1 Reply Last reply
          2
          • girishG girish

            @wu-lee yes, the package was already revoked since it's broken. Please revert to the previous package version.

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

            @girish said in OnlyOffice timing out when used with Nextcloud documents:

            @wu-lee yes, the package was already revoked since it's broken. Please revert to the previous package version.

            I have the same issue.
            I checked the version of OnlyOffice that I have now, it is v1.14.0 while the previous version was v1.10.1

            I am going to restore the v1.10.1 and hope everything goes well.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jagan
              wrote on last edited by
              #6

              Update: Restoration of v1.10.1 over the v1.14.0 update resolved the issue.
              I'm just confirming for the sake of others who might have the same issue.

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

                The 1.14.0 package was already revoked a while ago because of this issue. I think somehow your server got the update in the small time frame it was available.

                J 1 Reply Last reply
                0
                • girishG girish

                  The 1.14.0 package was already revoked a while ago because of this issue. I think somehow your server got the update in the small time frame it was available.

                  J Offline
                  J Offline
                  jagan
                  wrote on last edited by
                  #8

                  @girish Do I need to do anything now, I have switched off the automatic updates.
                  Please let me know If I can update when the next version comes out.
                  Thanks Girish!

                  girishG 1 Reply Last reply
                  0
                  • J jagan

                    @girish Do I need to do anything now, I have switched off the automatic updates.
                    Please let me know If I can update when the next version comes out.
                    Thanks Girish!

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

                    @jagan you don't need to turn off automatic updates. Since the package is revoked, your installation won't update to that one anymore.

                    1 Reply Last reply
                    1
                    • R Offline
                      R Offline
                      rstockm
                      wrote on last edited by
                      #10

                      Well unfortunately, there is no 1.10 I could revert to:

                      image.png

                      • any other options?
                      1 Reply Last reply
                      0
                      • nebulonN Offline
                        nebulonN Offline
                        nebulon
                        Staff
                        wrote on last edited by
                        #11

                        Given that the app as such is stateless, since the data resides in Nextcloud, you may just reinstall the app.

                        1 Reply Last reply
                        1
                        • R Offline
                          R Offline
                          rstockm
                          wrote on last edited by
                          #12

                          I reinstalled, but now the token isn't valid anymore and I'm not shure where to find the new one:

                          image.png

                          image.png

                          girishG 1 Reply Last reply
                          0
                          • R rstockm

                            I reinstalled, but now the token isn't valid anymore and I'm not shure where to find the new one:

                            image.png

                            image.png

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

                            @rstockm See https://docs.cloudron.io/apps/onlyoffice/#changing-default-app-secret

                            1 Reply Last reply
                            1
                            • R Offline
                              R Offline
                              rstockm
                              wrote on last edited by
                              #14

                              Thanks: that did the trick.

                              1 Reply Last reply
                              0
                              • nebulonN nebulon marked this topic as a question on
                              • nebulonN nebulon has marked this topic as solved on
                              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