nextcloud / nextcloud/notes-android
Sychronisation did not work
Open
Nobody has claimed this yet.
0. Needs triage
bug
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 168
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 31
Description
This issue respects the following points:
- I have read the FAQ
- I have searched for existing issues
- The issue affects the Notes Android app, neither the Notes server app nor the Nextcloud Android app.
Describe the bug
Wenn i add a new note on the phone the note is often not synchronised to the Server.
I get the following Text aus error detail:
App Version: 34.0.0
App Version Code: 340000090
App Flavor: fdroid
Files App Version Code: 340010090 (PROD)
---
OS Version: 6.1.157-android14-11(S731BXXU6BZDP)
OS API Level: 36
Device: r13s
Manufacturer: samsung
Model (and Product): SM-S731B (r13sxeea)
---
java.lang.Exception: {"errorType":"OCP\\Lock\\ManuallyLockedException"}
[com.nextcloud.android.sso.InputStreamBinder.processRequestV2(InputStreamBinder.java:440), com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestAndBodyStreamV2(InputStreamBinder.java:113), com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestV2(InputStreamBinder.java:96), com.nextcloud.android.sso.aidl.IInputStreamService$Stub.onTransact(IInputStreamService.java:112), android.os.Binder.execTransactInternal(Binder.java:1509), android.os.Binder.execTransact(Binder.java:1454)]
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:150)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:99)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:520)
at java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1100)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:1572)
```e
### Expected behavior
_No response_
### Notes Android version
34
### Notes server version
6.0.1
### Nextcloud Android version
34.1.0
### Nextcloud version
34.0.2
### Device
Samsung Gakaxy S25 FE
### Android Version
16
### App Store
- [ ] Google Play Store
- [x] F-Droid
- [ ] Huawei App Gallery
### Stacktrace
_No response_
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 in NotesServerSyncTask.java at pushLocalChanges (line 150), then follow its caller at run (line 99). Reproduce synchronization with the reported app and server versions while checking the ManuallyLockedException details. Done means newly created phone notes synchronize reliably to the server without this failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100