richdocuments icon indicating copy to clipboard operation
richdocuments copied to clipboard

Infinite loop of: OCP\Share\Exceptions\ShareNotFound: The requested share does not exist anymore

Open dotKokott opened this issue 3 years ago • 0 comments

Describe the bug Richdocuments is spamming my error log with: OCP\Share\Exceptions\ShareNotFound: The requested share does not exist anymore Stack trace:

/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php - line 708:

OC\Share20\Manager->getShareByToken("dRjw4ioPEG2xjgm")

/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php - line 495:

OCA\Richdocuments\Controller\WopiController->getFileForWopiToken(OCA\Richdocu ... 1})

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 217:

OCA\Richdocuments\Controller\WopiController->putFile("7554", "gvvgrZAM3Ir ... R")

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 126:

OC\AppFramework\Http\Dispatcher->executeController(OCA\Richdocu ... {}, "putFile")

/var/www/html/lib/private/AppFramework/App.php - line 157:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\Richdocu ... {}, "putFile")

/var/www/html/lib/private/Route/Router.php - line 302:

OC\AppFramework\App::main("OCA\\Richdo ... r", "putFile", OC\AppFramew ... {}, { fileId: "7 ... "})

/var/www/html/lib/base.php - line 1006:

OC\Route\Router->match("/apps/richd ... s")

/var/www/html/index.php - line 36:

OC::handleRequest()

Even after disabling the app it keeps going. It seems to be stuck in some infinite loop as these errors are coming in at a super fast rate.

To Reproduce I do not know when or how it started. Collabora has been used to edit some documents at some point but is currently not used by any users.

Expected behavior Errors should not happen, especially not when the app is not being used.

Screenshots

Client details: OS: Windows and OSX Browser brave Version: latest Device: Desktop and Macbook

Server details

Operating system: Ubuntu 20

Web server: whatever is configured in nextcloud:latest

Database: mariadb

PHP version: whatever is configured in nextcloud:latest

Nextcloud version: nextcloud:latest

Version of the richdocuments app COOLWSD version: 21.11.2.4

Version of Collabora Online 21.06.20.1

dotKokott avatar Apr 11 '22 16:04 dotKokott