Open shared document between federated NC Server in Collabora

Nextcloud version (eg, 17.0.1.1):
Operating system and version (Ubuntu 18.04 LTS Server):
Apache or nginx version (Apache 2.4.29):
PHP version (7.2.24):

The issue you are facing:

Im working in an virtualboxbox enviroment to test out the NC features i want to use. All machines are in a private IP net.
So I installed two NC 17 ( A & B) which are fully federated using the federation app (green light). Invites to folders between the federated ncs works fine with all the set permissions. Both NCs are connected to one Collabora CODE Server. I want to share a document from one NC to the other. The invite works. After i have accepted the invite i want to open the document in the online editor. I can see some work done in the browser window but after a short time i get the error Message “Collabora Online cant be loaded- Please try it later again”.

Edit/create Documents is working fine on both A & B

Ive tried the same process with OnlyOffice, but this one does not work refering to their documentation:

“If the document is shared using the Federated Cloud Sharing app, the co-editing among the servers will not be avaialble. The users from one and the same server can edit the document in the co-editing mode, but the users from two (or more) different servers will not be able to collaborate on the same document in real time.”

I’ve found other users having the same problem under:

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

Steps to replicate it:

  1. Install two NC 17
  2. Federate them
  3. Install CODE Server and connect the NC via the Collabora APP
  4. Invite a user on the other server to work on a Document
  5. Accept the invite - try to open the document in CODE

The output of your Nextcloud log in Admin > Logging:

Does not create something in the log for the questionable time

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

Nextcloud B
<?php
$CONFIG = array (
  'instanceid' => 'ocbpgndfgdfggmgz1l',
  'passwordsalt' => 'YjcMZMf7LfdgdfgvBAEmB8ABlgsTZdx5lo9Y',
  'secret' => 'C2G5veDZU5FG76fdgdfbrOHhxXeLg8f4Tdchu3VglATvSqRtSZIyb',
  'trusted_domains' => 
  array (
    0 => '192.168.5.2',
    1 => '192.168.5.1',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '17.0.1.1',
  'overwrite.cli.url' => 'http://192.168.5.2/nextcloud',
  'dbname' => 'Nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => '*****',
  'installed' => true,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'app_install_overwrite' => 
  array (
    0 => 'onlyoffice',
  ),
  'theme' => '',
  'loglevel' => 2,
  'maintenance' => false,
);
Nextcloud A
<?php
$CONFIG = array (
  'instanceid' => 'ocbpsfsdgfcbgngz54gngmgz1l',
  'passwordsalt' => 'YjcMZMf7LeresfvBAEmB8ABlgsTZdx5lo9Y',
  'secret' => 'C2G5veDZU5FG76brOH234werdgfghfgjxhxXeLg8f4Tdchu3VglATvSqRtSZIyb',
  'trusted_domains' => 
  array (
    0 => '192.168.5.1',
    1 => '192.168.5.2',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '17.0.1.1',
  'overwrite.cli.url' => 'http://192.168.5.1/nextcloud',
  'dbname' => 'Nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => *******',
  'installed' => true,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'app_install_overwrite' => 
  array (
    0 => 'onlyoffice',
  ),
  'theme' => '',
  'loglevel' => 2,
  'maintenance' => false,
);

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

Nothing corresponding seen so far...
1 Like