⚠️ This issue respects the following points: ⚠️
Bug description
For the last few versions, Nextcloud has been constantly spamming the same three lines in the log (see below). Functionality seems correct, but I can't find how to correct the issue shown on the log, since the files module is core to Nextcloud and cannot be disabled.
Steps to reproduce
- Run Nextcloud 34.
- Sync some files using the desktop server.
- Check the logs.
Expected behavior
The functionality should not be constantly reporting a deprecated exception.
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.5
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 32.0.1 to 32.0.2)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"cloud.azkware.net"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "34.0.4.1",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"trashbin_retention_obligation": "auto, 30",
"versions_retention_obligation": "auto, 30",
"updatechecker": false,
"memcache.local": "\\OC\\Memcache\\APCu",
"integrity.check.disabled": true,
"filelocking.enabled": true,
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": "6379",
"timeout": "0.0",
"password": "***REMOVED SENSITIVE VALUE***"
},
"hashing_default_password": true,
"localstorage.allowsymlinks": true,
"simpleSignUpLink.shown": false,
"default_phone_region": "",
"maintenance_window_start": 1,
"mail_smtpmode": "smtp",
"mail_smtpport": "25",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpstreamoptions": {
"ssl": {
"allow_self_signed": true,
"verify_peer": false,
"verify_peer_name": false
}
},
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"logout_url": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"twofactor_enforced": "false",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"preview_max_x": 512,
"preview_max_y": 512,
"loglevel": 2,
"forbidden_filename_characters": [
"\\",
"\/"
],
"forbidden_filename_extensions": [
".filepart",
".part"
],
"memories.db.triggers.fcu": true,
"memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
"memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"memories.gis_type": 1,
"enabledPreviewProviders": [
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\OpenDocument",
"OC\\Preview\\Krita",
"OC\\Preview\\Image"
],
"memories.vod.disable": false,
"theme": "",
"lost_password_link": "disabled",
"app_install_overwrite": []
}
}
List of activated Apps
Enabled:
- activity: 7.0.0
- admin_audit: 1.24.0
- app_api: 34.0.0
- appstore: 1.0.0
- audiocoverpreview: 0.13.0
- birthday_widget: 1.3.0
- bruteforcesettings: 7.0.0
- calendar: 6.5.4
- checksum: 2.1.2
- cloud_federation_api: 1.18.0
- comments: 1.24.0
- contacts: 8.9.0
- contactsinteraction: 1.15.0
- dashboard: 7.14.0
- dav: 1.40.0
- dav_push: 1.0.2
- epubviewer: 1.9.7
- federatedfilesharing: 1.24.0
- federation: 1.24.0
- files: 2.6.0
- files_downloadlimit: 5.2.0
- files_external: 1.26.0
- files_fulltextsearch: 34.0.1
- files_fulltextsearch_metadata: 0.1.1
- files_lock: 34.0.1
- files_pdfviewer: 7.0.0
- files_reminders: 1.7.0
- files_sharing: 1.26.0
- files_trashbin: 1.24.0
- files_versions: 1.27.0
- files_zip: 3.0.1
- firstrunwizard: 7.0.0-dev.0
- fulltextsearch: 34.0.1
- fulltextsearch_sql: 1.4.2
- journal_caldav: 0.2.0
- journalnotes: 0.2.0
- logcleaner: 1.6.4
- logreader: 7.0.0
- lookup_server_connector: 1.22.0
- mail: 5.12.0
- mediafetch: 1.1.0
- nextcloud_announcements: 6.0.0
- notes: 6.1.0
- notes_caldav: 0.1.0
- notifications: 7.0.0-dev.1
- notify_push: 1.4.1
- oauth2: 1.22.0
- office: 1.0.0
- password_policy: 6.0.0-dev.0
- phonetrack: 1.3.5
- photos: 7.0.0
- privacy: 6.0.0-dev.1
- profile: 1.3.0
- provisioning_api: 1.24.0
- quota_warning: 1.24.0
- recommendations: 7.0.0
- related_resources: 5.0.0-dev.0
- richdocuments: 11.1.1
- root_cache_cleaner: 0.1.12
- serverinfo: 6.0.0
- settings: 1.17.0
- sharebymail: 1.24.0
- support: 6.0.0
- survey_client: 6.0.0-dev.0
- suspicious_login: 12.0.0-dev.0
- systemtags: 1.24.0
- tasks: 0.18.1
- text: 8.0.0
- theming: 2.9.0
- thesearchpage: 2.4.8
- transfer: 1.0.2
- transfer_quota_monitor: 1.0.9
- twofactor_backupcodes: 1.23.0
- twofactor_nextcloud_notification: 8.0.0
- twofactor_totp: 16.0.0
- twofactor_webauthn: 2.7.1
- updatenotification: 1.24.0
- user_ldap: 1.25.0
- user_status: 1.14.0
- viewer: 7.0.0-dev.0
- weather_status: 1.14.0
- webhook_listeners: 1.6.0
- workflowengine: 2.16.0
Disabled:
- circles: 34.0.0 (installed 34.0.0)
- encryption: 2.22.0 (installed 2.19.0)
- integration_forgejo_gitea: 1.3.3 (installed 1.3.3)
- metadata: 0.24.0 (installed 0.24.0)
- previewgenerator: 5.14.0 (installed 5.14.0)
Nextcloud Signing status
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Results
=======
- core
- INVALID_HASH
- core/Controller/LoginController.php
Raw output
==========
Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[core/Controller/LoginController.php] => Array
(
[expected] => 9c491e463bf86151cc8a1646d07b3fbacdd5067ba97124842aa786be57b74f48ea6c979f957e356dfa0943139c10778962a56b268f7c3283d9196de8a983c6b9
[current] => 50fe6fe985eddd2543ef85f3118593b0f564ee15fa0839f90112263533fbac4bfd2e7d387828fb1650d50ca9522c25722da65b881cacc99ebcfd628c0d699f26
)
)
)
)
Nextcloud Logs
{"reqId":"OsnsEdcIJF6y0QTOMdGQ","level":2,"time":"2026-09-17T04:19:07+00:00","remoteAddr":"192.168.1.18","user":"csolisr","app":"files","method":"GET","url":"/ocs/v2.php/apps/activity/api/v2/activity?previews=true&since=0&limit=50&format=json","scriptName":"/ocs/v2.php","message":"OCA\\Transfer\\Activity\\Providers\\TransferStartedProvider::parse() threw \\InvalidArgumentException which is deprecated. Throw \\OCP\\Activity\\Exceptions\\UnknownActivityException when the event is not known to your provider and otherwise handle all \\InvalidArgumentException yourself.","userAgent":"Mozilla/5.0 (Windows) mirall/34.0.4 (build 20260916) (Nextcloud, windows-10.0.26200 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"34.0.4.1","clientReqId":"7b40c2ac-4cfc-4ee6-90ad-aeb1233ffb3c","data":{"app":"files"}}
{"reqId":"OsnsEdcIJF6y0QTOMdGQ","level":2,"time":"2026-09-17T04:19:07+00:00","remoteAddr":"192.168.1.18","user":"csolisr","app":"files","method":"GET","url":"/ocs/v2.php/apps/activity/api/v2/activity?previews=true&since=0&limit=50&format=json","scriptName":"/ocs/v2.php","message":"OCA\\Transfer\\Activity\\Providers\\TransferFailedProvider::parse() threw \\InvalidArgumentException which is deprecated. Throw \\OCP\\Activity\\Exceptions\\UnknownActivityException when the event is not known to your provider and otherwise handle all \\InvalidArgumentException yourself.","userAgent":"Mozilla/5.0 (Windows) mirall/34.0.4 (build 20260916) (Nextcloud, windows-10.0.26200 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"34.0.4.1","clientReqId":"7b40c2ac-4cfc-4ee6-90ad-aeb1233ffb3c","data":{"app":"files"}}
{"reqId":"OsnsEdcIJF6y0QTOMdGQ","level":2,"time":"2026-09-17T04:19:07+00:00","remoteAddr":"192.168.1.18","user":"csolisr","app":"files","method":"GET","url":"/ocs/v2.php/apps/activity/api/v2/activity?previews=true&since=0&limit=50&format=json","scriptName":"/ocs/v2.php","message":"OCA\\Transfer\\Activity\\Providers\\TransferSucceededProvider::parse() threw \\InvalidArgumentException which is deprecated. Throw \\OCP\\Activity\\Exceptions\\UnknownActivityException when the event is not known to your provider and otherwise handle all \\InvalidArgumentException yourself.","userAgent":"Mozilla/5.0 (Windows) mirall/34.0.4 (build 20260916) (Nextcloud, windows-10.0.26200 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"34.0.4.1","clientReqId":"7b40c2ac-4cfc-4ee6-90ad-aeb1233ffb3c","data":{"app":"files"}}
Additional info
Installed via YunoHost. Integrity checks are disabled by default, as YNH seems to require patching the Login Controller. Not sure if it's related to this issue though, as the problem only started occurring after the update to version 34.
Bug description
For the last few versions, Nextcloud has been constantly spamming the same three lines in the log (see below). Functionality seems correct, but I can't find how to correct the issue shown on the log, since the
filesmodule is core to Nextcloud and cannot be disabled.Steps to reproduce
Expected behavior
The functionality should not be constantly reporting a deprecated exception.
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.5
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 32.0.1 to 32.0.2)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
{ "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "cloud.azkware.net" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "34.0.4.1", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "logfile": "\/var\/log\/nextcloud\/nextcloud.log", "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory", "trashbin_retention_obligation": "auto, 30", "versions_retention_obligation": "auto, 30", "updatechecker": false, "memcache.local": "\\OC\\Memcache\\APCu", "integrity.check.disabled": true, "filelocking.enabled": true, "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": "6379", "timeout": "0.0", "password": "***REMOVED SENSITIVE VALUE***" }, "hashing_default_password": true, "localstorage.allowsymlinks": true, "simpleSignUpLink.shown": false, "default_phone_region": "", "maintenance_window_start": 1, "mail_smtpmode": "smtp", "mail_smtpport": "25", "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_sendmailmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpstreamoptions": { "ssl": { "allow_self_signed": true, "verify_peer": false, "verify_peer_name": false } }, "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "logout_url": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "twofactor_enforced": "false", "twofactor_enforced_groups": [], "twofactor_enforced_excluded_groups": [], "preview_max_x": 512, "preview_max_y": 512, "loglevel": 2, "forbidden_filename_characters": [ "\\", "\/" ], "forbidden_filename_extensions": [ ".filepart", ".part" ], "memories.db.triggers.fcu": true, "memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc", "memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64", "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg", "memories.vod.ffprobe": "\/usr\/bin\/ffprobe", "memories.gis_type": 1, "enabledPreviewProviders": [ "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown", "OC\\Preview\\OpenDocument", "OC\\Preview\\Krita", "OC\\Preview\\Image" ], "memories.vod.disable": false, "theme": "", "lost_password_link": "disabled", "app_install_overwrite": [] } }List of activated Apps
Nextcloud Signing status
Nextcloud Logs
{"reqId":"OsnsEdcIJF6y0QTOMdGQ","level":2,"time":"2026-09-17T04:19:07+00:00","remoteAddr":"192.168.1.18","user":"csolisr","app":"files","method":"GET","url":"/ocs/v2.php/apps/activity/api/v2/activity?previews=true&since=0&limit=50&format=json","scriptName":"/ocs/v2.php","message":"OCA\\Transfer\\Activity\\Providers\\TransferStartedProvider::parse() threw \\InvalidArgumentException which is deprecated. Throw \\OCP\\Activity\\Exceptions\\UnknownActivityException when the event is not known to your provider and otherwise handle all \\InvalidArgumentException yourself.","userAgent":"Mozilla/5.0 (Windows) mirall/34.0.4 (build 20260916) (Nextcloud, windows-10.0.26200 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"34.0.4.1","clientReqId":"7b40c2ac-4cfc-4ee6-90ad-aeb1233ffb3c","data":{"app":"files"}} {"reqId":"OsnsEdcIJF6y0QTOMdGQ","level":2,"time":"2026-09-17T04:19:07+00:00","remoteAddr":"192.168.1.18","user":"csolisr","app":"files","method":"GET","url":"/ocs/v2.php/apps/activity/api/v2/activity?previews=true&since=0&limit=50&format=json","scriptName":"/ocs/v2.php","message":"OCA\\Transfer\\Activity\\Providers\\TransferFailedProvider::parse() threw \\InvalidArgumentException which is deprecated. Throw \\OCP\\Activity\\Exceptions\\UnknownActivityException when the event is not known to your provider and otherwise handle all \\InvalidArgumentException yourself.","userAgent":"Mozilla/5.0 (Windows) mirall/34.0.4 (build 20260916) (Nextcloud, windows-10.0.26200 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"34.0.4.1","clientReqId":"7b40c2ac-4cfc-4ee6-90ad-aeb1233ffb3c","data":{"app":"files"}} {"reqId":"OsnsEdcIJF6y0QTOMdGQ","level":2,"time":"2026-09-17T04:19:07+00:00","remoteAddr":"192.168.1.18","user":"csolisr","app":"files","method":"GET","url":"/ocs/v2.php/apps/activity/api/v2/activity?previews=true&since=0&limit=50&format=json","scriptName":"/ocs/v2.php","message":"OCA\\Transfer\\Activity\\Providers\\TransferSucceededProvider::parse() threw \\InvalidArgumentException which is deprecated. Throw \\OCP\\Activity\\Exceptions\\UnknownActivityException when the event is not known to your provider and otherwise handle all \\InvalidArgumentException yourself.","userAgent":"Mozilla/5.0 (Windows) mirall/34.0.4 (build 20260916) (Nextcloud, windows-10.0.26200 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"34.0.4.1","clientReqId":"7b40c2ac-4cfc-4ee6-90ad-aeb1233ffb3c","data":{"app":"files"}}Additional info
Installed via YunoHost. Integrity checks are disabled by default, as YNH seems to require patching the Login Controller. Not sure if it's related to this issue though, as the problem only started occurring after the update to version 34.