Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OC\User\NoUserException: Backends provided no user object #107

Open
Knutowskie opened this issue Nov 19, 2022 · 0 comments
Open

OC\User\NoUserException: Backends provided no user object #107

Knutowskie opened this issue Nov 19, 2022 · 0 comments

Comments

@Knutowskie
Copy link

I am on NC 24.0.7 and DF 0.0.15.

if i use DF on occ it works, but it is not user friendly.

if i use the webpage it states "Failed to load duplicates". The log shows following:

[duplicatefinder] Fehler: OC\User\NoUserException: Backends provided no user object at <<closure>>

 0. <<closure>>
    OC\Files\Node\Root->getUserFolder()
 1. /config/www/nextcloud/lib/private/Files/Node/LazyFolder.php line 72
    call_user_func_array()
 2. /config/www/nextcloud/lib/private/Files/Node/LazyRoot.php line 40
    OC\Files\Node\LazyFolder->__call()
 3. /config/www/nextcloud/apps/duplicatefinder/lib/Service/FolderService.php line 40
    OC\Files\Node\LazyRoot->getUserFolder()
 4. /config/www/nextcloud/apps/duplicatefinder/lib/Service/FileInfoService.php line 209
    OCA\DuplicateFinder\Service\FolderService->getNodeByFileInfo()
 5. /config/www/nextcloud/apps/duplicatefinder/lib/Listener/FileInfoListener.php line 39
    OCA\DuplicateFinder\Service\FileInfoService->calculateHashes()
 6. /config/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php line 87
    OCA\DuplicateFinder\Listener\FileInfoListener->handle()
 7. /config/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 251
    OC\EventDispatcher\ServiceEventListener->__invoke()
 8. /config/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 73
    Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
 9. /config/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php line 88
    Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
10. /config/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php line 100
    OC\EventDispatcher\EventDispatcher->dispatch()
11. /config/www/nextcloud/apps/duplicatefinder/lib/Service/FileInfoService.php line 151
    OC\EventDispatcher\EventDispatcher->dispatchTyped()
12. /config/www/nextcloud/apps/duplicatefinder/lib/Utils/ScannerUtil.php line 90
    OCA\DuplicateFinder\Service\FileInfoService->save()
13. /config/www/nextcloud/apps/duplicatefinder/lib/Utils/ScannerUtil.php line 117
    OCA\DuplicateFinder\Utils\ScannerUtil->saveScannedFile()
14. /config/www/nextcloud/apps/duplicatefinder/lib/Utils/ScannerUtil.php line 66
    OCA\DuplicateFinder\Utils\ScannerUtil->scanSharedFiles()
15. /config/www/nextcloud/apps/duplicatefinder/lib/Service/FileInfoService.php line 257
    OCA\DuplicateFinder\Utils\ScannerUtil->scan()
16. /config/www/nextcloud/apps/duplicatefinder/lib/Command/FindDuplicates.php line 152
    OCA\DuplicateFinder\Service\FileInfoService->scanFiles()
17. /config/www/nextcloud/apps/duplicatefinder/lib/Command/FindDuplicates.php line 133
    OCA\DuplicateFinder\Command\FindDuplicates->findDuplicates()
18. /config/www/nextcloud/apps/duplicatefinder/lib/Command/FindDuplicates.php line 109
    OCA\DuplicateFinder\Command\FindDuplicates->findDuplicatesForUsers()
19. /config/www/nextcloud/3rdparty/symfony/console/Command/Command.php line 255
    OCA\DuplicateFinder\Command\FindDuplicates->execute()
20. /config/www/nextcloud/core/Command/Base.php line 168
    Symfony\Component\Console\Command\Command->run()
21. /config/www/nextcloud/3rdparty/symfony/console/Application.php line 1009
    OC\Core\Command\Base->run()
22. /config/www/nextcloud/3rdparty/symfony/console/Application.php line 273
    Symfony\Component\Console\Application->doRunCommand()
23. /config/www/nextcloud/3rdparty/symfony/console/Application.php line 149
    Symfony\Component\Console\Application->doRun()
24. /config/www/nextcloud/lib/private/Console/Application.php line 211
    Symfony\Component\Console\Application->run()
25. /config/www/nextcloud/console.php line 100
    OC\Console\Application->run()
26. /config/www/nextcloud/occ line 11
    require_once("/config/www/nextcloud/console.php")

at 2022-11-19T02:31:41+00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant