Skip to content

Android: Note stuck in synchronization loop after editing until note is deleted from server #3442

Open

Description

@rabab81

This issue respects the following points:

Describe the bug

Environment:

  • Nextcloud Notes Android app
  • Nextcloud server:35.0.3
  • Android: 12
  • Notes app version: 35.0.0

Issue:

Sometimes after editing a note on the Android app, the note fails to synchronize correctly.

The application then appears to enter an endless synchronization loop. The note remains unsynchronized and the issue persists even after:

  • forcing synchronization
  • restarting the application
  • rebooting the phone

The only workaround I found is:

  1. Open Notes from the web interface or desktop.
  2. Delete the problematic note.
  3. The Android app starts synchronizing normally again.
  4. The deleted note unexpectedly reappears on the server, apparently pushed back from the mobile application.

Expected behavior:

  • The note should synchronize normally after editing.
  • A synchronization conflict should be detected and handled gracefully if necessary.
  • The application should not enter an endless sync loop.

Actual behavior:

  • One note becomes stuck.
  • Synchronization keeps failing repeatedly.
  • Restarting the device does not solve the issue.
  • Deleting the note on the server temporarily restores synchronization.
  • The deleted note is recreated from the mobile client during the next synchronization.

Additional information:

I am attaching the error log generated by the mobile application.

Expected behavior

Notes Android version

35.0.0

Notes server version

6.1.0

Nextcloud Android version

35.0.2

Nextcloud version

35.0.3

Device

redmi note 10

Android Version

12

App Store

  • Google Play Store
  • F-Droid
  • Huawei App Gallery

Stacktrace

App Version: 35.0.0
App Version Code: 350000090
App Flavor: play

Files App Version Code: 350000290 (PROD)


OS Version: 4.14.186-perf-g0d9078479a02(V13.0.3.0.SKSEUXM)
OS API Level: 31
Device: camellian
Manufacturer: Xiaomi
Model (and Product): M2103K19G (camellian_eea)


java.lang.Exception: {"errorType":"Exception"}
[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:1179), android.os.Binder.execTransact(Binder.java:1143)]
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:1571)

Activity

  1. Nick-Tallguy commented on Nov 15, 2026

    @Nick-Tallguy

    I'm suffering the same or a similar problem. I haven't tried deleting the note yet, but will try that. Please see Update comment below Stack trace:

    App Version: 35.0.0
    App Version Code: 350000090
    App Flavor: play
    
    Files App Version Code: 350010052 (PROD)
    
    ---
    
    OS Version: 6.1.172-android14-11-g8d0115b07367-ab16385437(16581829)
    OS API Level: 37
    Device: stallion
    Manufacturer: Google
    Model (and Product): Pixel 10a (stallion)
    
    ---
    
    java.lang.Exception: {"errorType":"Exception"}
    [com.nextcloud.android.sso.InputStreamBinder.processRequestV2(InputStreamBinder.java:450), com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestAndBodyStreamV2(InputStreamBinder.java:114), com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestV2(InputStreamBinder.java:97), com.nextcloud.android.sso.aidl.IInputStreamService$Stub.onTransact(IInputStreamService.java:112), android.os.Binder.execTransactInternal(Binder.java:1342), android.os.Binder.execTransact(Binder.java:1301)]
    	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:1571)
    
    

    UPDATE - solution for me
    In my case, the solution was to unlock the note. On laptop using web-browser login to nextcloud, need to view the note in the file manager, not the 'notes'. I could see the note was locked, so unlocked it, and the note promptly synchronized.

  2. Nick-Tallguy commented on Nov 15, 2026

    @Nick-Tallguy

    @rabab81 if it happens again could you try unlocking the file?

  3. Nick-Tallguy commented on Nov 15, 2026

    @Nick-Tallguy

    Maybe #3420 refers & #3387

  4. alperozturk96 commented on Nov 20, 2026

    @alperozturk96
    Collaborator

    Hello,

    I improved the syncing via this PR: #3401. Could you please download the latest QA APK and share your feedback?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions