Skip to content

Override of pictures after auto-upload due to wrong name convention/numbering. Causes data loss. #3850

@Xarrax0815

Description

@Xarrax0815

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Getting 2 or more picture in Threema at the same time
  2. Threema is enabled to saves the picture into the iOS Photos section
  3. Nextcloud autoupload is activates and tries to upload the picture to the next cloud server

This issue may relate to this one: #2531

Expected behaviour

The name of the picture should get a unique number to avoid the override of the picture.

Actual behaviour

The name looks like this "2025-11-01 07-24-46 ema_.jpeg " without numbering. This results that the 1st file will be uploaded and the second file gets locked "WebDAV Locked: Trying to access locked resource". After retry the 1st upload is not more blocked and the 1st file will be overridden by the 2nd.

Image

Logs

If applicable, you can post the iOS app or server logs (removing any sensitive information).

Reasoning or why should it be changed/implemented?

User expects that all photos are stored on the nextcloud server and deletes the picture on the phone with the "auto delete" option after successful upload. Finally it result in data loss.

Environment data

iOS version: 18.7.1

Nextcloud iOS app version: 7.1.7.2

Server operating system: Docker,Linux

Web server: Apache, nginx

Database:: mysql

PHP version:

Nextcloud version: 32.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions