Onlyoffice not working no matter what i do

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 (eg, 12.0.2): 18.0.3
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04.4 LTS (GNU/Linux 4.4.190-1233-rockchip-ayufan-gd3f1be0ed310 aarch64)
Apache or nginx version (eg, Apache 2.4.25): nginx 1.17.9
PHP version (eg, 7.1): 7.4

The issue you are facing: Hi folks, a have a problem with ONLYOFFICE. I tried to installed it a hundred times, manually by installing the addons in correct order as well as automatically (mainly by using this lovely script here https://privat.c-rieger.de/s/ZqHd5rW7NLRgwHR/download).
I tried to add this to a well running system as well as setting up a fresh installation of the os and run it there.
It always ends with “ONLYOFFICE cannot be reached. Please contact admin” which is kind of annoying.
Weird thing as well is: When i connect to demo ONLYOFFICE Document Server it states “You are using public demo ONLYOFFICE Document Server. Please do not store private sensitive data” but the screen stays white too.
What did I miss? Any special ports needed to be opened on ufw or forwarded in the router settings?
Any permission issue? Any packages missing? Any known incompatibilities with certain single board computers (Using a rock64 4GB here)

Any help is highly appreciated, cheers from Vienna

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

Steps to replicate it:

  1. Install a fresh instance of NC on a fresh instance of Ubuntu minimal on a rock64
  2. Install documentserver and onlyoffice app in nextcloud (or do it automatically)
  3. Wonder why it is still not working

The output of your Nextcloud log in Admin > Logging:

When trying to open it via demo server:

Fatal	OCA\DAV\Connector\Sabre\Exception\Forbidden: Invalid path

    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php - line 179:

    OCA\DAV\Connector\Sabre\Directory->delete()

    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 287:

    Sabre\DAV\Tree->delete()

    <<closure>>

    Sabre\DAV\CorePlugin->httpDelete()

    /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105:

    call_user_func_array()

    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479:

    Sabre\Event\EventEmitter->emit()

    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254:

    Sabre\DAV\Server->invokeMethod()

    /var/www/nextcloud/apps/dav/lib/Server.php - line 319:

    Sabre\DAV\Server->exec()

    /var/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:

    OCA\DAV\Server->exec()

    /var/www/nextcloud/remote.php - line 165:

    require_once("/var/www/ne ... p")




When trying to open it with my installed documentserver

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

    /var/www/nextcloud/lib/private/AppFramework/App.php - line 125:

    OC\AppFramework\Http\Dispatcher->dispatch()

    /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

    OC\AppFramework\App::main()

    <<closure>>

    OC\AppFramework\Routing\RouteActionHandler->__invoke()

    /var/www/nextcloud/lib/private/Route/Router.php - line 299:

    call_user_func()

    /var/www/nextcloud/lib/base.php - line 1008:

    OC\Route\Router->match()

    /var/www/nextcloud/index.php - line 38:

    OC::handleRequest()

Caused by TypeError: trim() expects parameter 1 to be string, bool given

    /var/www/nextcloud/apps/documentserver_community/lib/SetupCheck.php - line 80:

    trim()

    /var/www/nextcloud/apps/documentserver_community/lib/SetupCheck.php - line 55:

    OCA\DocumentServer\SetupCheck->lddError()

    /var/www/nextcloud/apps/documentserver_community/lib/Controller/StaticController.php - line 90:

    OCA\DocumentServer\SetupCheck->getHint()

    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:

    OCA\DocumentServer\Controller\StaticController->webApps()

    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:

    OC\AppFramework\Http\Dispatcher->executeController()

    /var/www/nextcloud/lib/private/AppFramework/App.php - line 125:

    OC\AppFramework\Http\Dispatcher->dispatch()

    /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

    OC\AppFramework\App::main()

    <<closure>>

    OC\AppFramework\Routing\RouteActionHandler->__invoke()

    /var/www/nextcloud/lib/private/Route/Router.php - line 299:

    call_user_func()

    /var/www/nextcloud/lib/base.php - line 1008:

    OC\Route\Router->match()

    /var/www/nextcloud/index.php - line 38:

    OC::handleRequest()


As well as: 

Error	OCA\DocumentServer\Document\DocumentConversionException: sh: 1: ./x2t: Exec format error

    /var/www/nextcloud/apps/documentserver_community/lib/Document/ConverterBinary.php - line 72:

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

    /var/www/nextcloud/apps/documentserver_community/lib/SetupCheck.php - line 34:

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

    /var/www/nextcloud/apps/documentserver_community/lib/Controller/StaticController.php - line 89:

    OCA\DocumentServer\SetupCheck->check()

    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:

    OCA\DocumentServer\Controller\StaticController->webApps()

    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:

    OC\AppFramework\Http\Dispatcher->executeController()

    /var/www/nextcloud/lib/private/AppFramework/App.php - line 125:

    OC\AppFramework\Http\Dispatcher->dispatch()

    /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

    OC\AppFramework\App::main()

    <<closure>>

    OC\AppFramework\Routing\RouteActionHandler->__invoke()

    /var/www/nextcloud/lib/private/Route/Router.php - line 299:

    call_user_func()

    /var/www/nextcloud/lib/base.php - line 1008:

    OC\Route\Router->match()

    /var/www/nextcloud/index.php - line 38:

    OC::handleRequest()

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

<?php
$CONFIG = array (
'passwordsalt' => 'blablabla',
'secret' => 'yadayadayada',
'trusted_domains' => 
array (
0 => 'MYDYNDNS.ddns.net',
1 => '192.168.1.116',
),
'datadirectory' => '/var/nc_data',
'dbtype' => 'mysql',
'version' => '18.0.3.0',
'overwrite.cli.url' => 'https://',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:/var/run/mysqld/mysqld.sock',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'nextcloud',
'installed' => true,
'instanceid' => 'oct8bt6hq734',
'activity_expire_days' => 14,
'auth.bruteforce.protection.enabled' => true,
'blacklisted_files' =>
array (
0 => '.htaccess',
1 => 'Thumbs.db',
2 => 'thumbs.db',
),
'cron_log' => true,
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\Preview\PNG',
1 => 'OC\Preview\JPEG',
2 => 'OC\Preview\GIF',
3 => 'OC\Preview\BMP',
4 => 'OC\Preview\XBitmap',
5 => 'OC\Preview\Movie',
6 => 'OC\Preview\PDF',
7 => 'OC\Preview\MP3',
8 => 'OC\Preview\TXT',
9 => 'OC\Preview\MarkDown',
),
'filesystem_check_changes' => 0,
'filelocking.enabled' => 'true',
'htaccess.RewriteBase' => '/',
'integrity.check.disabled' => false,
'knowledgebaseenabled' => false,
'log_rotate_size' => 104857600,
'logfile' => '/var/nc_data/nextcloud.log',
'logtimezone' => 'Europe/Berlin',
'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\OC\Memcache\Redis',
'preview_max_x' => 1024,
'preview_max_y' => 768,
'preview_max_scale_factor' => 1,
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'quota_include_external_storage' => false,
'share_folder' => '/Shares',
'skeletondirectory' => '',
'trashbin_retention_obligation' => 'auto, 7',
);

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

PASTE HERE