nextcloud / nextcloud/server

[Bug]: Live Photo downgraded to normal photo when moving from Personal Files to Group Folder (MOV auto-deleted)

Open
#57,562 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 32-feedback bug feature: live photos
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
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
  1. Upload an iOS Live Photo (HEIC + MOV) to Personal Files with ios client
  2. Verify it is correctly recognized as a Live Photo
  3. Move the photo to a Group Folder
  4. 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.

  • /data is mounted on Block Device A and used as the primary storage
  • /data/__groupfolders is mounted on Block Device B and used as separate storage for Group Folders

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.