nextcloud / nextcloud/documentserver_community

The Nextcloud "eurooffice 11.0.5" app does not connect to the "documentserver_community 0.4.0" app

Open
#405 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
142
Forks
32
Avg merge
23h 13m
Merged PRs (30d)
15

Description

The Nextcloud "eurooffice 11.0.5" app does not connect to the "documentserver_community 0.4.0" app

Dear developers, since I—as an "end user"—cannot determine whether the problem lies with the "eurooffice app" or the "documentserver_community app," I unfortunately have to report the issue in both repositories:

https://github.com/nextcloud/documentserver_community
https://github.com/Euro-Office/eurooffice-nextcloud

Details:
"Nextcloud Hub 26 Winter (33.0.8)" (native on Debian with Apache as the web server)
"documentserver_community 0.4.0" (Nextcloud App)
"eurooffice 11.0.5" (Nextcloud App) or "onlyoffice 10.1.2" (Nextcloud App) - only one enabled at a time

Works:
"onlyoffice 10.1.2" (the so-called "connector app"?) connects to "documentserver_community 0.4.0" without issues (URL like https://sub.domain.tld/apps/documentserver_community in the connector settings), and the office application works.

Does not work:
"eurooffice 11.0.5" (the other so-called "connector app"?) does NOT connect to "documentserver_community 0.4.0" (using the same URL like https://sub.domain.tld/apps/documentserver_community in the connector settings). The "Connector" settings interface displays:

Error connecting (Server error: GET https://sub.domain.tld/index.php/apps/documentserver_community/healthcheck resulted in a 500 Internal Server Error response:

In the logs, I find the following lines (excerpt), for example, around the time of the connection attempt:

“app”: “eurooffice”,
“method”: “PUT”,
“url”: “/index.php/apps/eurooffice/ajax/settings/address”,
“scriptName”: “/index.php”,
“message”: “healthcheckRequest on check error”,
“userAgent”: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Safari/605.1.15”,
“version”: “33.0.9.1”,
“exception”: {
“Exception”: “GuzzleHttp\Exception\ServerException”,
“Message”: “Server error: GET https://sub.domain.tls/apps/documentserver_community/healthcheck resulted in a 500 Internal Server Error response:\n\n\n\t<hea (truncated…)\n”,
“Code”: 500,
“Trace”: [
{
“file”: “/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php”,
“line”: 72,
“function”: “create”,
“class”: “GuzzleHttp\Exception\RequestException”,
“type”: “::”,
“args”: [
“*** sensitive parameters replaced "
]

Or:

“message”: “Could not resolve OCA\DocumentServer\Controller\DocumentController! Class "OCA\Onlyoffice\AppConfig" does not exist”,

I ask that this be logged as an error or that I be given feedback on whom... ...I could/should otherwise report this error.

Regards
Yummiweb

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the connection from the eurooffice connector settings using the documented Nextcloud, documentserver_community, and eurooffice versions. Start with the /apps/documentserver_community/healthcheck endpoint and the reported OCA\DocumentServer\Controller\DocumentController and OCA\Onlyoffice\AppConfig errors. Done means eurooffice connects successfully without a 500 response, while onlyoffice continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.