nextcloud / notes-android

✎ Android client for Nextcloud Notes app.
https://play.google.com/store/apps/details?id=it.niedermann.owncloud.notes
GNU General Public License v3.0
905 stars 132 forks source link

Synchronization does not work #1775

Open chriscacao opened 1 year ago

chriscacao commented 1 year ago

Unfortunately, the synchronization does not work properly anymore. Error message:

App Version: 4.0.0
App Version Code: 40000090
App Flavor: play

Files App Version Code: 30240290

---

OS Version: 5.10.136-android12-9-26203352-abS908BXXU4CWCG(S908BXXU4CWCG)
OS API Level: 33
Device: b0s
Manufacturer: samsung
Model (and Product): SM-S908B (b0sxeea)

---

java.lang.Exception: {"errorType":"OCP\\Lock\\LockedException"}

    at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:174)
    at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:94)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
    at java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
    at java.lang.Thread.run(Thread.java:1012)
stefan-niedermann commented 1 year ago

This issue is not cause by the Notes Android app, but by the Notes server app.

Please reopen your issue in the repository of the Notes server app and check your server logs. They should contain more information about which notes causes the issue.

chriscacao commented 1 year ago

I deinstalled the Server App and installed it new. Now it works.

Thank you!

Niedermann IT-Dienstleistungen @.***> schrieb am Do.,

  1. Apr. 2023, 18:46:

Closed #1775 https://github.com/nextcloud/notes-android/issues/1775 as completed.

— Reply to this email directly, view it on GitHub https://github.com/nextcloud/notes-android/issues/1775#event-9059534154, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOEKXNPE4ZDA6JKSNIIPT33XCFSADANCNFSM6AAAAAAXFXXKSI . You are receiving this because you authored the thread.Message ID: @.***>

Valdnet commented 8 months ago

@stefan-niedermann A similar issue occurred when switching a note from simple view to "Rich mode" and then switching back to simple view.

The file has been locked by the Files app.

Steps:

  1. Create a note.
  2. Edit the note.
  3. Create content.
  4. Switch to "Rich View".
  5. Switch to "Simple View".
  6. Close the note.

The application cannot synchronize files with the error as in the above post.

Apps: Notes Nextcloud Android v4.1.0 Notes Nextcloud v4.7.2 Nextcloud v27.1.3