CollaboraOnline / richdocumentscode

Built-in CODE Server app
https://apps.nextcloud.com/apps/richdocumentscode
Apache License 2.0
116 stars 27 forks source link

Could not find urlsrc in wopi #146

Open ezntek opened 2 years ago

ezntek commented 2 years ago

I'm on richdocumentscode ARM64 and Nextcloud 22.2.

Whenever I create a new document, this shows up.

this is the full trace:

`Exception: Could not find urlsrc in WOPI/var/www/html/xflynextcloud/apps/richdocuments/lib/TokenManager.php - line 202: OCA\Richdocuments\WOPI\Parser->getUrlSrc("application ... n")/var/www/html/xflynextcloud/apps/richdocuments/lib/Controller/DocumentController.php - line 222: OCA\Richdocuments\TokenManager->getToken("* sensiti ... ")/var/www/html/xflynextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 217: OCA\Richdocuments\Controller\DocumentController->index(" sensiti ... *", null)/var/www/html/xflynextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 126: OC\AppFramework\Http\Dispatcher->executeController(OCA\Richdocu ... {}, "index")/var/www/html/xflynextcloud/lib/private/AppFramework/App.php - line 156: OC\AppFramework\Http\Dispatcher->dispatch(OCA\Richdocu ... {}, "index")/var/www/html/xflynextcloud/lib/private/Route/Router.php - line 301: OC\AppFramework\App::main("OCA\Richdo ... r", "index", OC\AppFramew ... {}, { _route: "r ... "})/var/www/html/xflynextcloud/lib/base.php - line 1000: OC\Route\Router->match("/apps/richdocuments/index")/var/www/html/xflynextcloud/index.php - line 36: OC::handleRequest()

`

rschr commented 2 years ago

This would seems to be a duplicate of #145. See also https://github.com/CollaboraOnline/richdocumentscode/issues/111#issuecomment-947498693.

ogmkp commented 2 years ago

I got this issue. I reinstalled 6.4.1303 from tar.gz and it's ok now.

111 #145

rschr commented 2 years ago

Version scheme has been changed in the meantime, version numbers went from 6.4.1103 over 6.4.1303 , 21.11.4 to 21.11.6 which now is current, and the problem still persists. For me, manually reinstalling from richdocumentscode.tar.gz containing any version above 6.4.1103 didn't and doesn't work, and now even falling back to 6.4.1103 does not seem to do the trick anymore.

This happens not only in creating, but also in trying to open a document.

There's a long wait, then a message like "Collabora Online could not be loaded - Please try again later" pops up, and an error like the one above (https://github.com/CollaboraOnline/richdocumentscode/issues/146#issue-1033136366) is logged.

Jolopu commented 2 years ago

I have exactly the same issue.

g-work commented 2 years ago

Are there any Updates? Im running into the same error (x86, not ARM)

rosariop commented 2 years ago

Same error: Nextcloud: 24.0.1 Nextloud Office: 6.1 collabora Version: collabora/code latest