nextcloud / nextcloud/notes-ios
Note from iOS App gets duplicated till infinity and spams the server
Nobody has claimed this yet.
- 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
- Connect iOS App to nextcloud Hosting
- Create Note and add some Text
- 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.
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
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 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