eldertek / duplicatefinder

Discover and declutter! Find and eliminate duplicate files on Nextcloud.
https://patreon.com/eldertek
GNU Affero General Public License v3.0
27 stars 3 forks source link

error in log #101

Open msviba opened 2 days ago

msviba commented 2 days ago

I just installed the app for find duplicates. But error occurred instead.

Describe the bug [duplicatefinder] Error: A unknown exception occurred NoUserException Backends provided no user object OC\Files\Node\Root->getUserFolder() /var/cloud/nc/lib/private/Files/Node/LazyFolder.php Line 84 undefinedundefinedcall_user_func_array() /var/cloud/nc/lib/private/Files/Node/LazyRoot.php Line 53 OC\Files\Node\LazyFolder->__call() /var/cloud/nc/apps/duplicatefinder/lib/Service/ShareService.php Line 76 OC\Files\Node\LazyRoot->getUserFolder() /var/cloud/nc/apps/duplicatefinder/lib/Service/FileInfoService.php Line 390 OCA\DuplicateFinder\Service\ShareService->hasAccessRight() /var/cloud/nc/apps/duplicatefinder/lib/Service/FileDuplicateService.php Line 123 OCA\DuplicateFinder\Service\FileInfoService->hasAccessRight() /var/cloud/nc/apps/duplicatefinder/lib/Service/FileDuplicateService.php Line 86 OCA\DuplicateFinder\Service\FileDuplicateService->stripFilesWithoutAccessRights() /var/cloud/nc/apps/duplicatefinder/lib/Controller/DuplicateApiController.php Line 53 OCA\DuplicateFinder\Service\FileDuplicateService->findAll() /var/cloud/nc/lib/private/AppFramework/Http/Dispatcher.php Line 232 OCA\DuplicateFinder\Controller\DuplicateApiController->list() /var/cloud/nc/lib/private/AppFramework/Http/Dispatcher.php Line 138 OC\AppFramework\Http\Dispatcher->executeController() /var/cloud/nc/lib/private/AppFramework/App.php Line 184 OC\AppFramework\Http\Dispatcher->dispatch() /var/cloud/nc/lib/private/Route/Router.php Line 331 OC\AppFramework\App::main() /var/cloud/nc/lib/base.php Line 1058 OC\Route\Router->match() /var/cloud/nc/index.php Line 49 OC::handleRequest()

Expected behavior No errors in log

Versions

msviba commented 2 days ago

Another:

NotFoundException /michal/files/InstantUpload/Georgia 2019/GOPR1417_1569840483544_high.JPG /var/cloud/nc/lib/private/Files/Node/LazyFolder.php Line 161 OC\Files\Node\Root->get() /var/cloud/nc/apps/duplicatefinder/lib/Service/FolderService.php Line 53 OC\Files\Node\LazyFolder->get() /var/cloud/nc/apps/duplicatefinder/lib/Service/FileInfoService.php Line 232 OCA\DuplicateFinder\Service\FolderService->getNodeByFileInfo() /var/cloud/nc/apps/duplicatefinder/lib/Listener/FileInfoListener.php Line 39 OCA\DuplicateFinder\Service\FileInfoService->calculateHashes() /var/cloud/nc/lib/private/EventDispatcher/ServiceEventListener.php Line 86 OCA\DuplicateFinder\Listener\FileInfoListener->handle() /var/cloud/nc/3rdparty/symfony/event-dispatcher/EventDispatcher.php Line 230 OC\EventDispatcher\ServiceEventListener->__invoke() /var/cloud/nc/3rdparty/symfony/event-dispatcher/EventDispatcher.php Line 59 Symfony\Component\EventDispatcher\EventDispatcher->callListeners() /var/cloud/nc/lib/private/EventDispatcher/EventDispatcher.php Line 86 Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /var/cloud/nc/lib/private/EventDispatcher/EventDispatcher.php Line 98 OC\EventDispatcher\EventDispatcher->dispatch() /var/cloud/nc/apps/duplicatefinder/lib/Service/FileInfoService.php Line 165 OC\EventDispatcher\EventDispatcher->dispatchTyped() /var/cloud/nc/apps/duplicatefinder/lib/Utils/ScannerUtil.php Line 100 OCA\DuplicateFinder\Service\FileInfoService->save() /var/cloud/nc/apps/duplicatefinder/lib/Utils/ScannerUtil.php Line 89 OCA\DuplicateFinder\Utils\ScannerUtil->saveScannedFile() OCA\DuplicateFinder\Utils\ScannerUtil->OCA\DuplicateFinder\Utils{closure}( " sensitive parameters replaced " ) /var/cloud/nc/lib/private/Hooks/EmitterTrait.php Line 105 undefinedundefinedcall_user_func_array() /var/cloud/nc/lib/private/Hooks/PublicEmitter.php Line 40 OC\Hooks\BasicEmitter->emit() /var/cloud/nc/lib/private/Files/Utils/Scanner.php Line 142 OC\Hooks\PublicEmitter->emit() OC\Files\Utils\Scanner->OC\Files\Utils{closure}( " sensitive parameters replaced " ) /var/cloud/nc/lib/private/Hooks/EmitterTrait.php Line 105 undefinedundefinedcall_user_func_array() /var/cloud/nc/lib/private/Files/Cache/Scanner.php Line 256 OC\Hooks\BasicEmitter->emit() /var/cloud/nc/lib/private/Files/Cache/Scanner.php Line 529 OC\Files\Cache\Scanner->scanFile() /var/cloud/nc/lib/private/Files/Cache/Scanner.php Line 453 OC\Files\Cache\Scanner->handleChildren() /var/cloud/nc/lib/private/Files/Cache/Scanner.php Line 458 OC\Files\Cache\Scanner->scanChildren() /var/cloud/nc/lib/private/Files/Cache/Scanner.php Line 458 OC\Files\Cache\Scanner->scanChildren() /var/cloud/nc/lib/private/Files/Cache/Scanner.php Line 458 OC\Files\Cache\Scanner->scanChildren() /var/cloud/nc/lib/private/Files/Cache/Scanner.php Line 359 OC\Files\Cache\Scanner->scanChildren() /var/cloud/nc/lib/private/Files/Utils/Scanner.php Line 278 OC\Files\Cache\Scanner->scan() /var/cloud/nc/apps/duplicatefinder/lib/Utils/ScannerUtil.php Line 66 OC\Files\Utils\Scanner->scan() /var/cloud/nc/apps/duplicatefinder/lib/Service/FileInfoService.php Line 284 OCA\DuplicateFinder\Utils\ScannerUtil->scan() /var/cloud/nc/apps/duplicatefinder/lib/BackgroundJob/FindDuplicates.php Line 88 OCA\DuplicateFinder\Service\FileInfoService->scanFiles() /var/cloud/nc/lib/public/BackgroundJob/Job.php Line 80 OCA\DuplicateFinder\BackgroundJob\FindDuplicates->run() /var/cloud/nc/lib/public/BackgroundJob/TimedJob.php Line 102 OCP\BackgroundJob\Job->start() /var/cloud/nc/lib/public/BackgroundJob/TimedJob.php Line 92 OCP\BackgroundJob\TimedJob->start() /var/cloud/nc/cron.php Line 177 OCP\BackgroundJob\TimedJob->execute()

msviba commented 2 days ago

I had to disable the app. It's not production ready. It totally spammed log