Does not sync
This issue respects the following points:
- [x] I have read the FAQ
- [x] I have searched for existing issues
- [x] The issue affects the Notes Android app, neither the Notes server app nor the Nextcloud Android app.
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
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?
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)
....
....
Exactly the same problem, Token mismatch error, no sync at all.
NC 31.0.7