richdocumentscode icon indicating copy to clipboard operation
richdocumentscode copied to clipboard

Can't open document

Open sirdrakeistda opened this issue 3 years ago • 4 comments
trafficstars

There are some similar issues, but with different stack trace, so I decided to open a new issue. Feel free to close it if the issue is the same.

Problem:

When I try to open a document I get following response (german); "Laden des Dokuments fehlgeschlagen Nextcloud Office konnte nicht geladen werden - Bitte versuchen sie es später nochmal" translation: "Loading document failed Nextcloud Office could not be loaded - Please try again later"

In settings the build in CODE was choosed and it is marked as recheable.

Stack trace:

[PHP] Fehler: Error: Trying to access array offset on value of type null at /var/www/nextcloud/apps/richdocuments/lib/WOPI/DiscoveryManager.php#125 at <>

  1. /var/www/nextcloud/apps/richdocuments/lib/WOPI/DiscoveryManager.php line 125 OC\Log\ErrorHandler::onError()
  2. /var/www/nextcloud/apps/richdocuments/lib/WOPI/DiscoveryManager.php line 80 OCA\Richdocuments\WOPI\DiscoveryManager->isProxyStarting()
  3. /var/www/nextcloud/apps/richdocuments/lib/WOPI/DiscoveryManager.php line 56 OCA\Richdocuments\WOPI\DiscoveryManager->fetchFromRemote()
  4. /var/www/nextcloud/apps/richdocuments/lib/WOPI/Parser.php line 41 OCA\Richdocuments\WOPI\DiscoveryManager->get()
  5. /var/www/nextcloud/apps/richdocuments/lib/TokenManager.php line 226 OCA\Richdocuments\WOPI\Parser->getUrlSrc()
  6. /var/www/nextcloud/apps/richdocuments/lib/Controller/DocumentController.php line 174 OCA\Richdocuments\TokenManager->getToken("*** sensitive parameters replaced ***")
  7. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 225 OCA\Richdocuments\Controller\DocumentController->index()
  8. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 133 OC\AppFramework\Http\Dispatcher->executeController()
  9. /var/www/nextcloud/lib/private/AppFramework/App.php line 172 OC\AppFramework\Http\Dispatcher->dispatch()
  10. /var/www/nextcloud/lib/private/Route/Router.php line 298 OC\AppFramework\App::main()
  11. /var/www/nextcloud/lib/base.php line 1030 OC\Route\Router->match()
  12. /var/www/nextcloud/index.php line 36 OC::handleRequest()

GET /index.php/apps/richdocuments/index?fileId=38199&requesttoken=iFIWMZxhVHj48M4TkIkRyAlkB3z74wzYapcMU%3D%3A%2BTZ6uA7WuC1SjyZsvONtoF1v%2BlrK8hQNqfVXjNOQIKs%3D&path=%2FTabelle.ods from 131.56.94.199 by user at 2022-10-09T13:19:50+00:00

Setup

Nextcloud 24.0.6 PHP 8.1 Collabora Online - Built-in CODE Server (ARM64) 22.5.502 Nextcloud Office 6.2.0

sirdrakeistda avatar Oct 09 '22 18:10 sirdrakeistda

Hi, this was reported long ago, did you resolved it? If not, please update with your OS, do you use proxy and which, also how is SSL, and if NC is native or docker, as in #202, and if you tried some advices from there.

timur-g avatar Mar 29 '23 07:03 timur-g

No I didn't resolved it.

sirdrakeistda avatar Mar 29 '23 09:03 sirdrakeistda

I still have the same Issue. Used snap package on Debian server to install Nextcloud. from there its trying to install it from apps

HacktheTime avatar May 31 '23 12:05 HacktheTime

It sounds a bit like the problem I had, have you tried this sollution: https://github.com/CollaboraOnline/richdocumentscode/issues/186#issuecomment-1579477529

mrAceT avatar Jun 07 '23 07:06 mrAceT