Unknown Error after fresh Install

Hi Everyone,

I did not find anything fitting, so I’m trying a new post. I have installed the server before and got an -8 Error in the ConversionService and all of the suggestions did not resolve this. So I thought a fresh start would be good.

The Installation and Switch to https was no issue, but as soon as I Switched, the service does not work anymore. If I try to connect the Nextcloud App, I get the following Error:

[onlyoffice] Fehler: Exception: Im Dokumentenservice ist ein Fehler aufgetreten: Unknown error at <>

  1. /var/www/nextcloud/apps/onlyoffice/lib/DocumentService.php line 95
    OCA\Onlyoffice\DocumentService->ProcessConvServResponceError()
  2. /var/www/nextcloud/apps/onlyoffice/lib/DocumentService.php line 446
    OCA\Onlyoffice\DocumentService->GetConvertedUri()
  3. /var/www/nextcloud/apps/onlyoffice/lib/Controller/SettingsController.php line 181
    OCA\Onlyoffice\DocumentService->checkDocServiceUrl()
  4. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 230
    OCA\Onlyoffice\Controller\SettingsController->SaveAddress()
  5. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 137
    OC\AppFramework\Http\Dispatcher->executeController()
  6. /var/www/nextcloud/lib/private/AppFramework/App.php line 183
    OC\AppFramework\Http\Dispatcher->dispatch()
  7. /var/www/nextcloud/lib/private/Route/Router.php line 315
    OC\AppFramework\App::main()
  8. /var/www/nextcloud/lib/base.php line 1071
    OC\Route\Router->match()
  9. /var/www/nextcloud/index.php line 36
    OC::handleRequest()

If I start the example server, i get the following Error:

image

Maybe somoene has any insights for me.

Document Server version: 7.50
Nextcloud-App: 8.22
Type of installation: Docs Community
OS: Windows Server 2022
Other Software: Postgres 16.0.1, rabbitMQ 3.9.12, Erlang 24.2
Browser version: Chrome/Firefox latest

@JoChMahr :wave:
Let’s take a look at what happened. :handshake:

  1. Please open local.json in
    For Linux - /etc/onlyoffice/documentserver/local.json
    For Windows - %ProgramFiles%\ONLYOFFICE\DocumentServer\config\local.json

and find section below:

     "token": {
        "enable": {
          "request": {
            "inbox": true,
            "outbox": true
          },
          "browser": true
        },
        "inbox": {
          "header": "AuthorizationJWT"
        },
        "outbox": {
          "header": "AuthorizationJWT"
        }
      },
      "secret": {
        "inbox": {
          "string": "your_secret"
        },
        "outbox": {
          "string": "your_secret"
        },
        "session": {
          "string": "your_secret"

Compare values of JWT token secret and header from both configuration files, these values should match. If they do not match, please replace the values in local.json with the required ones and restart all services of Document Server

  • via Windows Services

  • For RPM/DEB packages:
    systemctl restart ds-*

  • For Docker:
    supervisorctl restart all

  1. If the problem persists, please provide access to the logs (/var/log/onlyoffice/documentserver/docservice/out.log) and the local.json file ."

  2. Perhaps I will be able to reproduce the issue. Could you provide a detailed scenario with links to the guides?