Notifier Passwords error
My error log is being spammed with the following on Nextcloud 17.0.0:
InvalidArgumentException: Notifier Passwords (id: passman) is not considered because it's using the old way to register
How would one go about fixing this?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
It looks like this is related to https://github.com/nextcloud/passman/issues/610 and I see a patch committed and merged to master. Though, I can confirm I cloned master and still see the same error as the reporter. Can any one offer suggestions?
I do see the same errors in our instance (17.0.0):
[no app in context] Error: InvalidArgumentException: Notifier Passwörter (id: passman) is not considered because it is using the old way to register. at <
- /var/www/html/custom_apps/passman/appinfo/app.php line 38 OC\Notification\Manager->registerNotifier(Closure {}, Closure {})
- /var/www/html/lib/private/legacy/app.php line 260 undefinedundefinedrequire_once("/var/www/html/c ... p")
- /var/www/html/lib/private/legacy/app.php line 154 OC_App::requireAppFile(OCA\Passman\AppInfo\Application {})
- /var/www/html/lib/private/legacy/app.php line 127 OC_App::loadApp("passman")
- /var/www/html/lib/base.php line 985 OC_App::loadApps()
- /var/www/html/index.php line 42 OC::handleRequest()
same with the current NC version 17.0.1.1
[no app in context] Error: InvalidArgumentException: Notifier Passwörter (id: passman) is not considered because it is using the old way to register. at <
- /var/www/html/custom_apps/passman/appinfo/app.php line 38 OC\Notification\Manager->registerNotifier(Closure {}, Closure {})
- /var/www/html/lib/private/legacy/app.php line 260 undefinedundefinedrequire_once("/var/www/html/c ... p")
- /var/www/html/lib/private/legacy/app.php line 154 OC_App::requireAppFile(OCA\Passman\AppInfo\Application {})
- /var/www/html/lib/private/legacy/app.php line 127 OC_App::loadApp("passman")
- /var/www/html/lib/base.php line 985 OC_App::loadApps()
- /var/www/html/index.php line 42 OC::handleRequest()
@GuidoDR See https://github.com/nextcloud/passman/issues/628. This issue is caused by changes in NC 17, which are not yet supported in Passman 2.3.4, but "should" be supported in the next version, 2.3.5. In the meantime, there is a workaround in that you can disable the notifications code. Details are in issue 628.
2.3.5 is available since a couple of hours and the problem is fixed in our NC 17 instance