deck icon indicating copy to clipboard operation
deck copied to clipboard

Each action on the deck results in logfile entry about "Notification was claimed to be parsed, but was not fully parsed by OCA\\Deck\\Notification\\Notifier"

Open brotkastn opened this issue 10 months ago • 2 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Describe the bug After every action, a line in the logfile is written that complains about notifications being not fully parsed

To Reproduce Steps to reproduce the behavior:

  1. Change something in any deck
  2. Log entry gets created

Expected behavior I noticed this while debugging "loss of focus" while changing a cards title or description. The timing of the messages feel like they might be connected

Client details:

  • OS: Windows 11
  • Browser Chrome
  • Version 134.0.6998
  • Device: Desktop
Server details

Operating system: Ubuntu 24.04.2 LTS

Web server: nginx/1.24.0

Database: 10.11.8-MariaDB

PHP version: 8.3.17

Nextcloud version: 30.0.6.2

Where did you install Nextcloud from: tar

Signing status:

No errors have been found.

List of activated apps: Enabled:

  • activity: 3.0.0
  • admin_audit: 1.20.0
  • admin_notifications: 1.0.2
  • app_api: 4.0.6
  • bruteforcesettings: 3.0.0
  • calendar: 5.1.2
  • calendar_resource_management: 0.9.0
  • checksum: 1.2.5
  • cloud_federation_api: 1.13.0
  • comments: 1.20.1
  • contacts: 7.0.1
  • contactsinteraction: 1.11.0
  • dashboard: 7.10.0
  • dav: 1.31.1
  • deck: 1.14.4
  • drawio: 3.0.3
  • event_update_notification: 2.6.1
  • federatedfilesharing: 1.20.0
  • federation: 1.20.0
  • files: 2.2.0
  • files_accesscontrol: 1.20.1
  • files_automatedtagging: 1.20.0
  • files_downloadlimit: 3.0.0
  • files_external: 1.22.0
  • files_pdfviewer: 3.0.0
  • files_reminders: 1.3.0
  • files_sharing: 1.22.0
  • files_trashbin: 1.20.1
  • files_versions: 1.23.0
  • flow_notifications: 1.10.1
  • forms: 5.0.2
  • groupfolders: 18.1.0
  • issuetemplate: 0.7.0
  • logreader: 3.0.0
  • lookup_server_connector: 1.18.0
  • mail: 4.2.3
  • nextcloud_announcements: 2.0.0
  • notes: 4.11.0
  • notifications: 3.0.0
  • notify_push: 1.0.0
  • oauth2: 1.18.1
  • password_policy: 2.0.0
  • photos: 3.0.2
  • polls: 7.3.2
  • privacy: 2.0.0
  • provisioning_api: 1.20.0
  • related_resources: 1.5.0
  • richdocuments: 8.5.4
  • serverinfo: 2.0.0
  • settings: 1.13.0
  • sharebymail: 1.20.0
  • side_menu: 4.0.1
  • spreed: 20.1.4
  • support: 2.0.0
  • survey_client: 2.0.0
  • systemtags: 1.20.0
  • tables: 0.9.0
  • tasks: 0.16.1
  • text: 4.1.0
  • theming: 2.6.0
  • twofactor_admin: 4.7.1
  • twofactor_backupcodes: 1.19.0
  • twofactor_email: 2.7.4
  • twofactor_totp: 12.0.0-dev
  • twofactor_webauthn: 2.1.0
  • updatenotification: 1.20.0
  • user_ldap: 1.21.0
  • viewer: 3.0.0
  • weather_status: 1.10.0
  • webhook_listeners: 1.1.0-dev
  • welcome: 1.2.1
  • workflowengine: 2.12.0

Nextcloud configuration:

    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "nextcloud.deutsches-theater.de"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "https:\/\/nextcloud.deutsches-theater.de",
    "dbtype": "mysql",
    "version": "30.0.6.2",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "filelocking.enabled": true,
    "proxy": "dtm-proxy:3128",
    "proxyexclude": [
        ".deutsches-theater.de",
        ".dtmuc.de"
    ],
    "memcache.local": "OC\\Memcache\\APCu",
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 0,
        "timeout": 0
    },
    "mail_smtpmode": "smtp",
    "mail_smtpauthtype": "LOGIN",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpsecure": "tls",
    "mail_smtpauth": 1,
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "25",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "maintenance": false,
    "loglevel": 1,
    "ldapIgnoreNamingRules": false,
    "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
    "updater.release.channel": "stable",
    "theme": "",
    "app_install_overwrite": [
        "calendar",
        "admin_notifications",
        "twofactor_rcdevsopenotp",
        "twofactor_yubikey",
        "twofactor_email",
        "rainloop",
        "twofactor_admin",
        "shifts",
        "approval",
        "issuetemplate"
    ],
    "mysql.utf8mb4": true,
    "twofactor_enforced": "true",
    "twofactor_enforced_groups": [
        "Mitarbeiter DT",
        "lokale_NC_user"
    ],
    "twofactor_enforced_excluded_groups": [],
    "encryption.legacy_format_support": false,
    "encryption.key_storage_migrated": false,
    "default_phone_region": "DE",
    "app.mail.verify-tls-peer": false,
    "maintenance_window_start": 2,
    "trashbin_retention_obligation": "auto, 15"
}

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... OCA\User_LDAP\User_Proxy with Samba4 AD

Logs

Nextcloud log (data/nextcloud.log)

{"reqId":"KhoUHZx7N79ke59SgH32","level":1,"time":"2025-03-05T10:11:49+00:00","remoteAddr":"192.168.89.166","user":"41E54A82-(...)-CF550F5AD5C0","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"Notification was claimed to be parsed, but was not fully parsed by OCA\\Deck\\Notification\\Notifier [app: deck, subject: card_update_description]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36","version":"30.0.6.2","data":[]}
{"reqId":"R9QiAzZhrb5Glb3gy8UG","level":1,"time":"2025-03-05T10:11:49+00:00","remoteAddr":"192.168.89.166","user":"41E54A82-(...)-CF550F5AD5C0","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"Notification was claimed to be parsed, but was not fully parsed by OCA\\Deck\\Notification\\Notifier [app: deck, subject: card_update_description]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36","version":"30.0.6.2","data":[]}
{"reqId":"KhoUHZx7N79ke59SgH32","level":1,"time":"2025-03-05T10:11:49+00:00","remoteAddr":"192.168.89.166","user":"41E54A82-(...)-CF550F5AD5C0","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"Notification was claimed to be parsed, but was not fully parsed by OCA\\Deck\\Notification\\Notifier [app: deck, subject: card_update_description]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36","version":"30.0.6.2","data":[]}

brotkastn avatar Mar 05 '25 10:03 brotkastn

Log gets clogged. A LOT.

Image

DrDBanner avatar Mar 13 '25 08:03 DrDBanner

Seems the logging in server is not very insightful, so maybe we need a logging patch around https://github.com/nextcloud/server/blob/5193579e4f085fc8837a641522ed02570b9b02da/lib/private/Notification/Notification.php#L441-L454 to see what exactly is missing in the notifications

This is the activity message that is verified, and we probably do not have the right subject parameters:

https://github.com/nextcloud/deck/blob/86cb011a5c1b7bda42a02b18f3dcf99b88592853/lib/Activity/ActivityManager.php#L173

juliusknorr avatar May 23 '25 12:05 juliusknorr