passman icon indicating copy to clipboard operation
passman copied to clipboard

Notifier Passwords error

Open SimplyCorbett opened this issue 6 years ago • 5 comments

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.

SimplyCorbett avatar Oct 28 '19 04:10 SimplyCorbett

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?

darkernoise avatar Nov 04 '19 17:11 darkernoise

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 <>

  1. /var/www/html/custom_apps/passman/appinfo/app.php line 38 OC\Notification\Manager->registerNotifier(Closure {}, Closure {})
  2. /var/www/html/lib/private/legacy/app.php line 260 undefinedundefinedrequire_once("/var/www/html/c ... p")
  3. /var/www/html/lib/private/legacy/app.php line 154 OC_App::requireAppFile(OCA\Passman\AppInfo\Application {})
  4. /var/www/html/lib/private/legacy/app.php line 127 OC_App::loadApp("passman")
  5. /var/www/html/lib/base.php line 985 OC_App::loadApps()
  6. /var/www/html/index.php line 42 OC::handleRequest()

GuidoDr avatar Nov 05 '19 10:11 GuidoDr

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 <>

  1. /var/www/html/custom_apps/passman/appinfo/app.php line 38 OC\Notification\Manager->registerNotifier(Closure {}, Closure {})
  2. /var/www/html/lib/private/legacy/app.php line 260 undefinedundefinedrequire_once("/var/www/html/c ... p")
  3. /var/www/html/lib/private/legacy/app.php line 154 OC_App::requireAppFile(OCA\Passman\AppInfo\Application {})
  4. /var/www/html/lib/private/legacy/app.php line 127 OC_App::loadApp("passman")
  5. /var/www/html/lib/base.php line 985 OC_App::loadApps()
  6. /var/www/html/index.php line 42 OC::handleRequest()

GuidoDr avatar Nov 12 '19 07:11 GuidoDr

@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.

darkernoise avatar Nov 18 '19 14:11 darkernoise

2.3.5 is available since a couple of hours and the problem is fixed in our NC 17 instance

GuidoDr avatar Nov 18 '19 15:11 GuidoDr