The Basics
- Nextcloud Server version (e.g., 29.x.x):
30.0.5
- Operating system and version (e.g., Ubuntu 24.04):
Set up via Script Proxmox LXC / NextcloudPi
- Web server and version (e.g, Apache 2.4.25):
Apache 2.4.62
- Reverse proxy and version _(e.g. nginx 1.27.2)
Traefik 3.3.3
- PHP version (e.g, 8.3):
8.3.16
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
after installation
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
NCP
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
I want to receive jpgs with a File-Request-Link (anonymous shared folder w/o download). The jpgs arrive, but the Expetion in subject is written to the log.
Steps to replicate it (hint: details matter!):
- Create upload-folder and set to file request w/o download
- Upload a jpg
- jpg will be shown in the folder, but the warning is in the log
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
{"reqId":"Z6xm1tHd-tue0sFo-jMq_QAARQ0","level":2,"time":"2025-02-12T09:16:06+00:00","remoteAddr":"192.168.200.201","user":"--","app":"no app in context","method":"PUT","url":"/public.php/dav/files/9ZWF2sFHg2HqcbB/WIN_20220830_10_25_36_Pro.jpg","message":"issue while running MetadataUpdate","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0","version":"30.0.5.1","exception":{"Exception":"OCP\\Files\\NotPermittedException","Message":"","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/photos/lib/Listener/ExifMetadataProvider.php","line":57,"function":"fopen","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":68,"function":"handle","class":"OCA\\Photos\\Listener\\ExifMetadataProvider","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":220,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":56,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":67,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":79,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/FilesMetadata/FilesMetadataManager.php","line":100,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/FilesMetadata/Listener/MetadataUpdate.php","line":42,"function":"refreshMetadata","class":"OC\\FilesMetadata\\FilesMetadataManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":68,"function":"handle","class":"OC\\FilesMetadata\\Listener\\MetadataUpdate","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":220,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":56,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":67,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":79,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/HookConnector.php","line":83,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Hook.php","line":82,"function":"postWrite","class":"OC\\Files\\Node\\HookConnector","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":437,"function":"emit","class":"OC_Hook","type":"::"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":362,"function":"emitPostHooks","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":110,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1098,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":504,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Server.php","line":43,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/publicremote.php","line":139,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->"},{"file":"/var/www/nextcloud/public.php","line":82,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/publicremote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Files/Node/File.php","Line":99,"message":"issue while running MetadataUpdate","exception":[],"CustomMessage":"issue while running MetadataUpdate"},"id":"67ac71357e93d"}
Web Browser
not related to browser
Configuration
Nextcloud
The output of occ config:list system
or similar is best, but, if not possible, the contents of your config.php
file from /path/to/nextcloud
is fine (make sure to remove any identifiable information!):
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"0": "localhost",
"7": "nextcloudpi",
"5": "nextcloudpi.local",
"8": "nextcloudpi.lan",
"3": "nextcloudpi",
"11": "217.228.40.231",
"1": "192.168.200.215",
"14": "nextcloud-lxc.fritz.box",
"20": "cloud.domain.tld"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "30.0.5.1",
"overwrite.cli.url": "https:\/\/nextcloudpi\/",
"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***",
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0,
"password": "***REMOVED SENSITIVE VALUE***"
},
"tempdirectory": "\/opt\/ncdata\/data\/tmp",
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"preview_max_x": "2048",
"preview_max_y": "2048",
"jpeg_quality": "60",
"overwriteprotocol": "https",
"maintenance": false,
"logfile": "\/opt\/ncdata\/data\/nextcloud.log",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"loglevel": 2,
"maintenance_window_start": 2,
"default_phone_region": "DE",
"mail_sendmailmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
},
"apps": {
"activity": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": "filesystem"
},
"app_api": {
"enabled": "yes",
"installed_version": "4.0.5",
"types": ""
},
"backgroundjob": {
"lastjob": "987"
},
"bruteforcesettings": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": ""
},
"calendar": {
"enabled": "yes",
"installed_version": "5.0.9",
"types": ""
},
"circles": {
"enabled": "yes",
"installed_version": "30.0.0",
"loopback_tmp_path": "\/",
"loopback_tmp_scheme": "https",
"maintenance_run": "0",
"maintenance_update": "{\"3\":1739354402,\"2\":1739354402,\"1\":1739354701}",
"migration_22": "1",
"migration_run": "0",
"types": "filesystem,dav"
},
"cloud_federation_api": {
"enabled": "yes",
"installed_version": "1.13.0",
"types": "filesystem"
},
"comments": {
"enabled": "yes",
"installed_version": "1.20.1",
"types": "logging"
},
"contacts": {
"enabled": "yes",
"installed_version": "6.1.3",
"types": "dav"
},
"contactsinteraction": {
"enabled": "yes",
"installed_version": "1.11.0",
"types": "dav"
},
"core": {
"backgroundjobs_mode": "cron",
"emailTestSuccessful": "1",
"installedat": "1738452767.3399",
"lastcron": 1739354704,
"lastupdatedat": 0,
"metadataGenerationDone": true,
"moveavatarsdone": "yes",
"previewsCleanedUp": "1",
"public_files": "files_sharing\/public.php",
"vendor": "nextcloud",
"files_metadata": {
"photos-original_date_time": {
"value": null,
"type": "int",
"etag": "",
"indexed": true,
"editPermission": 0
},
"photos-size": {
"value": null,
"type": "array",
"etag": "",
"indexed": false,
"editPermission": 0
},
"photos-exif": {
"value": null,
"type": "array",
"etag": "",
"indexed": false,
"editPermission": 0
},
"photos-ifd0": {
"value": null,
"type": "array",
"etag": "",
"indexed": false,
"editPermission": 0
},
"blurhash": {
"value": null,
"type": "string",
"etag": "19d9356acb5730c4b69f545850784774",
"indexed": false,
"editPermission": 0
},
"photos-gps": {
"value": null,
"type": "array",
"etag": "",
"indexed": false,
"editPermission": 0
},
"photos-place": {
"value": null,
"type": "string",
"etag": "",
"indexed": true,
"editPermission": 0
}
},
"oc.integritycheck.checker": []
},
"dashboard": {
"enabled": "yes",
"installed_version": "7.10.0",
"types": ""
},
"dav": {
"buildCalendarReminderIndex": "yes",
"buildCalendarSearchIndex": "yes",
"enabled": "yes",
"installed_version": "1.31.1",
"regeneratedBirthdayCalendarsForYearFix": "yes",
"types": "filesystem"
},
"federatedfilesharing": {
"enabled": "yes",
"installed_version": "1.20.0",
"types": ""
},
"federation": {
"enabled": "yes",
"installed_version": "1.20.0",
"types": "authentication"
},
"files": {
"enabled": "yes",
"installed_version": "2.2.0",
"mimetype_version": "30.0.5.1",
"types": "filesystem"
},
"files_downloadlimit": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": ""
},
"files_pdfviewer": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": ""
},
"files_reminders": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": ""
},
"files_sharing": {
"enabled": "yes",
"installed_version": "1.22.0",
"types": "filesystem"
},
"files_trashbin": {
"enabled": "yes",
"installed_version": "1.20.1",
"types": "filesystem,dav"
},
"files_versions": {
"enabled": "yes",
"installed_version": "1.23.0",
"types": "filesystem,dav"
},
"firstrunwizard": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": "logging"
},
"logreader": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": "logging"
},
"lookup_server_connector": {
"enabled": "yes",
"installed_version": "1.18.0",
"types": "authentication"
},
"nextcloud_announcements": {
"enabled": "yes",
"installed_version": "2.0.0",
"pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
"types": "logging"
},
"nextcloudpi": {
"enabled": "yes",
"installed_version": "0.0.2",
"types": ""
},
"notes": {
"enabled": "yes",
"installed_version": "4.11.0",
"types": ""
},
"notifications": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": "logging"
},
"notify_push": {
"base_endpoint": "https:\/\/nextcloudpi\/push",
"cookie": "***REMOVED SENSITIVE VALUE***",
"enabled": "yes",
"installed_version": "1.0.0",
"types": "filesystem"
},
"oauth2": {
"enabled": "yes",
"installed_version": "1.18.1",
"types": "authentication"
},
"password_policy": {
"enabled": "yes",
"installed_version": "2.0.0",
"types": "authentication"
},
"photos": {
"enabled": "yes",
"installed_version": "3.0.2",
"lastPlaceMappedUser": "ncp",
"lastPlaceMappingDone": "true",
"types": "dav,authentication"
},
"preview": {
"jpeg_quality": "60"
},
"previewgenerator": {
"enabled": "yes",
"heightSizes": "256",
"installed_version": "99.99.99",
"squareSizes": "32 256",
"types": "filesystem",
"widthSizes": "256 384"
},
"privacy": {
"enabled": "yes",
"installed_version": "2.0.0",
"types": ""
},
"provisioning_api": {
"enabled": "yes",
"installed_version": "1.20.0",
"types": "prevent_group_restriction"
},
"recommendations": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": ""
},
"related_resources": {
"enabled": "yes",
"installed_version": "1.5.0",
"types": ""
},
"richdocuments": {
"disable_certificate_verification": "",
"enabled": "yes",
"installed_version": "8.5.3",
"public_wopi_url": "https:\/\/office.escher.cc",
"types": "prevent_group_restriction",
"wopi_url": "https:\/\/office.escher.cc\/"
},
"serverinfo": {
"cached_count_filecache": "4158",
"cached_count_storages": "5",
"enabled": "yes",
"installed_version": "2.0.0",
"types": ""
},
"settings": {
"enabled": "yes",
"installed_version": "1.13.0",
"types": ""
},
"sharebymail": {
"enabled": "yes",
"installed_version": "1.20.0",
"types": "filesystem"
},
"support": {
"SwitchUpdaterServerHasRun": "yes",
"enabled": "yes",
"installed_version": "2.0.0",
"types": "session"
},
"survey_client": {
"enabled": "yes",
"installed_version": "2.0.0",
"types": ""
},
"systemtags": {
"enabled": "yes",
"installed_version": "1.20.0",
"types": "logging"
},
"tasks": {
"enabled": "yes",
"installed_version": "0.16.1",
"types": ""
},
"text": {
"enabled": "yes",
"installed_version": "4.1.0",
"types": "dav"
},
"theming": {
"backgroundMime": "image\/jpeg",
"background_color": "#7697c8",
"cachebuster": "11",
"enabled": "yes",
"installed_version": "2.5.0",
"logoDimensions": "256x128",
"logoMime": "image\/svg+xml",
"name": "Tom's Cloud",
"slogan": "***REMOVED SENSITIVE VALUE***",
"types": "logging",
"url": "***REMOVED SENSITIVE VALUE***"
},
"twofactor_backupcodes": {
"enabled": "yes",
"installed_version": "1.19.0",
"types": ""
},
"updatenotification": {
"enabled": "no",
"installed_version": "1.20.0",
"types": ""
},
"user_status": {
"enabled": "yes",
"installed_version": "1.10.0",
"types": ""
},
"viewer": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": ""
},
"weather_status": {
"enabled": "yes",
"installed_version": "1.10.0",
"types": ""
},
"webhook_listeners": {
"enabled": "yes",
"installed_version": "1.1.0-dev",
"types": "filesystem"
},
"workflowengine": {
"enabled": "yes",
"installed_version": "2.12.0",
"types": "filesystem"
}
}
}