notes-android icon indicating copy to clipboard operation
notes-android copied to clipboard

Does not sync

Open twiebke opened this issue 7 months ago • 3 comments

This issue respects the following points:

Describe the bug

I get errors by syncing.

App Version: 4.3.1
App Version Code: 40030190
App Flavor: fdroid

Files App Version Code: 30310490 (PROD)

---

OS Version: 4.9.337-perf+(gms-691ff58c)
OS API Level: 33
Device: FP3
Manufacturer: Fairphone
Model (and Product): FP3 (FP3)

---

java.lang.Exception: {"errorType":"RuntimeException"}

	at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:151)
	at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:100)
	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)


java.lang.Exception: {"errorType":"RuntimeException"}

	at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:151)
	at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:100)
	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)

Expected behavior

No response

Notes Android version

4.3.1

Notes server version

4.12.0

Nextcloud Android version

4.3.1

Nextcloud version

30

Device

Fairphone

Android Version

14

App Store

  • [ ] Google Play Store
  • [x] F-Droid
  • [ ] Huawei App Gallery

Stacktrace

No response

twiebke avatar Jun 12 '25 15:06 twiebke

I think nextcloud notes is not verry reliable on syncing. I sometimes get an error about syncing then invoke it manually and it works. I assume that could also be the cause for situation where a sync not hapend for several days. That let's the question, why does it not auto try it agin and keep quiet if the second try worked?

Mannshoch avatar Jun 22 '25 09:06 Mannshoch

I also have this problem. Updated server to 31.0.7 Reverted to main stream (instead of dev version of) nc client for android No improvement Keeps saying: Synchronisation failed. (longer trace is available on request)


App Version: 4.3.1
App Version Code: 40030190
App Flavor: fdroid

Files App Version Code: 30320090 (PROD)

---

OS Version: 5.10.209-android12-9-o-g65c8abc6cb32(S.1dbb1b5-6fe1_1)
OS API Level: 35
Device: OP516FL1
Manufacturer: OnePlus
Model (and Product): NE2213 (NE2213EEA)

---

java.lang.Exception: com.nextcloud.android.sso.exceptions.TokenMismatchException: Provided authentication token does not match or package name is not permitted to perform this action
    at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:180)
    at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:100)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:524)
    at java.util.concurrent.FutureTask.run(FutureTask.java:317)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
    at java.lang.Thread.run(Thread.java:1119)


java.lang.Exception: com.nextcloud.android.sso.exceptions.TokenMismatchException: Provided authentication token does not match or package name is not permitted to perform this action
    at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:151)
    at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:100)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:524)
    at java.util.concurrent.FutureTask.run(FutureTask.java:317)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
....
....

balvie avatar Jul 14 '25 06:07 balvie

Exactly the same problem, Token mismatch error, no sync at all.

NC 31.0.7

appzer0 avatar Jul 15 '25 16:07 appzer0