Webdav issue with photos app on NC25

Nextcloud version (eg, 20.0.5): 25.0.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): nginx
PHP version (eg, 7.4): 8.0.25

The issue you are facing:

After upgrading from 24.0.7 to 25.0.1 I’m facing an issue that I cannot see any photos if I click on the Photos. My data folder is actually a locally mounted NFS shared drive. I wasn’t facing these issues on 24. I’m also using iOS app, and there I can normally browse the photo library. Other than this issue, NC25 is working normally and without any issues that I’ve noticed. When I inspect the network in browser I see that webdav call takes a long time and in the end it timesout… errors i found in log mention nothing about it but there are two other errors i found so will put them, maybe they might be related but i doubt…

Is this the first time you’ve seen this error? Yes

The output of your Nextcloud log in Admin > Logging:

{"reqId":"4q4ddZh7yOAioDF58iKE","level":3,"time":"2022-12-03T19:19:56+00:00","remoteAddr":"192.168.100.119","user":"suntribe","app":"PHP","method":"PUT","url":"/remote.php/dav/files/suntribe/Photos/2022/12/22-12-03%2019-30-26%209210.heic","message":"exif_read_data(): File not supported at /home/nextcloud/www/lib/private/Metadata/Provider/ExifProvider.php#59","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.6.0","version":"25.0.1.1","exception":{"Exception":"Error","Message":"exif_read_data(): File not supported at /home/nextcloud/www/lib/private/Metadata/Provider/ExifProvider.php#59","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/home/nextcloud/www/lib/private/Metadata/Provider/ExifProvider.php","line":59,"function":"exif_read_data"},{"file":"/home/nextcloud/www/lib/private/Metadata/MetadataManager.php","line":68,"function":"execute","class":"OC\\Metadata\\Provider\\ExifProvider","type":"->"},{"file":"/home/nextcloud/www/lib/private/Metadata/FileEventListener.php","line":101,"function":"generateMetadata","class":"OC\\Metadata\\MetadataManager","type":"->"},{"file":"/home/nextcloud/www/lib/private/EventDispatcher/ServiceEventListener.php","line":87,"function":"handle","class":"OC\\Metadata\\FileEventListener","type":"->"},{"file":"/home/nextcloud/www/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/home/nextcloud/www/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/nextcloud/www/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/nextcloud/www/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/nextcloud/www/lib/private/Files/Node/HookConnector.php","line":118,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/nextcloud/www/lib/private/legacy/OC_Hook.php","line":106,"function":"postWrite","class":"OC\\Files\\Node\\HookConnector","type":"->"},{"file":"/home/nextcloud/www/apps/dav/lib/Connector/Sabre/File.php","line":471,"function":"emit","class":"OC_Hook","type":"::"},{"file":"/home/nextcloud/www/apps/dav/lib/Connector/Sabre/File.php","line":398,"function":"emitPostHooks","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/home/nextcloud/www/apps/dav/lib/Connector/Sabre/Directory.php","line":151,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Server.php","line":1098,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":504,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/remote.php","line":171,"args":["/home/nextcloud/www/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/home/nextcloud/www/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"638c78d974304"}
{"reqId":"MHQ6jbANv9xFoaIC5EB2","level":3,"time":"2022-12-01T23:51:41+00:00","remoteAddr":"192.168.100.21","user":"suntribe","app":"no app in context","method":"DELETE","url":"/remote.php/dav/addressbooks/users/suntribe/contacts/F5EBEDD7-6D48-4D0D-AC09-DE3CA28D025B.vcf","message":"Could not load event listener service OCA\\Maps\\Listener\\CardDeletedListener: Could not resolve logger! Class \"logger\" does not exist. Make sure the class is auto-loadable by the Nextcloud server container","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0","version":"25.0.1.1","exception":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve logger! Class \"logger\" does not exist","Code":0,"Trace":[{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/home/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php","line":108,"function":"array_map"},{"file":"/home/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/home/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/home/nextcloud/www/lib/private/ServerContainer.php","line":161,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/home/nextcloud/www/lib/private/EventDispatcher/ServiceEventListener.php","line":71,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/home/nextcloud/www/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/home/nextcloud/www/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/nextcloud/www/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/nextcloud/www/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/nextcloud/www/apps/dav/lib/CardDAV/CardDavBackend.php","line":763,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/CardDAV/Card.php","line":106,"function":"deleteCard","class":"OCA\\DAV\\CardDAV\\CardDavBackend","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Tree.php","line":179,"function":"delete","class":"Sabre\\CardDAV\\Card","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":281,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/remote.php","line":171,"args":["/home/nextcloud/www/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/home/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php","Line":102,"Previous":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Maps\\Listener\\ILogger! Class \"OCA\\Maps\\Listener\\ILogger\" does not exist","Code":0,"Trace":[{"file":"/home/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/home/nextcloud/www/lib/private/ServerContainer.php","line":161,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/home/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php","line":89,"function":"query","class":"OC\\ServerContainer","type":"->"},{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/home/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php","line":108,"function":"array_map"},{"file":"/home/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/home/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/home/nextcloud/www/lib/private/ServerContainer.php","line":161,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/home/nextcloud/www/lib/private/EventDispatcher/ServiceEventListener.php","line":71,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/home/nextcloud/www/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/home/nextcloud/www/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/nextcloud/www/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/nextcloud/www/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/nextcloud/www/apps/dav/lib/CardDAV/CardDavBackend.php","line":763,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/CardDAV/Card.php","line":106,"function":"deleteCard","class":"OCA\\DAV\\CardDAV\\CardDavBackend","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Tree.php","line":179,"function":"delete","class":"Sabre\\CardDAV\\Card","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":281,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/home/nextcloud/www/remote.php","line":171,"args":["/home/nextcloud/www/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/home/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php","Line":122},"message":"Could not load event listener service OCA\\Maps\\Listener\\CardDeletedListener: Could not resolve logger! Class \"logger\" does not exist. Make sure the class is auto-loadable by the Nextcloud server container","exception":[],"CustomMessage":"Could not load event listener service OCA\\Maps\\Listener\\CardDeletedListener: Could not resolve logger! Class \"logger\" does not exist. Make sure the class is auto-loadable by the Nextcloud server container"},"id":"638c78d974d98"}

you always used this file format?

There is an open bug report with a similar error (not sure if it is the same and if a potential fix will solve it for you as well):

actually no, never. as ios client is my main ‘backup’ it is set to what’s default filename mask…