I was uploading >5000 iOS images, when 3 of them gave 500 error.
No way to log on the client, but in the server.
{"reqId":"7HolgdjX5OSRMNkO89xG","level":3,"time":"2024-07-10T07:18:36+00:00","remoteAddr":"192.168.1.1","user":"tassoman","app":"webdav","method":"PUT","url":"/remote.php/dav/files/tassoman/InstantUpload/2023/05/23-05-15%2011-40-15%20-05-.jpg","message":"OCA\\Photos\\Listener\\ExifMetadataProvider::parseGPSData(): Argument nextcloud/server#1 ($rawData) must be of type string, array given, called in /var/www/html/apps/photos/lib/Listener/ExifMetadataProvider.php on line 113","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/5.4.1","version":"29.0.3.4","exception":{"Exception":"TypeError","Message":"OCA\\Photos\\Listener\\ExifMetadataProvider::parseGPSData(): Argument nextcloud/server#1 ($rawData) must be of type string, array given, called in /var/www/html/apps/photos/lib/Listener/ExifMetadataProvider.php on line 113","Code":0,"Trace":
Steps to reproduce
open ios app
upload iphone images
Expected behavior
I expected to upload images seamlessly
Installation method
Official All-in-One appliance
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
Other
Web server
Nginx
Database engine version
Other
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 28.0.1 to 28.0.2)
Are you using the Nextcloud Server Encryption module?
{"reqId":"7HolgdjX5OSRMNkO89xG","level":3,"time":"2024-07-10T07:18:36+00:00","remoteAddr":"192.168.1.1","user":"tassoman","app":"webdav","method":"PUT","url":"/remote.php/dav/files/tassoman/InstantUpload/2023/05/23-05-15%2011-40-15%20-05-.jpg","message":"OCA\\Photos\\Listener\\ExifMetadataProvider::parseGPSData(): Argument nextcloud/server#1 ($rawData) must be of type string, array given, called in /var/www/html/apps/photos/lib/Listener/ExifMetadataProvider.php on line 113","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/5.4.1","version":"29.0.3.4","exception":{"Exception":"TypeError","Message":"OCA\\Photos\\Listener\\ExifMetadataProvider::parseGPSData(): Argument nextcloud/server#1 ($rawData) must be of type string, array given, called in /var/www/html/apps/photos/lib/Listener/ExifMetadataProvider.php on line 113","Code":0,"Trace":[{"file":"/var/www/html/apps/photos/lib/Listener/ExifMetadataProvider.php","line":113,"function":"parseGPSData","class":"OCA\\Photos\\Listener\\ExifMetadataProvider","type":"->","args":[["0/1","0/1","0/1000"]]},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Photos\\Listener\\ExifMetadataProvider","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataLiveEvent"]]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataLiveEvent"],"OCP\\FilesMetadata\\Event\\MetadataLiveEvent",["Symfony\\Component\\EventDispatcher\\EventDispatcher"]]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[["Closure"],["Closure"],["Closure"],["Closure"],["Closure"]],"OCP\\FilesMetadata\\Event\\MetadataLiveEvent",["OCP\\FilesMetadata\\Event\\MetadataLiveEvent"]]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataLiveEvent"],"OCP\\FilesMetadata\\Event\\MetadataLiveEvent"]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCP\\FilesMetadata\\Event\\MetadataLiveEvent",["OCP\\FilesMetadata\\Event\\MetadataLiveEvent"]]},{"file":"/var/www/html/lib/private/FilesMetadata/FilesMetadataManager.php","line":114,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataLiveEvent"]]},{"file":"/var/www/html/lib/private/FilesMetadata/Listener/MetadataUpdate.php","line":59,"function":"refreshMetadata","class":"OC\\FilesMetadata\\FilesMetadataManager","type":"->","args":[["OC\\Files\\Node\\File"]]},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OC\\FilesMetadata\\Listener\\MetadataUpdate","type":"->","args":[["OCP\\Files\\Events\\Node\\NodeWrittenEvent"]]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[["OCP\\Files\\Events\\Node\\NodeWrittenEvent"],"OCP\\Files\\Events\\Node\\NodeWrittenEvent",["Symfony\\Component\\EventDispatcher\\EventDispatcher"]]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[["Closure"],["Closure"],["Closure"],["Closure"],["Closure"]],"OCP\\Files\\Events\\Node\\NodeWrittenEvent",["OCP\\Files\\Events\\Node\\NodeWrittenEvent"]]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\Files\\Events\\Node\\NodeWrittenEvent"],"OCP\\Files\\Events\\Node\\NodeWrittenEvent"]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCP\\Files\\Events\\Node\\NodeWrittenEvent",["OCP\\Files\\Events\\Node\\NodeWrittenEvent"]]},{"file":"/var/www/html/lib/private/Files/Node/HookConnector.php","line":102,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\Files\\Events\\Node\\NodeWrittenEvent"]]},{"file":"/var/www/html/lib/private/legacy/OC_Hook.php","line":105,"function":"postWrite","class":"OC\\Files\\Node\\HookConnector","type":"->","args":[["/InstantUpload/2023/05/23-05-15 11-40-15 -05-.jpg"]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":479,"function":"emit","class":"OC_Hook","type":"::","args":["OC_Filesystem","post_write",["/InstantUpload/2023/05/23-05-15 11-40-15 -05-.jpg"]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":404,"function":"emitPostHooks","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[true]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1137,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":492,"function":"updateFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PUT",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":379,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":172,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/apps/photos/lib/Listener/ExifMetadataProvider.php","Line":140,"message":"OCA\\Photos\\Listener\\ExifMetadataProvider::parseGPSData(): Argument nextcloud/server#1 ($rawData) must be of type string, array given, called in /var/www/html/apps/photos/lib/Listener/ExifMetadataProvider.php on line 113","exception":[],"CustomMessage":"OCA\\Photos\\Listener\\ExifMetadataProvider::parseGPSData(): Argument nextcloud/server#1 ($rawData) must be of type string, array given, called in /var/www/html/apps/photos/lib/Listener/ExifMetadataProvider.php on line 113"},"id":"668e39115ec75"}
⚠️ This issue respects the following points: ⚠️
Bug description
I was uploading >5000 iOS images, when 3 of them gave 500 error. No way to log on the client, but in the server.
Steps to reproduce
Expected behavior
I expected to upload images seamlessly
Installation method
Official All-in-One appliance
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
Other
Web server
Nginx
Database engine version
Other
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 28.0.1 to 28.0.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
AIO 9.0.1 > NC 29.0.3