Error when trying to connect (Error occurred in the document service: Unknown error) (version 8.0.0.99)

HELLO
I am currently experiencing an issue with the integration of OnlyOffice and Nextcloud. Below, you will find the configuration details I have set up in the following files:

onlyoffice → local.json

 "services": {
    "CoAuthoring": {
      "sql": {
        "type": "postgres",
        "dbHost": "**",
        "dbPort": "**",
        "dbName": "**",
        "dbUser": "***",
        "dbPass": "****
      },
      "token": {
        "enable": {
          "request": {
            "inbox": true,
            "outbox": true
          },
          "browser": true
        },
        "inbox": {
          "header": "AuthorizationJwt",
          "inBody": false
        },
        "outbox": {
          "header": "AuthorizationJwt",
          "inBody": false
        }
      },
      "secret": {
        "inbox": {
          "string": "0oNULpbWR42W6kkyEaNSkk49b9ksih7J"
        },
        "outbox": {
          "string": "0oNULpbWR42W6kkyEaNSkk49b9ksih7J"
        },
        "session": {
          "string": "0oNULpbWR42W6kkyEaNSkk49b9ksih7J"
        }
      }
    }
  },
  "rabbitmq": {
    "url": "amqp://guest:guest@localhost"
  },
  "storage": {
    "fs": {
      "secretString": "9gIEPC3R6xUsxFjBxx8a"
    }
  }
}

nextcloud → config.php

<?php
$CONFIG = array (
  'instanceid' => 'ocitixk9x0ri',
  'passwordsalt' => '*******',
  'secret' => '*******',
  'trusted_domains' =>
  array (
    0 => '*****',
  ),
  'datadirectory' => '/var/www/html/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '28.0.2.5',
  'overwrite.cli.url' => '***',
  'dbname' => '***',
  'dbhost' => '***',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '***',
  'dbpassword' => '***',
  'installed' => true,
  'onlyoffice' =>
  array (
    'verify_peer_off' => true,
    'jwt_secret' => "0oNULpbWR42W6kkyEaNSkk49b9ksih7J",
    'jwt_header' => "AuthorizationJwt"
  ),
);

please help

Hello @adcom26

As I can see, provided local.json config is related to Document Server, however, the category of your post is set to Workspace which is different product. Please clarify which solution you are trying to integrate with Nextcloud.

hello
i’m so sorry,

i’m new membre

yes i use onlyoffice Document Server

where should i post it please ?

I have changed the category, please keep the discussion in this thread.

To better understand the issue, please provide following information:

  • version of ONLYOFFICE Docs (Document Server);
  • installation type of Document Server (Docker, DEB/RPM packages, EXE/MSI);
  • version of Nextcloud;
  • version of the connector app;
  • a screenshot of the error when pressing Save button in connector app settings.