nextcloud / passman

🔐 Open source password manager with Nextcloud integration
https://passman.cc
GNU Affero General Public License v3.0
787 stars 108 forks source link

Constant passman error in log after upgrade to NC 17 #637

Closed JazMTaz closed 4 years ago

JazMTaz commented 4 years ago

[no app in context] Error: InvalidArgumentException: Notifier Passwords (id: passman) is not considered because it is using the old way to register. at <>

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

GET /nextcloud/apps/logreader/poll?lastReqId=sO9FpwGAmBWlnK2HO3ms from <?> by <?> at 2019-11-16T17:22:44+00:00

## Bug report ### Steps to reproduce 1. Upgrade to NC 17 2. 3. ### Expected behaviour no errors ### Actual behaviour errors in the log for NC, repeatedly [no app in context] Error: InvalidArgumentException: Notifier Passwords (id: passman) is not considered because it is using the old way to register. at <> 0. /var/www/nextcloud/apps/passman/appinfo/app.php line 38 OC\Notification\Manager->registerNotifier(Closure {}, Closure {}) 1. /var/www/nextcloud/lib/private/legacy/app.php line 260 undefinedundefinedrequire_once("/var/www/nextcl ... p") 2. /var/www/nextcloud/lib/private/legacy/app.php line 154 OC_App::requireAppFile(OCA\Passman\AppInfo\Application {}) 3. /var/www/nextcloud/lib/private/legacy/app.php line 127 OC_App::loadApp("passman") 4. /var/www/nextcloud/lib/base.php line 985 OC_App::loadApps() 5. /var/www/nextcloud/index.php line 42 OC::handleRequest() GET /nextcloud/apps/logreader/poll?lastReqId=sO9FpwGAmBWlnK2HO3ms from by at 2019-11-16T17:22:44+00:00 ### Configuration **Operating system**: Ubuntu 16.04.6 LTS **Browser**: Chromium Version 78.0.3904.70 (Official Build) (64-bit) **Extensions that might cause interference**: Enabled: - accessibility: 1.3.0 - activity: 2.10.1 - admin_audit: 1.7.0 - announcementcenter: 3.6.1 - apporder: 0.8.0 - audioplayer: 2.8.4 - audioplayer_editor: 0.1.0 - bookmarks: 2.3.1 - bruteforcesettings: 1.4.0 - calendar: 1.7.1 - carnet: 0.18.7 - checksum: 0.4.3 - circles: 0.17.9 - cloud_federation_api: 1.0.0 - comments: 1.7.0 - contacts: 3.1.6 - cookbook: 0.5.4 - cospend: 0.1.5 - dav: 1.13.0 - deck: 0.7.0 - drawio: 0.9.4 - external: 3.4.1 - extract: 1.2.2 - federatedfilesharing: 1.7.0 - federation: 1.7.0 - files: 1.12.0 - files_accesscontrol: 1.7.0 - files_antivirus: 2.2.0 - files_automatedtagging: 1.7.0 - files_downloadactivity: 1.6.0 - files_external: 1.8.0 - files_markdown: 2.1.0 - files_pdfviewer: 1.6.0 - files_rightclick: 0.15.1 - files_sharing: 1.9.0 - files_trackdownloads: 1.6.0 - files_trashbin: 1.7.0 - files_versions: 1.10.0 - files_videoplayer: 1.6.0 - firstrunwizard: 2.6.0 - flowupload: 0.1.5 - forms: 1.0.3 - gallery: 18.4.0 - groupfolders: 5.0.4 - impersonate: 1.4.0 - logreader: 2.2.0 - lookup_server_connector: 1.5.0 - maps: 0.1.2 - metadata: 0.10.0 - news: 14.0.1 - nextcloud_announcements: 1.6.0 - notes: 3.0.3 - notifications: 2.5.0 - oauth2: 1.5.0 - passman: 2.3.4 - password_policy: 1.7.0 - phonetrack: 0.5.10 - privacy: 1.1.0 - provisioning_api: 1.7.0 - qownnotesapi: 19.9.0 - quickaccesssorting: 1.0.2 - rainloop: 6.0.4 - ransomware_protection: 1.5.1 - recommendations: 0.5.0 - registration: 0.4.7 - serverinfo: 1.7.0 - sharebymail: 1.7.0 - sharerenamer: 2.7.2 - socialsharing_diaspora: 1.0.5 - socialsharing_email: 1.0.6 - socialsharing_facebook: 1.0.5 - socialsharing_twitter: 1.0.5 - spreed: 7.0.2 - support: 1.0.1 - survey_client: 1.5.0 - systemtags: 1.7.0 - tasks: 0.11.3 - text: 1.0.2 - theming: 1.8.0 - twofactor_backupcodes: 1.6.0 - twofactor_email: 1.0.0 - updatenotification: 1.7.0 - user_ldap: 1.7.0 - user_usage_report: 1.1.2 - viewer: 1.2.0 - workflowengine: 1.7.0 **Passman version**: - passman: 2.3.4 **Operating system**: Ubuntu 16.04.6 LTS **Web server:** nginx version: nginx/1.16.1 **Database:** Type: mysql Version: 10.0.38 Size: 150.1 MB **PHP version:** Version: 7.3.11 Memory Limit: 512 MB Max Execution Time: 3600 Upload max size: 2 GB **cloud server:** Nextcloud or ownCloud Nextcloud **cloud version:** (see admin page or version.php) Nextcloud 17.0.1 #### Browser log
Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```
#### Cloud log
Cloud log ``` Insert your cloud log here ```

Feature request

User type: Logged-in or public user

User level: Beginners, intermediate or advanced

Description

Benefit / value

Risk / caveats

Sponsorship

Are you a developer willing to implement this feature?: yes/no

Can you sponsor the development of this feature or do you know someone who can?: yes/no

JazMTaz commented 4 years ago

Issue resolved after Passman update to version 2.3.5