⚠️ This issue respects the following points: ⚠️
Bug description
After the update from 33.0.6 -> 33.0.7 to 34.0.2, I repeatedly get the following warnings in the logs:
{"reqId":"TIQ0PU9r4mlD3A5ogy85",
"level":2,
"time":"2026-07-24T09:29:34+00:00",
"remoteAddr":"***",
"user":"***",
"app":"no app in context",
"method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications",
"scriptName":"/ocs/v2.php","message":"OCA\\Files\\Notification\\Notifier::prepare() threw \\InvalidArgumentException which is deprecated. Throw \\OCP\\Notification\\UnknownNotificationException when the notification is not known to your notifier and otherwise handle all \\InvalidArgumentException yourself.",
"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36",
"version":"34.0.2.1",
"data":[],
"id":"6a634cf9a1570"}
Steps to reproduce
I only see the warnings in the logs, caused by some user's action. I can't tell right now how to reproduce this warning.
Expected behavior
No warnings in logs.
Nextcloud Server version
34
Operating system
Other
PHP engine version
PHP 8.5
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 31 to 32)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***"
],
"serverid": 1,
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"default_phone_region": "DE",
"version": "34.0.2.1",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"skeletondirectory": "",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"filelocking.enabled": true,
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"dbindex": 0,
"timeout": 0
},
"session_lifetime": 3600,
"session_keepalive": false,
"tempdirectory": "\/srv\/nextcloud-temp",
"remember_login_cookie_lifetime": 0,
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"maintenance": false,
"theme": "",
"loglevel": 1,
"log.condition": {
"apps": [
"admin_audit"
]
},
"default_language": "en",
"default_locale": "en_GB",
"knowledgebaseenabled": false,
"simpleSignUpLink.shown": false,
"auth.webauthn.enabled": false,
"updater.release.channel": "stable",
"trashbin_retention_obligation": "auto, 7",
"versions_retention_obligation": "auto, 7",
"instanceid": "***REMOVED SENSITIVE VALUE***",
"maintenance_window_start": 2,
"enable_previews": true,
"preview_max_filesize_image": 100,
"preview_max_x": 1024,
"preview_max_y": 1024,
"forbidden_filename_basenames": [
"con",
"prn",
"aux",
"nul",
"com0",
"com1",
"com2",
"com3",
"com4",
"com5",
"com6",
"com7",
"com8",
"com9",
"com\u00b9",
"com\u00b2",
"com\u00b3",
"lpt0",
"lpt1",
"lpt2",
"lpt3",
"lpt4",
"lpt5",
"lpt6",
"lpt7",
"lpt8",
"lpt9",
"lpt\u00b9",
"lpt\u00b2",
"lpt\u00b3"
],
"forbidden_filename_characters": [
"<",
">",
":",
"\"",
"|",
"?",
"*",
"\\",
"\/"
],
"forbidden_filename_extensions": [
" ",
".",
".filepart",
".part"
],
"files.chunked_upload.max_size": 0,
"profile.enabled": false,
"app_install_overwrite": [],
"twofactor_enforced": "true",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
List of activated Apps
Enabled:
- activity: 7.0.0
- admin_audit: 1.24.0
- announcementcenter: 7.4.1
- appstore: 1.0.0
- bruteforcesettings: 7.0.0
- cloud_federation_api: 1.18.0
- comments: 1.24.0
- contactsinteraction: 1.15.0
- dav: 1.39.0
- federatedfilesharing: 1.24.0
- files: 2.6.0
- files_downloadlimit: 5.2.0
- files_lock: 34.0.1
- files_pdfviewer: 7.0.0-dev.0
- files_reminders: 1.7.0
- files_sharing: 1.26.0
- files_trashbin: 1.24.0
- files_versions: 1.27.0
- impersonate: 5.0.0
- logreader: 7.0.0
- lookup_server_connector: 1.22.0
- nextcloud_announcements: 6.0.0
- notifications: 7.0.0-dev.1
- oauth2: 1.22.0
- office: 1.0.0
- ownershiptransfer: 1.5.0
- password_policy: 6.0.0-dev.0
- photos: 7.0.0
- privacy: 6.0.0-dev.1
- profile: 1.3.0
- provisioning_api: 1.24.0
- quota_warning: 1.24.0
- related_resources: 5.0.0-dev.0
- serverinfo: 6.0.0
- settings: 1.17.0
- sharebymail: 1.24.0
- support: 6.0.0
- survey_client: 6.0.0-dev.0
- systemtags: 1.24.0
- theming: 2.9.0
- twofactor_admin: 4.12.0
- twofactor_backupcodes: 1.23.0
- twofactor_totp: 16.0.0
- updatenotification: 1.24.0
- viewer: 7.0.0-dev.0
- webhook_listeners: 1.6.0
- workflowengine: 2.16.0
Disabled:
- app_api: 34.0.0 (installed 32.0.0)
- checksum: 2.1.2 (installed 2.1.2)
- circles: 34.0.0 (installed 22.1.1)
- contacts: 8.7.4 (installed 8.7.4)
- dashboard: 7.14.0 (installed 7.0.0)
- encryption: 2.22.0
- federation: 1.24.0 (installed 1.10.1)
- files_automatedtagging: 4.0.0 (installed 4.0.0)
- files_external: 1.26.0
- firstrunwizard: 7.0.0-dev.0 (installed 2.9.0)
- previewgenerator: 5.14.0 (installed 5.14.0)
- recommendations: 7.0.0 (installed 0.8.0)
- suspicious_login: 12.0.0-dev.0
- testing: 1.23.0
- text: 8.0.0 (installed 3.1.0)
- theming_customcss: 1.20.0 (installed 1.20.0)
- twofactor_nextcloud_notification: 8.0.0
- user_ldap: 1.25.0
- user_status: 1.14.0 (installed 1.0.1)
- weather_status: 1.14.0 (installed 1.0.0)
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
Additional info
No response
Bug description
After the update from 33.0.6 -> 33.0.7 to 34.0.2, I repeatedly get the following warnings in the logs:
{"reqId":"TIQ0PU9r4mlD3A5ogy85","level":2,"time":"2026-07-24T09:29:34+00:00","remoteAddr":"***","user":"***","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","scriptName":"/ocs/v2.php","message":"OCA\\Files\\Notification\\Notifier::prepare() threw \\InvalidArgumentException which is deprecated. Throw \\OCP\\Notification\\UnknownNotificationException when the notification is not known to your notifier and otherwise handle all \\InvalidArgumentException yourself.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36","version":"34.0.2.1","data":[],"id":"6a634cf9a1570"}Steps to reproduce
I only see the warnings in the logs, caused by some user's action. I can't tell right now how to reproduce this warning.
Expected behavior
No warnings in logs.
Nextcloud Server version
34
Operating system
Other
PHP engine version
PHP 8.5
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 31 to 32)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
{ "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "***REMOVED SENSITIVE VALUE***" ], "serverid": 1, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "default_phone_region": "DE", "version": "34.0.2.1", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "installed": true, "skeletondirectory": "", "memcache.local": "\\OC\\Memcache\\APCu", "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "filelocking.enabled": true, "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "dbindex": 0, "timeout": 0 }, "session_lifetime": 3600, "session_keepalive": false, "tempdirectory": "\/srv\/nextcloud-temp", "remember_login_cookie_lifetime": 0, "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "25", "maintenance": false, "theme": "", "loglevel": 1, "log.condition": { "apps": [ "admin_audit" ] }, "default_language": "en", "default_locale": "en_GB", "knowledgebaseenabled": false, "simpleSignUpLink.shown": false, "auth.webauthn.enabled": false, "updater.release.channel": "stable", "trashbin_retention_obligation": "auto, 7", "versions_retention_obligation": "auto, 7", "instanceid": "***REMOVED SENSITIVE VALUE***", "maintenance_window_start": 2, "enable_previews": true, "preview_max_filesize_image": 100, "preview_max_x": 1024, "preview_max_y": 1024, "forbidden_filename_basenames": [ "con", "prn", "aux", "nul", "com0", "com1", "com2", "com3", "com4", "com5", "com6", "com7", "com8", "com9", "com\u00b9", "com\u00b2", "com\u00b3", "lpt0", "lpt1", "lpt2", "lpt3", "lpt4", "lpt5", "lpt6", "lpt7", "lpt8", "lpt9", "lpt\u00b9", "lpt\u00b2", "lpt\u00b3" ], "forbidden_filename_characters": [ "<", ">", ":", "\"", "|", "?", "*", "\\", "\/" ], "forbidden_filename_extensions": [ " ", ".", ".filepart", ".part" ], "files.chunked_upload.max_size": 0, "profile.enabled": false, "app_install_overwrite": [], "twofactor_enforced": "true", "twofactor_enforced_groups": [], "twofactor_enforced_excluded_groups": [], "updater.secret": "***REMOVED SENSITIVE VALUE***" } }List of activated Apps
Nextcloud Signing status
Nextcloud Logs
see aboveAdditional info
No response