Sychronisation did not work

Open
#3,287 14 comments 5 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
android, java
Domain
mobile

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.

Description

0. Needs triage bug
This issue respects the following points:
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_
Dominant language
Java
Stars
1.1k
Forks
178
Avg merge
10h 48m
Merged PRs (30d)
41

Getting set up

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.

More from nextcloud/notes-android

All issues in nextcloud/notes-android

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.