-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error "OCP\Files\NotFoundException: /xyz/files/user.nextcloud_export" #287
Comments
@Pytal Do you know if it is expected for the notification to be in the database after being dismissed? I suppose we should catch the NotFoundException anyway when building the rich object for notification as it may have been deleted even before the notification is dismissed. |
I got a similar error, although never have used migration, error comes unregularly about twice per minute:
|
Are you alone on your instance? Maybe someone else used the export? Otherwise this means somehow a notification is triggered on exportDone for no reason. But the only place I see this notification fired is in the UserExportJob so I do not see how this could be possible 🤔 |
I get the same problem, is there a solution jet? |
Got the same problem today and i did not even start a user export. I disabled the user migration app but i would like to know why this happen and how can it be solved for instances that need the user migration tool. Thank you!! |
Same here - Nextcloud 28.0.1, User migration 5.0.0 |
I was also getting this error, once every 60 seconds. User Migration version 4.0.1, on Nextcloud 27.1.5 I did use the User Migration app a while ago, but I don't have a need for it anymore. Disabling the User Migration app appears to have stopped the spamming of the log file with this error message. |
Yes @githubber4ever, will close this issue then |
After the import was done successfully and the user.nextcloud_export gets deleted, the User Migration app throws errors in the log, even the notification was already dismissed.
Steps to reproduce:
Version: Nextcloud 24.0.6 + User Migration 1.1.0
Table 'oc_notifications':
2 user_migration xyz 1665851795 import 1 importDone {"author":"xyz","targetUser":"xyz","path":"/user.nextcloud_export"} [] []
Log entry:
_[no app in context] Fehler: OCP\Files\NotFoundException: /xyz/files/user.nextcloud_export at <>
0. /var/www/html/lib/private/Files/Node/LazyUserFolder.php line 59
OC\Files\Node\Root->get("/xyz/files/user.nextcloud_export")
OC\Files\Node\LazyUserFolder->get("/user.nextcloud_export")
OCA\UserMigration\Notification\Notifier->getImportFile(OC\User\User {}, "/user.nextcloud_export")
OCA\UserMigration\Notification\Notifier->handleImportDone(OC\Notification\Notification {}, "de")
OCA\UserMigration\Notification\Notifier->prepare(OC\Notification\Notification {}, "de")
OC\Notification\Manager->prepare(OC\Notification\Notification {}, "de")
OCA\Notifications\Controller\EndpointController->listNotifications("v2")
OC\AppFramework\Http\Dispatcher->executeController(OCA\Notification ... {}, "listNotifications")
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Notification ... {}, "listNotifications")
OC\AppFramework\App::main("OCA\Notificati ... r", "listNotifications", OC\AppFramework\ ... {}, ["v2","ocs.notif ... "])
OC\Route\Router->match("/ocsapp/apps/no ... s")
require_once("/var/www/html/ocs/v1.php")_
The text was updated successfully, but these errors were encountered: