-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Comments
Likely similar to #42170 & #42154 |
This comment has been minimized.
This comment has been minimized.
Yes, that's why the Issue is still open. :) |
This comment was marked as duplicate.
This comment was marked as duplicate.
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:
|
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"} |
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! |
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 Operating system PHP engine version
Web server Database engine version Server Log |
Getting this error on Nextcloud 30 also
File has been marked as deleted but still shows under interface and clients if i hit delete getting the same error as before the delete |
@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 |
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 :) |
Bug description
Noticed when selecting the .jpg and .mov files and deleting them throws an error below.
Steps to reproduce
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?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
Additional info
Also Getting File Locks when this happens bother errors come up same time
The text was updated successfully, but these errors were encountered: