Documentserver_community not reachable after update to NC19.0.4

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version: (19.0.4)
Operating system and version: (Debian 4.9.0-11-amd64)
Apache or nginx version: (Apache version unknown)
PHP version: (eg, 7.4.11)
App version OnlyOffice: (6.1.0)
App version documentserver_community: (0.1.8)

Nextcloud is installed on a shared hoster (at least with ssh access)

The issue you are facing:

After Update, it seems the documentserver can’t be reached either from nextcloud app or from desktop version of onlyoffice. A similar issue has been posted recently in german at https://help.nextcloud.com/t/update-auf-onlyoffice-documentserver-0-1-8-unerreichbarkeit/96107

Is this the first time you’ve seen this error? (Y/N):
Y

Steps to replicate it:

  1. Existing OnlyOffice and documentserver_community are installed and and working
  2. Update from NC18.0.7 to 19.0.4
  3. Update available apps
  4. Open a xlsx-file inside nextcloud
    -> error message (translated from german): only office is not accesible at the moment. Contact your administrator
    -> Same happens if trying to load the same file in the desktop version of OnlyOffice

The output of your Nextcloud log in Admin > Logging:

(App:index)

Exception: trim() expects parameter 1 to be string, bool given


/home/www/cloud/lib/private/AppFramework/App.php - line 137:
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Document ... {}, "webApps")

/home/www/cloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
OC\AppFramework\App::main("OCA\\Docume ... r", "webApps", OC\AppFramew ... {}, { path: "app ... "})

<<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({ path: "app ... "})

/home/www/cloud/lib/private/Route/Router.php - line 297:
call_user_func(OC\AppFramew ... {}, { path: "app ... "})

/home/www/cloud/lib/base.php - line 1011:
OC\Route\Router->match("/apps/docum ... s")

/home/www/cloud/index.php - line 37:
OC::handleRequest()

Caused by TypeError: trim() expects parameter 1 to be string, bool given
/home/www/cloud/apps/documentserver_community/lib/SetupCheck.php - line 80:
trim(false)

/home/www/cloud/apps/documentserver_community/lib/SetupCheck.php - line 55:
OCA\DocumentServer\SetupCheck->lddError()

/home/www/cloud/apps/documentserver_community/lib/Controller/StaticController.php - line 90:
OCA\DocumentServer\SetupCheck->getHint()

/home/www/cloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:
OCA\DocumentServer\Controller\StaticController->webApps("apps/api/documents/api.js")

/home/www/cloud/lib/private/AppFramework/Http/Dispatcher.php - line 100:
OC\AppFramework\Http\Dispatcher->executeController(OCA\Document ... {}, "webApps")

/home/www/cloud/lib/private/AppFramework/App.php - line 137:
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Document ... {}, "webApps")

/home/www/cloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
OC\AppFramework\App::main("OCA\\Docume ... r", "webApps", OC\AppFramew ... {}, { path: "app ... "})

<<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({ path: "app ... "})

/home/www/cloud/lib/private/Route/Router.php - line 297:
call_user_func(OC\AppFramew ... {}, { path: "app ... "})

/home/www/cloud/lib/base.php - line 1011:
OC\Route\Router->match("/apps/docum ... s")

/home/www/cloud/index.php - line 37:
OC::handleRequest()



(App: documentserver_community)

OCA\DocumentServer\Document\DocumentConversionException: ./x2t: error while loading shared libraries: libgraphics.so: cannot open shared object file: No such file or directory


/home/www/cloud/apps/documentserver_community/lib/Document/ConverterBinary.php - line 72:
OCA\DocumentServer\Document\ConverterBinary->run("")

/home/www/cloud/apps/documentserver_community/lib/SetupCheck.php - line 34:
OCA\DocumentServer\Document\ConverterBinary->test()

/home/www/cloud/apps/documentserver_community/lib/Controller/StaticController.php - line 89:
OCA\DocumentServer\SetupCheck->check()

/home/www/cloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:
OCA\DocumentServer\Controller\StaticController->webApps("apps/api/documents/api.js")

/home/www/cloud/lib/private/AppFramework/Http/Dispatcher.php - line 100:
OC\AppFramework\Http\Dispatcher->executeController(OCA\Document ... {}, "webApps")

/home/www/cloud/lib/private/AppFramework/App.php - line 137:
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Document ... {}, "webApps")

/home/www/cloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
OC\AppFramework\App::main("OCA\\Docume ... r", "webApps", OC\AppFramew ... {}, { path: "app ... "})

<<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({ path: "app ... "})

/home/www/cloud/lib/private/Route/Router.php - line 297:
call_user_func(OC\AppFramew ... {}, { path: "app ... "})

/home/www/cloud/lib/base.php - line 1011:
OC\Route\Router->match("/apps/docum ... s")

/home/www/cloud/index.php - line 37:
OC::handleRequest()

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'debug' => true,
  'instanceid' => 'xxxxxxx',
  'passwordsalt' => 'xxxxxxx',
  'secret' => 'xxxxxxx',
  'trusted_domains' => 
  array (
    0 => 'cloud.domain.de',
  ),
  'datadirectory' => '/home/www//cloud/data',
  'overwrite.cli.url' => 'https://cloud.domain.de',
  'dbtype' => 'mysql',
  'version' => '19.0.4.2',
  'dbname' => 'xxxxxxx',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'xxxxxxx',
  'dbpassword' => 'xxxxxxx',
  'logtimezone' => 'UTC',
  'installed' => true,
  'theme' => '',
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'mail_from_address' => 'cloud',
  'mail_domain' => 'domain.de',
  'loglevel' => 2,
  'trashbin_retention_obligation' => 'auto,14',
  'versions_retention_obligation' => 'auto,7',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'mail_smtpauth' => 1,
  'mail_sendmailmode' => 'smtp',
  'app_install_overwrite' => 
  array (
    0 => 'calendar',
  ),
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => mail.domain.de',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'xxxxxxx',
  'mail_smtppassword' => 'xxxxxxx',
  'mail_smtpsecure' => 'ssl',
);

The output of your Apache/nginx/system log in /var/log/____:

not available (webhoster)