After update to Nextcloud 18.05 from 18.04 OnlyOffice stops working

Update runs smoothly. After tryung to use OnlyOffice with an existing file errormessage
“ONLYOFFICE ist zurzeit nicht erreichbar. Bitte wenden Sie sich an Ihren Administrator”
Error log shows the following text:
"Error index Exception: trim() expects parameter 1 to be string, boolean given

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/AppFramework/App.php - line 125:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\Document ... {}, "webApps")

/home/webpages/lima-city/fato18/sites/nextcloud/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/webpages/lima-city/fato18/sites/nextcloud/lib/private/Route/Router.php - line 299:

call_user_func(OC\AppFramew ... {}, { path: "app ... "})

/home/webpages/lima-city/fato18/sites/nextcloud/lib/base.php - line 1008:

OC\Route\Router->match("/apps/docum ... s")

/home/webpages/lima-city/fato18/sites/nextcloud/index.php - line 38:

OC::handleRequest()

Verursacht durchTypeError: trim() expects parameter 1 to be string, boolean given

/home/webpages/lima-city/fato18/sites/nextcloud/apps/documentserver_community/lib/SetupCheck.php - line 80:

trim(false)

/home/webpages/lima-city/fato18/sites/nextcloud/apps/documentserver_community/lib/SetupCheck.php - line 55:

OCA\DocumentServer\SetupCheck->lddError()

/home/webpages/lima-city/fato18/sites/nextcloud/apps/documentserver_community/lib/Controller/StaticController.php - line 90:

OCA\DocumentServer\SetupCheck->getHint()

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:

OCA\DocumentServer\Controller\StaticController->webApps("apps/api/documents/api.js")

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:

OC\AppFramework\Http\Dispatcher->executeController(OCA\Document ... {}, "webApps")

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/AppFramework/App.php - line 125:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\Document ... {}, "webApps")

/home/webpages/lima-city/fato18/sites/nextcloud/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/webpages/lima-city/fato18/sites/nextcloud/lib/private/Route/Router.php - line 299:

call_user_func(OC\AppFramew ... {}, { path: "app ... "})

/home/webpages/lima-city/fato18/sites/nextcloud/lib/base.php - line 1008:

OC\Route\Router->match("/apps/docum ... s")

/home/webpages/lima-city/fato18/sites/nextcloud/index.php - line 38:

OC::handleRequest()

vor 2 Minuten
Error documentserver_community OCA\DocumentServer\Document\DocumentConversionException: ./x2t: error while loading shared libraries: libkernel.so: failed to map segment from shared object

/home/webpages/lima-city/fato18/sites/nextcloud/apps/documentserver_community/lib/Document/ConverterBinary.php - line 72:

OCA\DocumentServer\Document\ConverterBinary->run("")

/home/webpages/lima-city/fato18/sites/nextcloud/apps/documentserver_community/lib/SetupCheck.php - line 34:

OCA\DocumentServer\Document\ConverterBinary->test()

/home/webpages/lima-city/fato18/sites/nextcloud/apps/documentserver_community/lib/Controller/StaticController.php - line 89:

OCA\DocumentServer\SetupCheck->check()

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:

OCA\DocumentServer\Controller\StaticController->webApps("apps/api/documents/api.js")

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:

OC\AppFramework\Http\Dispatcher->executeController(OCA\Document ... {}, "webApps")

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/AppFramework/App.php - line 125:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\Document ... {}, "webApps")

/home/webpages/lima-city/fato18/sites/nextcloud/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/webpages/lima-city/fato18/sites/nextcloud/lib/private/Route/Router.php - line 299:

call_user_func(OC\AppFramew ... {}, { path: "app ... "})

/home/webpages/lima-city/fato18/sites/nextcloud/lib/base.php - line 1008:

OC\Route\Router->match("/apps/docum ... s")

/home/webpages/lima-city/fato18/sites/nextcloud/index.php - line 38:

OC::handleRequest()"

Tried to reinstall OnlyOffice Connector and DocumentServer Community. No success. What can i do?

After an update to documentserver_community 0.1.6 the sytem trhrows a new error:

Error settings Exception: …/…/tools/allfontsgen: error while loading shared libraries: libgraphics.so: failed to map segment from shared object

/home/webpages/lima-city/fato18/sites/nextcloud/apps/documentserver_community/lib/LocalAppData.php - line 78:

OCA\DocumentServer\Document\FontManager->OCA\DocumentServer\Document\{closure}("*** sensiti ... *")

/home/webpages/lima-city/fato18/sites/nextcloud/apps/documentserver_community/lib/Document/FontManager.php - line 76:

OCA\DocumentServer\LocalAppData->getReadLocalPath(OC\Files\Sim ... {}, Closure {})

/home/webpages/lima-city/fato18/sites/nextcloud/apps/documentserver_community/lib/Migration/RebuildFonts.php - line 46:

OCA\DocumentServer\Document\FontManager->rebuildFonts()

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/Repair.php - line 104:

OCA\DocumentServer\Migration\RebuildFonts->run(OC\Repair {})

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/legacy/app.php - line 981:

OC\Repair->run()

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/Installer.php - line 160:

OC_App::executeRepairSteps("documentserver_community", { step: "OCA ... "})

/home/webpages/lima-city/fato18/sites/nextcloud/apps/settings/lib/Controller/AppSettingsController.php - line 443:

OC\Installer->installApp("documentserver_community")

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:

OCA\Settings\Controller\AppSettingsController->enableApps([ "documentserver_community"], [])

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:

OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings ... {}, "enableApps")

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/AppFramework/App.php - line 125:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "enableApps")

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

OC\AppFramework\App::main("OCA\\Settin ... r", "enableApps", OC\AppFramew ... {}, { _route: "s ... "})

<<closure>>

OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "s ... "})

/home/webpages/lima-city/fato18/sites/nextcloud/lib/private/Route/Router.php - line 299:

call_user_func(OC\AppFramew ... {}, { _route: "s ... "})

/home/webpages/lima-city/fato18/sites/nextcloud/lib/base.php - line 1008:

OC\Route\Router->match("/settings/apps/enable")

/home/webpages/lima-city/fato18/sites/nextcloud/index.php - line 38:

OC::handleRequest()

It is a bit in the same direction as before, but another “libgraphics.so” . Any hints for a newbee??

I’m on a shared hosting webserver. Direct download of the documentserver_community is impossible because of this error:
Error PHP Allowed memory size of 268435456 bytes exhausted (tried to allocate 314315496 bytes) at /home/webpages/lima-city/fato18/sites/nextcloud/lib/private/Installer.php#285.
No possibility to change php.ini.

I tried also to set up a Nexcloud 19 fresh install on the webhosting space with OnlyOffice documentserver. Error is now:

Es ist ein Fehler bei der Anfrage aufgetreten. Es kann nicht fortgefahren werden.
…/…/tools/allfontsgen: error while loading shared libraries: libgraphics.so: failed to map segment from shared object

I contacted my provider as i’m on a shared host. The answer was enlightening: “Wir haben ein Betriebssystem-Update eingespielt und es gibt dabei einige subtile Unterschiede in AppArmor-Policies. In dem Fall war mmap in der vorherigen AppArmor-Version mit dem read+execute-Bit erlaubt, jetzt nicht mehr, sondern muss separat freigegeben werden. Das hatten wir auch für die “normalen” ausführbaren Dateien gemacht, aber nicht für Bibliotheken die in Verzeichnissen auf dem Webspace liegen.” In english: “We have installed an operating system update and there are some subtle differences in AppArmor policies. In this case, mmap was allowed in the previous AppArmor version with the read + execute bit, now no longer, but must be released separately. We also did this for the “normal” executable files, but not for libraries that are located in directories on the web space.”