- Nextcloud version: 20.0.3
- Operating system and version: Ubuntu 20.04 LTS
- PHP version: 7.4.13
I’m trying to install Collabora’s built-in CODE just as my original installation of Nextcloud had (since onlyOffice has been causing problems lately). After installing Collabora and CODE from the app store I’ve checked if a connection is being established but I get the following error: Could not establish connection to the Collabora Online server
.
Originally I did not had this error, but ever since I purchased a domain name for my server.
Is this the first time you’ve seen this error? (Y/N): Y
[richdocuments] Error: Exception: Could not find urlsrc in WOPI at <<closure>>
0. /var/snap/nextcloud/24940/nextcloud/extra-apps/richdocuments/lib/TokenManager.php line 210
OCA\Richdocuments\WOPI\Parser->getUrlSrc("application/vnd ... t")
1. /var/snap/nextcloud/24940/nextcloud/extra-apps/richdocuments/lib/Controller/DocumentController.php line 256
OCA\Richdocuments\TokenManager->getToken("*** sensitive parameters replaced ***")
2. /snap/nextcloud/24940/htdocs/lib/private/AppFramework/Http/Dispatcher.php line 169
OCA\Richdocuments\Controller\DocumentController->index("*** sensitive parameter replaced ***", null)
3. /snap/nextcloud/24940/htdocs/lib/private/AppFramework/Http/Dispatcher.php line 100
OC\AppFramework\Http\Dispatcher->executeController(OCA\Richdocument ... {}, "index")
4. /snap/nextcloud/24940/htdocs/lib/private/AppFramework/App.php line 152
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Richdocument ... {}, "index")
5. /snap/nextcloud/24940/htdocs/lib/private/Route/Router.php line 308
OC\AppFramework\App::main("OCA\\Richdocume ... r", "index", OC\AppFramework\ ... {}, {action: null,_r ... "})
6. /snap/nextcloud/24940/htdocs/lib/base.php line 1008
OC\Route\Router->match("/apps/richdocuments/index")
7. /snap/nextcloud/24940/htdocs/index.php line 37
OC::handleRequest()
GET /index.php/apps/richdocuments/index?fileId=4135&requesttoken=FYn9lKSaZuGeOTlZG8UeHKkY5hj2H9ZIfaL8g6lIeXc%3D%3AdPOz%2FcupNpbHVkgDTfRURO0qrU6uRv0sN%2FeZ1pobCj4%3D
from 186.15.18.169 by Je12emy at 2020-12-13T02:26:44+00:00
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/snap/nextcloud/current/htdocs/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps',
'url' => '/extra-apps',
'writable' => true,
),
),
'supportedDatabases' =>
array (
0 => 'mysql',
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/tmp/sockets/redis.sock',
'port' => 0,
),
'log_type' => 'file',
'logfile' => '/var/snap/nextcloud/current/logs/nextcloud.log',
'logfilemode' => 416,
'instanceid' => 'foo',
'passwordsalt' => 'bar',
'secret' => 'foo',
'trusted_domains' =>
array (
0 => 'foo',
1 => 'bar',
),
'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data',
'dbtype' => 'mysql',
'version' => '20.0.3.2',
'overwrite.cli.url' => 'foo',
'dbname' => 'foo',
'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'foo',
'dbpassword' => 'bar',
'installed' => true,
'maintenance' => false,
'app_install_overwrite' =>
array (
0 => 'drawio',
),
'loglevel' => 2,
);