# Installation de collabora en lien avec nextcloud

**URL:** https://forum.yunohost.org/t/installation-de-collabora-en-lien-avec-nextcloud/41211
**Category:** Tutorials
**Tags:** french
**Created:** [December 31, 2025, 10:27am UTC](https://forum.yunohost.org/t/installation-de-collabora-en-lien-avec-nextcloud/41211 "2025-12-31T10:27:38Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![michelw1](https://forum.yunohost.org/user_avatar/forum.yunohost.org/michelw1/32/732_2.png) [@michelw1](https://forum.yunohost.org/u/michelw1)
#### Post date: [December 31, 2025, 10:27am UTC](https://forum.yunohost.org/t/installation-de-collabora-en-lien-avec-nextcloud/41211/1 "2025-12-31T10:27:38Z")

</div>

Bonjour,  
J’ai installé nexcloud dans un sous-domaine. Pour installer collabora il me semble qu’il faut faire de même. Mais je souhaite, également, faire le lien entre les deux et je ne sais pas comment faire pour que cela fonctionne. J’ai bien regardé différents messages [ici](https://forum.yunohost.org/t/installer-collabora-avec-nextcloud/4768) et [là](https://forum.yunohost.org/t/aide-installation-de-collabora-online-pour-nextcloud/3558/3) mais les essais n’ont pas l’air concluants. Auriez-vous un tutoriel qui soit fonctionnel à proposer ? En vous remerciant

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [December 31, 2025, 12:21pm UTC](https://forum.yunohost.org/t/installation-de-collabora-en-lien-avec-nextcloud/41211/2 "2025-12-31T12:21:38Z")

</div>

Bonjour,  
Pas de tutoriel mais je suis sûr que tu peux t’en sortir avec la documentation.

> <https://github.com/YunoHost-Apps/collabora_ynh/blob/master/doc/ADMIN_fr.md>

Une fois Collabora installé sur un sous-domaine et l’application Nextcloud Office installée sur Nextcloud:

 ![collabora_install_1](https://forum.yunohost.org/uploads/default/original/2X/b/b0ba538509ec4aedcbd238e17923566a6c8a00e5.png)

puis

 ![collabora_2](https://forum.yunohost.org/uploads/default/original/2X/1/1a808e10999c2eff73f04c73107c37a62304fc62.png)

---

<div class="post-metadata">

### Author: ![michelw1](https://forum.yunohost.org/user_avatar/forum.yunohost.org/michelw1/32/732_2.png) [@michelw1](https://forum.yunohost.org/u/michelw1)
#### Post date: [December 31, 2025, 6:15pm UTC](https://forum.yunohost.org/t/installation-de-collabora-en-lien-avec-nextcloud/41211/3 "2025-12-31T18:15:27Z")

</div>

Bonsoir,  
Merci pour votre aide mais j’ai quelques erreurs, Si vous avez une piste, en vous remerciant.

LocalServerException Could not detect any host

1. /var/www/nextcloud/lib/private/Http/Client/Client.phpLigne 205

```auto
OC\Http\Client\Client->preventLocalAddress

```

```auto
()

```

1. /var/www/nextcloud/apps/richdocuments/lib/Service/DiscoveryService.phpLigne 59

```auto
OC\Http\Client\Client->get

```

```auto
(
  " ***sensitive parameters replaced***"
)

```

1. /var/www/nextcloud/apps/richdocuments/lib/Service/CachedRequestService.phpLigne 74

```auto
OCA\Richdocuments\Service\DiscoveryService->sendRequest

```

```auto
()

```

1. /var/www/nextcloud/apps/richdocuments/lib/Service/ConnectivityService.phpLigne 28

```auto
OCA\Richdocuments\Service\CachedRequestService->fetch

```

```auto
()

```

1. /var/www/nextcloud/apps/richdocuments/lib/Controller/SettingsController.phpLigne 73

```auto
OCA\Richdocuments\Service\ConnectivityService->testDiscovery

```

```auto
()

```

1. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.phpLigne 200

```auto
OCA\Richdocuments\Controller\SettingsController->checkSettings

```

```auto
()

```

1. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.phpLigne 114

```auto
OC\AppFramework\Http\Dispatcher->executeController

```

```auto
()

```

1. /var/www/nextcloud/lib/private/AppFramework/App.phpLigne 161

```auto
OC\AppFramework\Http\Dispatcher->dispatch

```

```auto
()

```

1. /var/www/nextcloud/lib/private/Route/Router.phpLigne 315

```auto
OC\AppFramework\App::main

```

```auto
()

```

1. /var/www/nextcloud/lib/base.phpLigne 1063

```auto
OC\Route\Router->match

```

```auto
()

```

1. /var/www/nextcloud/index.phpLigne 24

```auto
OC::handleRequest

```

```auto
()

```

Entrée brute dans le journal

```auto
{
  "reqId": "Ld5CeAKMTYvhoNxeKBuh",
  "level": 3,
  "time": "2025-12-31T18:07:48+00:00",
  "remoteAddr": "192.168.1.254",
  "user": "michelwendling",
  "app": "richdocuments",
  "method": "GET",
  "url": "/apps/richdocuments/settings/check",
  "message": "Could not detect any host",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0",
  "version": "31.0.11.2",
  "exception": {
    "Exception": "OCP\\Http\\Client\\LocalServerException",
    "Message": "Could not detect any host",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/lib/private/Http/Client/Client.php",
        "line": 205,
        "function": "preventLocalAddress",
        "class": "OC\\Http\\Client\\Client",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/richdocuments/lib/Service/DiscoveryService.php",
        "line": 59,
        "function": "get",
        "class": "OC\\Http\\Client\\Client",
        "type": "->",
        "args": [
          " ***sensitive parameters replaced***"
        ]
      },
      {
        "file": "/var/www/nextcloud/apps/richdocuments/lib/Service/CachedRequestService.php",
        "line": 74,
        "function": "sendRequest",
        "class": "OCA\\Richdocuments\\Service\\DiscoveryService",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/richdocuments/lib/Service/ConnectivityService.php",
        "line": 28,
        "function": "fetch",
        "class": "OCA\\Richdocuments\\Service\\CachedRequestService",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/richdocuments/lib/Controller/SettingsController.php",
        "line": 73,
        "function": "testDiscovery",
        "class": "OCA\\Richdocuments\\Service\\ConnectivityService",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 200,
        "function": "checkSettings",
        "class": "OCA\\Richdocuments\\Controller\\SettingsController",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 114,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
        "line": 161,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Route/Router.php",
        "line": 315,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/base.php",
        "line": 1063,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/index.php",
        "line": 24,
        "function": "handleRequest",
        "class": "OC",
        "type": "::"
      }
    ],
    "File": "/var/www/nextcloud/lib/private/Http/Client/Client.php",
    "Line": 163,
    "message": "Could not detect any host",
    "exception": [],
    "CustomMessage": "Could not detect any host"
  },
  "id": "6955673b006aa"

```

---

<div class="post-metadata">

### Author: ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)
#### Post date: [December 31, 2025, 6:56pm UTC](https://forum.yunohost.org/t/installation-de-collabora-en-lien-avec-nextcloud/41211/4 "2025-12-31T18:56:29Z")

</div>

Dans la config de nextcloud, tu renseignes l’adresse de collabora (avec le https) puis dans le wopi tu ajoutes 127.0.0.1 ::1

---

<div class="post-metadata">

### Author: ![michelw1](https://forum.yunohost.org/user_avatar/forum.yunohost.org/michelw1/32/732_2.png) [@michelw1](https://forum.yunohost.org/u/michelw1)
#### Post date: [January 1, 2026, 11:17am UTC](https://forum.yunohost.org/t/installation-de-collabora-en-lien-avec-nextcloud/41211/6 "2026-01-01T11:17:55Z")

</div>

Merci à @otm33 et @jarod5001 cela fonctionne parfaitement.
