Fehler 405 Method Not Allowed` response

Hallo.

I get the following error message when I try to set up the server settings (https://ncloud.xxx.de/apps/documentserver_community/) for Onlyoffice. But I can’t do anything with it…

Can anyone tell me how to fix this error?

I am using Nextcloud version 27.1.2 PHP 8.1 stable.

Ich bekomme beim Versuch die Servereinstellungen (https://ncloud.xxx.de/apps/documentserver_community/) von Onlyoffice einzurichten nachfolgende Fehlermeldung. Kann damit aber rein gar nichts anfangen…

Kann mir jemand sagen, wie ich den Fehler beheben kann?

Ich nutze die Nextcloud in der Version 27.1.2 PHP 8.1 stable.

[onlyoffice] Fehler: GuzzleHttp\Exception\ClientException: Client error: `POST https://ncloud.xxx.de/apps/documentserver_community/coauthoring/CommandService.ashx` resulted in a `405 Method Not Allowed` response at <<closure>>

 0. /home/www/ncloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 69
    GuzzleHttp\Exception\RequestException::create("*** sensitive parameters replaced ***")
 1. /home/www/ncloud/3rdparty/guzzlehttp/promises/src/Promise.php line 204
    GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
 2. /home/www/ncloud/3rdparty/guzzlehttp/promises/src/Promise.php line 153
    GuzzleHttp\Promise\Promise::callHandler(1, "*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
 3. /home/www/ncloud/3rdparty/guzzlehttp/promises/src/TaskQueue.php line 48
    GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}("*** sensitive parameters replaced ***")
 4. /home/www/ncloud/3rdparty/guzzlehttp/promises/src/Promise.php line 248
    GuzzleHttp\Promise\TaskQueue->run(true)
 5. /home/www/ncloud/3rdparty/guzzlehttp/promises/src/Promise.php line 224
    GuzzleHttp\Promise\Promise->invokeWaitFn()
 6. /home/www/ncloud/3rdparty/guzzlehttp/promises/src/Promise.php line 269
    GuzzleHttp\Promise\Promise->waitIfPending()
 7. /home/www/ncloud/3rdparty/guzzlehttp/promises/src/Promise.php line 226
    GuzzleHttp\Promise\Promise->invokeWaitList()
 8. /home/www/ncloud/3rdparty/guzzlehttp/promises/src/Promise.php line 62
    GuzzleHttp\Promise\Promise->waitIfPending()
 9. /home/www/ncloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 187
    GuzzleHttp\Promise\Promise->wait()
10. /home/www/ncloud/lib/private/Http/Client/Client.php line 301
    GuzzleHttp\Client->request("post", "https://ncloud. ... x", [false,60,["appl ... e])
11. /home/www/ncloud/apps/onlyoffice/lib/DocumentService.php line 372
    OC\Http\Client\Client->post("https://ncloud. ... x", [["application/j ... ]])
12. /home/www/ncloud/apps/onlyoffice/lib/DocumentService.php line 304
    OCA\Onlyoffice\DocumentService->Request("https://ncloud. ... x", "post", [["application/j ... ]])
13. /home/www/ncloud/apps/onlyoffice/lib/DocumentService.php line 418
    OCA\Onlyoffice\DocumentService->CommandRequest("version")
14. /home/www/ncloud/apps/onlyoffice/lib/Controller/SettingsController.php line 180
    OCA\Onlyoffice\DocumentService->checkDocServiceUrl(["OC\\URLGenerat ... ]], ["OCA\\Onlyoffice\\Crypt"])
15. /home/www/ncloud/lib/private/AppFramework/Http/Dispatcher.php line 230
    OCA\Onlyoffice\Controller\SettingsController->SaveAddress("https://ncloud. ... /", "", "", true, "", "", false)
16. /home/www/ncloud/lib/private/AppFramework/Http/Dispatcher.php line 137
    OC\AppFramework\Http\Dispatcher->executeController(["OCA\\Onlyoffic ... "], "saveAddress")
17. /home/www/ncloud/lib/private/AppFramework/App.php line 183
    OC\AppFramework\Http\Dispatcher->dispatch(["OCA\\Onlyoffic ... "], "saveAddress")
18. /home/www/ncloud/lib/private/Route/Router.php line 315
    OC\AppFramework\App::main("SettingsController", "saveAddress", ["OC\\AppFramewo ... "], ["onlyoffice.settings.save_address"])
19. /home/www/ncloud/lib/base.php line 1068
    OC\Route\Router->match("/apps/onlyoffice/ajax/settings/address")
20. /home/www/ncloud/index.php line 36
    OC::handleRequest()

PUT /index.php/apps/onlyoffice/ajax/settings/address
from IP-Adresse at 2023-11-28T14:41:41+00:00

Hello @EasyOneX

Please note that Community Document Server is an app developed by Nextcloud. With that said, we cannot guarantee stable functioning of this app and you should to contact Nextcloud support with detailed description of the problem or try looking for the advise on their forum: https://help.nextcloud.com/

Some additional information you can also find here:


If you decide to install ONLYOFFICE Docs (Document Server) on a dedicated server, you can visit this page to find official guides on that:
https://helpcenter.onlyoffice.com/installation/docs-community-index.aspx