Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error NotPermittedException Cannot delete the video part of a Live Photo #42237

Open
5 of 8 tasks
AndyXheli opened this issue Dec 13, 2023 · 13 comments
Open
5 of 8 tasks
Labels

Comments

@AndyXheli
Copy link

AndyXheli commented Dec 13, 2023

⚠️ This issue respects the following points: ⚠️

Bug description

Noticed when selecting the .jpg and .mov files and deleting them throws an error below.

Steps to reproduce

  1. File Live Photo files and delete them.

Expected behavior

Should not throw error

Installation method

Community Manual installation with Archive

Nextcloud Server version

28

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 22 to 23)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

{"reqId":"hoAwhjOeHwT9182DyDlv","level":3,"time":"2023-12-13T08:13:07-06:00","remoteAddr":"10.8.0.6","user":"admin","app":"no app in context","method":"DELETE","url":"/remote.php/dav/files/admin/Photos/2023/23-12-10%2020-04-14%200042.mov","message":"Exception thrown: OCP\\Files\\NotPermittedException","userAgent":"Mozilla/5.0 (iPhone; CPU iPhone OS 17_1_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1.2 Mobile/15E148 Safari/604.1","version":"28.0.0.11","exception":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Cannot delete the video part of a live photo","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/files/lib/Listener/SyncLivePhotosListener.php","line":86,"function":"handleDeletion","class":"OCA\\Files\\Listener\\SyncLivePhotosListener","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Files\\Listener\\SyncLivePhotosListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":94,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":106,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/HookConnector.php","line":137,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Hook.php","line":105,"function":"delete","class":"OC\\Files\\Node\\HookConnector","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1270,"function":"emit","class":"OC_Hook","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1144,"function":"runHooks","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":702,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":543,"function":"unlink","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":185,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":281,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","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/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":370,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":172,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/files/lib/Listener/SyncLivePhotosListener.php","Line":155,"CustomMessage":"Exception thrown: OCP\\Files\\NotPermittedException"},"id":"6579bc5e2d7f6"}

{"reqId":"dmwl6XAOwGpGsWQsbniA","level":3,"time":"2023-12-13T08:13:00-06:00","remoteAddr":"10.8.0.6","user":"axheli","app":"no app in context","method":"DELETE","url":"/remote.php/dav/files/axheli/Photos/202323-12-10%2020-04-14%200042.jpg","message":"Exception thrown: OCP\\Lock\\LockedException","userAgent":"Mozilla/5.0 (iPhone; CPU iPhone OS 17_1_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1.2 Mobile/15E148 Safari/604.1","version":"28.0.0.11","exception":{"Exception":"OCP\\Lock\\LockedException","Message":"\"Photos/2023/23-12-12 14-25-29 0043.mov\" is locked, existing lock on file: 2 shared locks","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1150,"function":"changeLock","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":702,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/File.php","line":133,"function":"unlink","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/files/lib/Listener/SyncLivePhotosListener.php","line":160,"function":"delete","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/var/www/nextcloud/apps/files/lib/Listener/SyncLivePhotosListener.php","line":86,"function":"handleDeletion","class":"OCA\\Files\\Listener\\SyncLivePhotosListener","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Files\\Listener\\SyncLivePhotosListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":94,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":106,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/HookConnector.php","line":137,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Hook.php","line":105,"function":"delete","class":"OC\\Files\\Node\\HookConnector","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1270,"function":"emit","class":"OC_Hook","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1144,"function":"runHooks","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":702,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":543,"function":"unlink","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":185,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":281,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","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/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":370,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":172,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Files/View.php","Line":1984,"Previous":{"Exception":"OCP\\Lock\\LockedException","Message":"\"files/ad8767caa395dbac347206d90b3c38da\"(\"files/Photos/2023/23-12-12 14-25-29 0043.mov\") is locked, existing lock on file: 2 shared locks","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":629,"function":"changeLock","class":"OC\\Files\\Storage\\Common","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":629,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1975,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1150,"function":"changeLock","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":702,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/File.php","line":133,"function":"unlink","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/files/lib/Listener/SyncLivePhotosListener.php","line":160,"function":"delete","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/var/www/nextcloud/apps/files/lib/Listener/SyncLivePhotosListener.php","line":86,"function":"handleDeletion","class":"OCA\\Files\\Listener\\SyncLivePhotosListener","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Files\\Listener\\SyncLivePhotosListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":94,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":106,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/HookConnector.php","line":137,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Hook.php","line":105,"function":"delete","class":"OC\\Files\\Node\\HookConnector","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1270,"function":"emit","class":"OC_Hook","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1144,"function":"runHooks","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":702,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":543,"function":"unlink","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":185,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":281,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","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/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":370,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":172,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Files/Storage/Common.php","Line":833,"Previous":{"Exception":"OCP\\Lock\\LockedException","Message":"\"files/ad8767caa395dbac347206d90b3c38da\" is locked, existing lock on file: 2 shared locks","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/Storage/Common.php","line":831,"function":"changeLock","class":"OC\\Lock\\MemcacheLockingProvider","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":629,"function":"changeLock","class":"OC\\Files\\Storage\\Common","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":629,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1975,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1150,"function":"changeLock","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":702,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/File.php","line":133,"function":"unlink","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/files/lib/Listener/SyncLivePhotosListener.php","line":160,"function":"delete","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/var/www/nextcloud/apps/files/lib/Listener/SyncLivePhotosListener.php","line":86,"function":"handleDeletion","class":"OCA\\Files\\Listener\\SyncLivePhotosListener","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Files\\Listener\\SyncLivePhotosListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":94,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":106,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/HookConnector.php","line":137,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Hook.php","line":105,"function":"delete","class":"OC\\Files\\Node\\HookConnector","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1270,"function":"emit","class":"OC_Hook","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1144,"function":"runHooks","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":702,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":543,"function":"unlink","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":185,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":281,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","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/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":370,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":172,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Lock/MemcacheLockingProvider.php","Line":109}},"CustomMessage":"Exception thrown: OCP\\Lock\\LockedException"},"id":"6579d615ed386"}

Additional info

Also Getting File Locks when this happens bother errors come up same time

@AndyXheli AndyXheli added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Dec 13, 2023
@AndyXheli AndyXheli changed the title Cannot delete the video part of a live photo Error NotPermittedException Cannot delete the video part of a Live Photo Dec 13, 2023
@joshtrichards
Copy link
Member

Likely similar to #42170 & #42154
Cc: @ArtificialOwl

@AndyXheli

This comment has been minimized.

@joshtrichards
Copy link
Member

Yes, that's why the Issue is still open. :)

@FloTheSysadmin

This comment was marked as duplicate.

@pinpox
Copy link

pinpox commented May 12, 2024

Running into this aswell, with a similar error message. I suspect it is the same problem, it occurs for me when trying to move some files and logs this:

May 12 17:06:54 porree Nextcloud[329133]: {"reqId":"S45eQyhyaWV5FGoSYfZt","level":2,"time":"2024-05-12T15:06:54+00:00","remoteAddr":"85.197.22.10","user":"pinpox","app":"no app in context","method":"MOVE","url":"/remote.php/dav/files/pinpox/Photos/24-03-17%2015-21-39%206099.jpg","message":"{\"Exception\":\"OCP\\\\Exceptions\\\\AbortedEventException\",\"Message\":\"A file already exist at destination path of the Live Photo\",\"Code\":0,\"Trace\":[{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/apps/files/lib/Listener/SyncLivePhotosListener.php\",\"line\":87,\"function\":\"handleMove\",\"class\":\"OCA\\\\Files\\\\Listener\\\\SyncLivePhotosListener\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/lib/private/EventDispatcher/ServiceEventListener.php\",\"line\":86,\"function\":\"handle\",\"class\":\"OCA\\\\Files\\\\Listener\\\\SyncLivePhotosListener\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/symfony/event-dispatcher/EventDispatcher.php\",\"line\":230,\"function\":\"__invoke\",\"class\":\"OC\\\\EventDispatcher\\\\ServiceEventListener\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/symfony/event-dispatcher/EventDispatcher.php\",\"line\":59,\"function\":\"callListeners\",\"class\":\"Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/lib/private/EventDispatcher/EventDispatcher.php\",\"line\":86,\"function\":\"dispatch\",\"class\":\"Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/lib/private/EventDispatcher/EventDispatcher.php\",\"line\":98,\"function\":\"dispatch\",\"class\":\"OC\\\\EventDispatcher\\\\EventDispatcher\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/lib/private/Files/Node/HookConnector.php\",\"line\":174,\"function\":\"dispatchTyped\",\"class\":\"OC\\\\EventDispatcher\\\\EventDispatcher\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/lib/private/legacy/OC_Hook.php\",\"line\":105,\"function\":\"rename\",\"class\":\"OC\\\\Files\\\\Node\\\\HookConnector\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/lib/private/Files/View.php\",\"line\":764,\"function\":\"emit\",\"class\":\"OC_Hook\",\"type\":\"::\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/apps/dav/lib/Connector/Sabre/Directory.php\",\"line\":454,\"function\":\"rename\",\"class\":\"OC\\\\Files\\\\View\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/sabre/dav/lib/DAV/Tree.php\",\"line\":178,\"function\":\"moveInto\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/sabre/dav/lib/DAV/CorePlugin.php\",\"line\":612,\"function\":\"move\",\"class\":\"Sabre\\\\DAV\\\\Tree\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/sabre/event/lib/WildcardEmitterTrait.php\",\"line\":89,\"function\":\"httpMove\",\"class\":\"Sabre\\\\DAV\\\\CorePlugin\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":472,\"function\":\"emit\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":253,\"function\":\"invokeMethod\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":321,\"function\":\"start\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/apps/dav/lib/Server.php\",\"line\":374,\"function\":\"exec\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/apps/dav/appinfo/v2/remote.php\",\"line\":35,\"function\":\"exec\",\"class\":\"OCA\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/remote.php\",\"line\":172,\"args\":[\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/apps/dav/appinfo/v2/remote.php\"],\"function\":\"require_once\"}],\"File\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/apps/files/lib/Listener/SyncLivePhotosListener.php\",\"Line\":132,\"message\":\"rename process aborted\",\"exception\":{},\"CustomMessage\":\"rename process aborted\"}","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0","version":"29.0.0.19"}
May 12 17:06:55 porree Nextcloud[329131]: {"reqId":"VMKxm5kryasU8wTypUZL","level":2,"time":"2024-05-12T15:06:55+00:00","remoteAddr":"85.197.22.10","user":"pinpox","app":"no app in context","method":"MOVE","url":"/remote.php/dav/files/pinpox/Photos/24-03-17%2015-26-02%206123.jpg","message":"{\"Exception\":\"OCP\\\\Exceptions\\\\AbortedEventException\",\"Message\":\"A file already exist at destination path of the Live Photo\",\"Code\":0,\"Trace\":[{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/apps/files/lib/Listener/SyncLivePhotosListener.php\",\"line\":87,\"function\":\"handleMove\",\"class\":\"OCA\\\\Files\\\\Listener\\\\SyncLivePhotosListener\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/lib/private/EventDispatcher/ServiceEventListener.php\",\"line\":86,\"function\":\"handle\",\"class\":\"OCA\\\\Files\\\\Listener\\\\SyncLivePhotosListener\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/symfony/event-dispatcher/EventDispatcher.php\",\"line\":230,\"function\":\"__invoke\",\"class\":\"OC\\\\EventDispatcher\\\\ServiceEventListener\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/symfony/event-dispatcher/EventDispatcher.php\",\"line\":59,\"function\":\"callListeners\",\"class\":\"Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/lib/private/EventDispatcher/EventDispatcher.php\",\"line\":86,\"function\":\"dispatch\",\"class\":\"Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/lib/private/EventDispatcher/EventDispatcher.php\",\"line\":98,\"function\":\"dispatch\",\"class\":\"OC\\\\EventDispatcher\\\\EventDispatcher\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/lib/private/Files/Node/HookConnector.php\",\"line\":174,\"function\":\"dispatchTyped\",\"class\":\"OC\\\\EventDispatcher\\\\EventDispatcher\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/lib/private/legacy/OC_Hook.php\",\"line\":105,\"function\":\"rename\",\"class\":\"OC\\\\Files\\\\Node\\\\HookConnector\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/lib/private/Files/View.php\",\"line\":764,\"function\":\"emit\",\"class\":\"OC_Hook\",\"type\":\"::\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/apps/dav/lib/Connector/Sabre/Directory.php\",\"line\":454,\"function\":\"rename\",\"class\":\"OC\\\\Files\\\\View\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/sabre/dav/lib/DAV/Tree.php\",\"line\":178,\"function\":\"moveInto\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/sabre/dav/lib/DAV/CorePlugin.php\",\"line\":612,\"function\":\"move\",\"class\":\"Sabre\\\\DAV\\\\Tree\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/sabre/event/lib/WildcardEmitterTrait.php\",\"line\":89,\"function\":\"httpMove\",\"class\":\"Sabre\\\\DAV\\\\CorePlugin\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":472,\"function\":\"emit\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":253,\"function\":\"invokeMethod\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":321,\"function\":\"start\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/apps/dav/lib/Server.php\",\"line\":374,\"function\":\"exec\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/apps/dav/appinfo/v2/remote.php\",\"line\":35,\"function\":\"exec\",\"class\":\"OCA\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/remote.php\",\"line\":172,\"args\":[\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/apps/dav/appinfo/v2/remote.php\"],\"function\":\"require_once\"}],\"File\":\"/nix/store/fg900k3qb3d48x7y81pwk9cw9kw301j4-nextcloud-29.0.0/apps/files/lib/Listener/SyncLivePhotosListener.php\",\"Line\":132,\"message\":\"rename process aborted\",\"exception\":{},\"CustomMessage\":\"rename process aborted\"}","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0","version":"29.0.0.19"}

@AlixANNERAUD
Copy link

AlixANNERAUD commented Jun 6, 2024

Same bug :

{"reqId":"VqIIfyRPcT6o1YNZ8HS2","level":2,"time":"2024-06-06T16:26:18+00:00","remoteAddr":"172.16.0.15","user":"Alix ANNERAUD","app":"no app in context","method":"DELETE","url":"/remote.php/dav/files/Alix%20ANNERAUD/Images/2024/03/IMG_7191.mov","message":"delete process aborted","userAgent":"Mozilla/5.0 (Linux) mirall/3.7.3git (Nextcloud, debian-6.1.0-21-amd64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"29.0.1.1","exception":{"Exception":"OCP\\Exceptions\\AbortedEventException","Message":"Cannot delete the video part of a live photo","Code":0,"Trace":[{"file":"/var/www/html/apps/files/lib/Listener/SyncLivePhotosListener.php","line":89,"function":"handleDeletion","class":"OCA\\Files\\Listener\\SyncLivePhotosListener","type":"->","args":[["OCP\\Files\\Events\\Node\\BeforeNodeDeletedEvent"],["OC\\Files\\Node\\File"]]},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Files\\Listener\\SyncLivePhotosListener","type":"->","args":[["OCP\\Files\\Events\\Node\\BeforeNodeDeletedEvent"]]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[["OCP\\Files\\Events\\Node\\BeforeNodeDeletedEvent"],"OCP\\Files\\Events\\Node\\BeforeNodeDeletedEvent",["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"]],"OCP\\Files\\Events\\Node\\BeforeNodeDeletedEvent",["OCP\\Files\\Events\\Node\\BeforeNodeDeletedEvent"]]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\Files\\Events\\Node\\BeforeNodeDeletedEvent"],"OCP\\Files\\Events\\Node\\BeforeNodeDeletedEvent"]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCP\\Files\\Events\\Node\\BeforeNodeDeletedEvent",["OCP\\Files\\Events\\Node\\BeforeNodeDeletedEvent"]]},{"file":"/var/www/html/lib/private/Files/Node/HookConnector.php","line":131,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\Files\\Events\\Node\\BeforeNodeDeletedEvent"]]},{"file":"/var/www/html/lib/private/legacy/OC_Hook.php","line":105,"function":"delete","class":"OC\\Files\\Node\\HookConnector","type":"->","args":[[false,"/Images/2024/03/IMG_7191.mov"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":1276,"function":"emit","class":"OC_Hook","type":"::","args":["OC_Filesystem","delete",[false,"/Images/2024/03/IMG_7191.mov"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":1148,"function":"runHooks","class":"OC\\Files\\View","type":"->","args":[["delete"],"/Images/2024/03/IMG_7191.mov"]},{"file":"/var/www/html/lib/private/Files/View.php","line":704,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["unlink","/Images/2024/03/IMG_7191.mov",["delete"]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":543,"function":"unlink","class":"OC\\Files\\View","type":"->","args":["/Images/2024/03/IMG_7191.mov"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":197,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":281,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->","args":["files/Alix ANNERAUD/Images/2024/03/IMG_7191.mov"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","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:DELETE",[["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":374,"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/files/lib/Listener/SyncLivePhotosListener.php","Line":195,"message":"delete process aborted","exception":[],"CustomMessage":"delete process aborted"},"id":"6661e33302ce7"}

@squid-f
Copy link

squid-f commented Jun 29, 2024

Hi. Just updated to 29.0.3 and the error persists.

To be more precise: I get an error when I delete from my local machine and, I cannot even delete it on the server, connected via a browser!

@squid-f
Copy link

squid-f commented Jul 19, 2024

Hi. I just added some more info there nextcloud/desktop#6330 (comment) , but I am not sure it was the right place, reading this bug. I add here as well, to play safe and sorry if it was not necessary.

Nextcloud Server version
29.0.3.4

Operating system
Server on Linux x86_64 Mageia 9

PHP engine version

PHP 8.2.21 (cli) (built: Jul  3 2024 09:30:36) (ZTS)
Copyright (c) The PHP Group
Zend Engine v4.2.21, Copyright (c) Zend Technologies
with Zend OPcache v8.2.21, Copyright (c), by Zend Technologies

Web server
nginx version: nginx/1.24.0

Database engine version
mariadb Ver 15.1 Distrib 10.11.8-MariaDB, for Linux (x86_64) using readline 5.1

Server Log
nextcloud delete error log.csv

@joshtrichards joshtrichards added the needs review Needs review to determine if still applicable label Sep 5, 2024
@susnux susnux added 1. to develop Accepted and waiting to be taken care of 29-feedback and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap 28-feedback labels Sep 5, 2024
@joshtrichards joshtrichards removed the needs review Needs review to determine if still applicable label Sep 5, 2024
@AndyXheli
Copy link
Author

AndyXheli commented Oct 9, 2024

Getting this error on Nextcloud 30 also

{"reqId":"u8uyXZTcSSEjhIRoP9Ez","level":2,"time":"2024-10-09T16:22:18+00:00","remoteAddr":"1.1.1.1","user":"admn","app":"no app in context","method":"DELETE","url":"/remote.php/dav/files/axheli/Photos/2022/22-12-23%2023-20-44%202-23.mov","message":"delete process aborted","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36","version":"30.0.0.14","exception":{"Exception":"OCP\\Exceptions\\AbortedEventException","Message":"Cannot delete the video part of a live photo","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/files/lib/Listener/SyncLivePhotosListener.php","line":73,"function":"handleDeletion","class":"OCA\\Files\\Listener\\SyncLivePhotosListener","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":68,"function":"handle","class":"OCA\\Files\\Listener\\SyncLivePhotosListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"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":112,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Hook.php","line":82,"function":"delete","class":"OC\\Files\\Node\\HookConnector","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1247,"function":"emit","class":"OC_Hook","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1119,"function":"runHooks","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":666,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":501,"function":"unlink","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":197,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":281,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","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/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":370,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":19,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":146,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/files/lib/Listener/SyncLivePhotosListener.php","Line":179,"message":"delete process aborted","exception":[],"CustomMessage":"delete process aborted"},"id":"6706adc17ce76"}

File has been marked as deleted but still shows under interface and clients

Image

if i hit delete getting the same error as before the delete

Image

@kesselb
Copy link
Contributor

kesselb commented Nov 14, 2024

@AndyXheli still happening?

@PechenTreski
Copy link

@AndyXheli still happening?

i will answer for him, sorry. Yes, still there is an error "AbortedEventException Cannot delete the video part of a live photo
delete process aborted"

@AndyXheli
Copy link
Author

Thanks! Sorry, I'm no longer using the Nextcloud project have moved to OneDrive. Thanks All!

@PechenTreski
Copy link

Thanks! Sorry, I'm no longer using the Nextcloud project have moved to OneDrive. Thanks All!

this is what happens when one can not simply delete a video file :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants