nextcloud / nextcloud/notes-ios

Note from iOS App gets duplicated till infinity and spams the server

Open
#75 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
73
Forks
22
PR merge metrics
No merged PRs in 30d

Description

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. Connect iOS App to nextcloud Hosting
  2. Create Note and add some Text
  3. Open Notes app in web browser
Expected behaviour

There should be only one note with the title I created.

Actual behaviour

Nextcloud Notes seemingly can't sync properly and creates the same notes over and over again, with the number in the filename. Like this
Somenote (721).md

Currently there's 721 Versions of the same note. It seems like it's three different versions of the same note (each from a different stage of completing the note), created over and over again.
Image

Error Log

There is an error in the log with probably the root of the problem:
`NotPermittedException Could not create path "/admin/files/Notizen/Somenote (719).md"
Controller failed with OCP\Files\NotPermittedException

Maybe it's a misconfiguration on the server side? Still, I'd expect the App to fire an error instead of creating a bazillion files.

Server configuration

Web server, Database, PHP: cant tell, it's on a hosted server

Nextcloud version: Nextcloud Hub 9 (30.0.1)

Browser

Browser name: Firefox

Browser version: 132.0.2

Operating system: iOS just updated to 18, it was probably iOS 17

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 with the listed reproduction steps and the NotPermittedException in the error log, then trace the iOS note-sync path responsible for creating files. No source file or test is named in the issue. Done means reproducing the failure and preventing repeated duplicate notes while handling the server error visibly.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.