Error: ONLYOFFICE cannot be reached. Please contact admin

Hi all,

I’ve just rebuilt my home server using Ubuntu Server and Docker using the amazing Smart Home Beginner guide. NextCloud is working really well, but the (newly?) built-in OnlyOffice and respective Document Service isn’t working. When logged in as a user I can click the + sign and the options for a new “Document”, “Spreadsheet” and “Presentation” appear, but trying to create one first says “File created” but is then followed by “ONLYOFFICE cannot be reached. Please contact admin.”

Does anyone have any advice on where to start looking or what might be wrong? I thought the integration was meant to be pretty much out of the box working.

The only relevant logged information I can find is below.

Thanks in advance!!

[index] Error: Exception: trim() expects parameter 1 to be string, bool given at <>

  1. /config/www/nextcloud/lib/private/AppFramework/App.php line 125
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\DocumentServ … {}, “webApps”)
  2. /config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
    OC\AppFramework\App::main(“OCA\DocumentSe … r”, “webApps”, OC\AppFramework\ … {}, {path: "apps/api … "})
  3. <>
    OC\AppFramework\Routing\RouteActionHandler->__invoke({path: "apps/api … "})
  4. /config/www/nextcloud/lib/private/Route/Router.php line 299
    call_user_func(OC\AppFramework\ … {}, {path: "apps/api … "})
  5. /config/www/nextcloud/lib/base.php line 1008
    OC\Route\Router->match("/apps/documents … s")
  6. /config/www/nextcloud/index.php line 38
    OC::handleRequest()

GET /apps/documentserver_community/web-apps/apps/api/documents/api.js
from 61.68.144.200 by ncadmin at 2020-04-19T01:44:59+00:00
[documentserver_community] Error: OCA\DocumentServer\Document\DocumentConversionException: sh: ./x2t: not found
at <>

  1. /config/www/nextcloud/apps/documentserver_community/lib/Document/ConverterBinary.php line 72
    OCA\DocumentServer\Document\ConverterBinary->run("")
  2. /config/www/nextcloud/apps/documentserver_community/lib/SetupCheck.php line 34
    OCA\DocumentServer\Document\ConverterBinary->test()
  3. /config/www/nextcloud/apps/documentserver_community/lib/Controller/StaticController.php line 89
    OCA\DocumentServer\SetupCheck->check()
  4. /config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 170
    OCA\DocumentServer\Controller\StaticController->webApps(“apps/api/documents/api.js”)
  5. /config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
    OC\AppFramework\Http\Dispatcher->executeController(OCA\DocumentServ … {}, “webApps”)
  6. /config/www/nextcloud/lib/private/AppFramework/App.php line 125
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\DocumentServ … {}, “webApps”)
  7. /config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
    OC\AppFramework\App::main(“OCA\DocumentSe … r”, “webApps”, OC\AppFramework\ … {}, {path: "apps/api … "})
  8. <>
    OC\AppFramework\Routing\RouteActionHandler->__invoke({path: "apps/api … "})
  9. /config/www/nextcloud/lib/private/Route/Router.php line 299
    call_user_func(OC\AppFramework\ … {}, {path: "apps/api … "})
  10. /config/www/nextcloud/lib/base.php line 1008
    OC\Route\Router->match("/apps/documents … s")
  11. /config/www/nextcloud/index.php line 38
    OC::handleRequest()

GET /apps/documentserver_community/web-apps/apps/api/documents/api.js
from xx.yy.xxx.yyy by myUser at 2020-04-19T01:50:09+00:00