Problem with Collabora Build-in CODE Server

We have just installed Nextcloud ver 19 in our Synology Server, and even though we have both Collabora Online and Collabora Online Built-in Code Server, we are receiving an error message that " X Could not establish connection to the Collabora Online server".

Please note that we are using the "Build-in CODE - Collabora online Development Edition.

Please advise,

Thank you

2 Likes

You don’t seem to be the only one with problems - I guess there are still some rough edges to be smoothed out:

Any News ?
I’m tring to use BUILT IN CODE SERVER and It seems correctly installed but if I choose that option ( BUILT IN CODE SERVER ) I receive always “Unable to connect server”…
I’m using NC 20.0.7

Hello, I have Nextcloud server ver. 21 and also don’t work.
I have fatal errors in log:
[richdocuments] Error: Exception: Could not find urlsrc in WOPI at <>

0. /var/www/nextcloud/apps/richdocuments/lib/TokenManager.php line 217
   OCA\Richdocuments\WOPI\Parser->getUrlSrc("application/vnd.oasis.opendocument.text")
1. /var/www/nextcloud/apps/richdocuments/lib/Controller/DocumentController.php line 256
   OCA\Richdocuments\TokenManager->getToken("*** sensitive parameters replaced ***")
2. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 218
   OCA\Richdocuments\Controller\DocumentController->index("*** sensitive parameter replaced ***", null)
3. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 127
   OC\AppFramework\Http\Dispatcher->executeController(OCA\Richdocument ... {}, "index")
4. /var/www/nextcloud/lib/private/AppFramework/App.php line 157
   OC\AppFramework\Http\Dispatcher->dispatch(OCA\Richdocument ... {}, "index")
5. /var/www/nextcloud/lib/private/Route/Router.php line 302
   OC\AppFramework\App::main("OCA\\Richdocume ... r", "index", OC\AppFramework\ ... {}, {_route: "richdocuments.document.index"})
6. /var/www/nextcloud/lib/base.php line 993
   OC\Route\Router->match("/apps/richdocuments/index")
7. /var/www/nextcloud/index.php line 37
   OC::handleRequest()

GET /nextcloud/index.php/apps/richdocuments/index?fileId=52959&requesttoken=M99izh8%2FIauY5dEDszJnZr%2BcqqpNJWT1wftVQyHX7Ro%3D%3Ae5xahmxeU%2BjJjrtgg2AGHMb9wZ99EAfe8MIECBSHlFs%3D
from 62.21.9.178 by admin at 2021-03-20T20:17:36+00:00

[no app in context] Fatal: Error: Call to undefined method OC\AllConfig::isGlobalScaleEnabled() at <<closure>>

 0. /var/www/nextcloud/apps/richdocuments/lib/AppInfo/Application.php line 154
    OCA\Richdocuments\AppInfo\Application->updateCSP("*** sensitive parameters replaced ***")
 1. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php line 68
    OCA\Richdocuments\AppInfo\Application->OCA\Richdocuments\AppInfo\{closure}("*** sensitive parameters replaced ***")
 2. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php line 52
    OC\AppFramework\Bootstrap\FunctionInjector->injectFn(Closure {})
 3. /var/www/nextcloud/apps/richdocuments/lib/AppInfo/Application.php line 156
    OC\AppFramework\Bootstrap\BootContext->injectFn(Closure {})
 4. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php line 176
    OCA\Richdocuments\AppInfo\Application->boot(OC\AppFramework\Bootstrap\BootContext {})
 5. /var/www/nextcloud/lib/private/legacy/OC_App.php line 197
    OC\AppFramework\Bootstrap\Coordinator->bootApp("richdocuments")
 6. /var/www/nextcloud/lib/private/legacy/OC_App.php line 137
    OC_App::loadApp("richdocuments")
 7. /var/www/nextcloud/apps/dav/lib/AppInfo/Application.php line 124
    OC_App::loadApps(["dav"])
 8. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php line 176
    OCA\DAV\AppInfo\Application->boot(OC\AppFramework\Bootstrap\BootContext {})
 9. /var/www/nextcloud/lib/private/legacy/OC_App.php line 197
    OC\AppFramework\Bootstrap\Coordinator->bootApp("dav")
10. /var/www/nextcloud/lib/private/legacy/OC_App.php line 137
    OC_App::loadApp("dav")
11. /var/www/nextcloud/lib/base.php line 979
    OC_App::loadApps()
12. /var/www/nextcloud/index.php line 37
    OC::handleRequest()

GET /nextcloud/index.php/apps/files/ajax/getstoragestats.php?dir=%2FKazex%2FDRUKI
from 62.21.9.194 by admin at 2021-03-20T20:17:52+00:00

Same problem here:

Debian 10 buster
Nextcloud 21.0.0
Nginx 1.14.2
PHP Versión: 7.3.27
mysql: 10.3.27

{
  "reqId": "kOlB9FPc982vWaPd0MNr",
  "level": 3,
  "time": "2021-03-21T18:56:31+00:00",
  "remoteAddr": "X.X.X.X",
  "user": "next****",
  "app": "richdocuments",
  "method": "GET",
  "url": "/apps/richdocuments/index?fileId=20&requesttoken=PBNpGlae89NBYsvvEJaz895CINvDVGfO%2B0OZX5hO4uA%3D%3AfmQwSCzfyqsJBvvectX8t4YaT6%2BvPxSjywr%2FKNcNsZc%3D",
  "message": {
    "Exception": "Exception",
    "Message": "Could not find urlsrc in WOPI",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/clients/clientX/webX/web/apps/richdocuments/lib/TokenManager.php",
        "line": 217,
        "function": "getUrlSrc",
        "class": "OCA\\Richdocuments\\WOPI\\Parser",
        "type": "->",
        "args": [
          "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
        ]
      },
      {
        "file": "/var/www/clients/clientX/webX/web/apps/richdocuments/lib/Controller/DocumentController.php",
        "line": 256,
        "function": "getToken",
        "class": "OCA\\Richdocuments\\TokenManager",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/clients/clientX/webX/web/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 218,
        "function": "index",
        "class": "OCA\\Richdocuments\\Controller\\DocumentController",
        "type": "->",
        "args": [
          "*** sensitive parameter replaced ***",
          null
        ]
      },
      {
        "file": "/var/www/clients/clientX/webX/web/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 127,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->",
        "args": [
          {
            "__class__": "OCA\\Richdocuments\\Controller\\DocumentController"
          },
          "index"
        ]
      },
      {
        "file": "/var/www/clients/clientX/webX/web/lib/private/AppFramework/App.php",
        "line": 157,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->",
        "args": [
          {
            "__class__": "OCA\\Richdocuments\\Controller\\DocumentController"
          },
          "index"
        ]
      },
      {
        "file": "/var/www/clients/clientX/webX/web/lib/private/Route/Router.php",
        "line": 302,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::",
        "args": [
          "OCA\\Richdocuments\\Controller\\DocumentController",
          "index",
          {
            "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
          },
          {
            "_route": "richdocuments.document.index"
          }
        ]
      },
      {
        "file": "/var/www/clients/clientX/webX/web/lib/base.php",
        "line": 993,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->",
        "args": [
          "/apps/richdocuments/index"
        ]
      },
      {
        "file": "/var/www/clients/clientX/webX/web/index.php",
        "line": 37,
        "function": "handleRequest",
        "class": "OC",
        "type": "::",
        "args": []
      }
    ],
    "File": "/var/www/clients/clientX/webX/web/apps/richdocuments/lib/WOPI/Parser.php",
    "Line": 54,
    "CustomMessage": "--"
  },
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15",
  "version": "21.0.0.18"
}

Same Problem Here with NextCloud 21:

{
  "reqId":"nl7uFKelQFPDV5yUZxPv",
  "level":3,
  "time":"2021-03-21T21:47:33+00:00",
  "remoteAddr":"X.X.X.X",
  "user":"prueba",
  "app":"richdocuments",
  "method":"GET",
  "url":"/ncd/index.php/apps/richdocuments/index?fileId=609349&requesttoken=C7sbnJfqdWdMdWgNQZjlaM3Guex1PK%2FNwG01UU8MeXk%3D%3Afv10186dPgN1OBllB9%2FXArSolqU2Su39rB8HYHxaGx0%3D",
  "message":{
    "Exception":"Exception",
    "Message":"Could not find urlsrc in WOPI",
    "Code":0,
    "Trace":[
      {
        "file":"/volume1/web/ncd/apps/richdocuments/lib/TokenManager.php",
        "line":217,
        "function":"getUrlSrc",
        "class":"OCA\\Richdocuments\\WOPI\\Parser",
        "type":"->",
        "args":["text/plain"]
      },
      {
        "file":"/volume1/web/ncd/apps/richdocuments/lib/Controller/DocumentController.php",
        "line":256,
        "function":"getToken",
        "class":"OCA\\Richdocuments\\TokenManager",
        "type":"->",
        "args":["*** sensitive parameters replaced ***"]
      },
      {
        "file":"/volume1/web/ncd/lib/private/AppFramework/Http/Dispatcher.php",
        "line":218,
        "function":"index",
        "class":"OCA\\Richdocuments\\Controller\\DocumentController",
        "type":"->",
        "args":["*** sensitive parameter replaced ***",null]
      },
      {
        "file":"/volume1/web/ncd/lib/private/AppFramework/Http/Dispatcher.php",
        "line":127,
        "function":"executeController",
        "class":"OC\\AppFramework\\Http\\Dispatcher",
        "type":"->",
        "args":[{"__class__":"OCA\\Richdocuments\\Controller\\DocumentController"},"index"]
      },
      {
        "file":"/volume1/web/ncd/lib/private/AppFramework/App.php",
        "line":157,
        "function":"dispatch",
        "class":"OC\\AppFramework\\Http\\Dispatcher",
        "type":"->",
        "args":[{"__class__":"OCA\\Richdocuments\\Controller\\DocumentController"},"index"]
      },
      {
        "file":"/volume1/web/ncd/lib/private/Route/Router.php",
        "line":302,
        "function":"main",
        "class":"OC\\AppFramework\\App",
        "type":"::",
        "args":[
          "OCA\\Richdocuments\\Controller\\DocumentController",
          "index",
          {"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},
          {"_route":"richdocuments.document.index"}
         ]
        },
        {
          "file":"/volume1/web/ncd/lib/base.php",
          "line":993,
          "function":"match",
          "class":"OC\\Route\\Router",
          "type":"->",
          "args":["/apps/richdocuments/index"]
        },
        {
          "file":"/volume1/web/ncd/index.php",
          "line":37,
          "function":"handleRequest",
          "class":"OC",
          "type":"::",
          "args":[]
        }],
        "File":"/volume1/web/ncd/apps/richdocuments/lib/WOPI/Parser.php",
        "Line":54,
        "CustomMessage":"--"
  },
    "userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15",
    "version":"21.0.0.18",
    "id":"6057bef685e85"
}

I have to put myself in the queue aswell.

Is there any solution for it?

Same here! Was working month ago, updated regularly ever since, but even a major version upgrade did not help!
Snap install on Ubuntu

Same issue here, on version 22.2.3

1 Like

Hi, I also got the same problem on version 22.2.3 installed via snap on Ubuntu Server