Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Nextcloud file sync

  • /e/ version: All
  • Device model:Xperia XA2
  • When it started to occur:
  • Reproducible with the last /e/ version:
  • Reproducible with LineageOS:

Summary

Random crash when you try to Sync a Nextcloud directory on your SD Card At what time or another the app will stop working and suddenly freeze or crash. I've tryed with all the recent versions of nextcloud app, but I never succeeded to sync any full directory mon my personnal nextcloud server.
  • The device is unusable
  • The bug is the source of a data loss or a big waste of time
  • The bug concerns a third party app
  • The bug concerns security
  • The bug concerns privacy

The problem

Steps to reproduce Just select any directory (like Photo or Documents from your Nextcloud server and choose 'sync' on the Nextcloud android App.

What is the current behavior? Crash or Freeze

What is the expected correct behavior? Should sync the selected folder

Technical informations

Relevant logs (adb logcat)

************ CAUSE OF ERROR ************

java.lang.IllegalStateException: Not allowed to start service Intent { act=SYNC_FOLDER cmp=com.nextcloud.client/com.owncloud.android.services.OperationsService (has extras) }: app is in background uid UidRecord{c0073c5 u0a139 CAC bg:+13m33s805ms idle change:cached procs:1 seq(0,0,0)} at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1521) at android.app.ContextImpl.startService(ContextImpl.java:1477) at android.content.ContextWrapper.startService(ContextWrapper.java:650) at com.owncloud.android.operations.SynchronizeFolderOperation.startSyncFolderOperation(SynchronizeFolderOperation.java:497) at com.owncloud.android.operations.SynchronizeFolderOperation.prepareOpsFromLocalKnowledge(SynchronizeFolderOperation.java:373) at com.owncloud.android.operations.SynchronizeFolderOperation.run(SynchronizeFolderOperation.java:142) at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:181) at com.owncloud.android.operations.common.SyncOperation.execute(SyncOperation.java:87) at com.owncloud.android.services.SyncFolderHandler.doOperation(SyncFolderHandler.java:119) at com.owncloud.android.services.SyncFolderHandler.handleMessage(SyncFolderHandler.java:88) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:164) at android.os.HandlerThread.run(HandlerThread.java:65)

************ APP INFORMATION ************ ID: com.nextcloud.client Version: 30110090 Build flavor: generic

************ DEVICE INFORMATION ************ Brand: Sony Device: H3113 Model: H3113 Id: OPM7.181205.001 Product: H3113

************ FIRMWARE ************ SDK: 27 Release: 8.1.0 Incremental: a4b3fec0c0

Relevant screenshots

Solutions

Workaround

Possible fixes

Edited by Anton Bialecki