Hi all,
I’ve setup an Office Online server running on Windows Server 2016. As it has been setup for testing purpose http is enabled and
The command “(GetOfficeWebAppsFarm).machines” is returning a healthy status and I get a wopi xml file that seems ok ith the /hosting/discovery url.
The Office online Server is reachable via http in The Office Online App for Nextcloud.
However I get these errors when trying to edit some office files:
Error
Failed to open the requested file.
[Nextcloud version : Nextcloud 22.1.1
Operating system and version : Ubuntu 20.04
Apache or nginx version: 2.4
PHP version r7.4.23
Output of the nextcloud log:
Exception: Could not find urlsrc in WOPI
/var/www/nextcloud/apps/officeonline/lib/TokenManager.php - line 208:
OCA\Officeonline\WOPI\Parser->getUrlSrcForFile()
/var/www/nextcloud/apps/officeonline/lib/Controller/DocumentController.php - line 241:
OCA\Officeonline\TokenManager->getToken("*** sensiti ... *")
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 217:
OCA\Officeonline\Controller\DocumentController->index()
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 126:
OC\AppFramework\Http\Dispatcher->executeController()
/var/www/nextcloud/lib/private/AppFramework/App.php - line 156:
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/nextcloud/lib/private/Route/Router.php - line 301:
OC\AppFramework\App::main()
/var/www/nextcloud/lib/base.php - line 1000:
OC\Route\Router->match()
/var/www/nextcloud/index.php - line 36:
OC::handleRequest()
Does anyone came accross this error?
Is there any detailed documentation about how to setup OOS with Nextcloud.
Thanks