[Bug]: Live Photo downgraded to normal photo when moving from Personal Files to Group Folder (MOV auto-deleted)
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
When moving an iOS Live Photo (HEIC + MOV) from Personal Files to a Group Folder, the photo is downgraded to a normal photo.
Only the HEIC file is moved, while the corresponding MOV file is automatically deleted, causing the Live Photo to break.
This issue does not occur when:
- Moving Live Photos within Personal Files
- Moving Live Photos within Group Folders
In those cases, both HEIC and MOV files are preserved and the photo remains a Live Photo.
Steps to reproduce
- Upload an iOS Live Photo (HEIC + MOV) to Personal Files with ios client
- Verify it is correctly recognized as a Live Photo
- Move the photo to a Group Folder
- Check the files in the destination folder
Expected behavior
- Both HEIC and MOV files should be moved together
- The photo should remain a Live Photo and mov file should be hidden
- No file should be deleted automatically
Nextcloud Server version
32
Operating system
Debian/Ubuntu
PHP engine version
None
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 31 to 32)
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
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
AbortedEventException
"/jpsn/files/IMG_6832.mov" is locked, existing lock on file: exclusive
delete process aborted
Additional info
Storage setup (possibly related, not yet verified)
The Nextcloud data directory is located under /data.
/datais mounted on Block Device A and used as the primary storage/data/__groupfoldersis mounted on Block Device B and used as separate storage for Group Folders
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the move from Personal Files to Group Folders, focusing on the AbortedEventException and the exclusive lock reported for the MOV file. Compare this path with moves within each storage type and verify the behavior with an iOS Live Photo; done means the HEIC and MOV files move together without automatic deletion and the Live Photo remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100