nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.27k stars 1.77k forks source link

Sync hangs on large folders #3812

Closed marco-polo-github closed 5 years ago

marco-polo-github commented 5 years ago

Actual behaviour

Syncing of a large folder with a lot of sub folders does not finish. The files in the subfolder structure at the phone are not updated, I need to referesh that manually on my nextcloud app then, it starts to download the files, but not before. Also the app hangs after starting the sync, and android asks me to wait / close the app.

Expected behaviour

The content should be updated on the device if I press sync in the android app. In my opinion, there should be a current status from the app and the notification should be updated for an ongoing process. Folder and file structure should be checked on every sync. IMHO the sync only in direction to the android app should not stop because of upload problems (e.g. upload to the server does not work because of insufficient rights).

Steps to reproduce

  1. add files to the nextcloud server with e.g. PC
  2. sync the folder on the android app

Environment data

Android version: 9 Kernel: 4.9.59-15540155

Device model: Samsung Galaxy S9+ SM-G965F

but I have the same issue on a: Sony Z1 compact with AOIP Android 8.1 Sony Z3 With Lineage OS Android 9 Samsung Note3 LineageOS 14.1

Stock or customized system: both

Nextcloud app version: 3.5.1 Nextcloud server version: 15.0.5 but the error was also in version 14.x.x

Logs

Web server error log

Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

nextcloud-android-bot commented 5 years ago

GitMate.io thinks possibly related issues are https://github.com/nextcloud/android/issues/285 ([TOP] Enhance sync folders), https://github.com/nextcloud/android/issues/668 (Folder sync), https://github.com/nextcloud/android/issues/2559 (Missbehaviour on syncing big folders), https://github.com/nextcloud/android/issues/3760 ([F] sync photo folder), and https://github.com/nextcloud/android/issues/791 (Improvement: arbitrary synced folders).

stale[bot] commented 5 years ago

This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!