-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested folder download not working when folders not loaded before #12358
Comments
Unfortunately I can confirm this issue for me. My issueI want to automatically sync certain folders including subfolders and all files within from my server to my android client. Only files directly included in this folder will appear on my android device. If I browse manually to a certain subfolder oder subsubfolder within the app it gets downloaded after retriggering the synchronization on one of the parent folders. If I sync those folders to my windows PC, all child files and folders are synced just as expected. My setupServerI’m running my own nextcloud AIO server in version 28.0.2 on a linux server. The example is from a mounted external storage folder, but I have exactly the same issues with normal folders. I’ve run a occ scan, cleanup and repair-tree in order to be sure that this is not the reason. ClientOn my android device (DN2103 OnePlus ,Android 13) i run the offical play store client in the current version 3.28.0. I also have reinstalled the client recently in order to be sure that my issues are not any legacy issues. Other clients: I've also seen the same issue with a Pixel 7 also connecting to my server. Android logsThis shows my logs (via adb’s logcat) while i initiated a new sync on the folder /BOOKS/EBOOKS
skipped hundreds of similar lines …
Note: I’m not sure if I have cut the log files correctly as I have difficulities understanding them properly. Server logsNone while syncing. |
Duplicate of #269 |
Steps to reproduce
Expected behaviour
All files, including the files in the subfolder are synced
Actual behaviour
Only the files inside the parent folder that's being synced are downloaded. Files inside the subfolders are not.
Record_2024-01-12-10-06-51.mp4
Android version
12
Device brand and model
OnePlus Nord 2
Stock or custom OS?
Stock
Nextcloud android app version
current master (switch to worker)
Nextcloud server version
27.1.3.2
Using a reverse proxy?
I don't know
Android logs
No response
Server error logs
No response
Additional information
It seems like when a folder was never opened before (folder "not loaded") the folder sync will start for every file inside that folder a new worker which breaks the folder sync logic (eg. canceling).
getAllFilesRecursively() not returns all files if device not have those folders from cloud db. Check for files before download.
The text was updated successfully, but these errors were encountered: