android icon indicating copy to clipboard operation
android copied to clipboard

Two-way sync does not synchronize files in subfolders; only main folder files are synced

Open dmorigin opened this issue 3 months ago • 2 comments

⚠️ Before posting ⚠️

  • [x] This is a bug, not a question or an enhancement.
  • [x] I've searched for similar issues and didn't find a duplicate.
  • [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • [x] I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

Delete all Caches/Data for Nextcloud Android App Deinstall Nextcloud Android App Reinstall from Google Play Store Connect App over App Passwrod on Self Hosted Nextcloud Server [Inside App] Activate 2-way Sync over Menu -> Settings -> Internal 2-way Sync [Inside App] On File Overview: Selected one Folder (With Sub Folders) -> Open Details -> Select Syncronisation [Inside App] On File Overview: Mark Same Folder and start first syncronisation bei opening the 3-Points Menu and pressing "Synchronisieren" (using de version)

Expected behaviour

The hole folder including all of the sub folders and files has to be synchronized. There are only mp3 and m3u files in there. The main folder has a total size of 2.7GB.

Actual behaviour

Only the *.m3u files are synchronized, directly under the main folder. But none of the underlying folder, which containing all of the *.mp3 files.

Android version

16 ( Build: BP2A.250605.031.A5 )

Device brand and model

Google Pixel 6

Stock or custom OS?

Stock

Nextcloud android app version

3.32.3

Nextcloud server version

31.0.7

Using a reverse proxy?

No

Android logs

No response

Server error logs

[remote-ip] - [myuser] [05/Sep/2025:15:05:48 +0200] "PROPFIND /remote.php/dav/files/[myuser]/Music/ HTTP/1.1" 207 1326 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.32.3"
[remote-ip] - [myuser] [05/Sep/2025:15:05:48 +0200] "PROPFIND /remote.php/dav/files/[myuser]/Music/Crosing.m3u HTTP/1.1" 207 1408 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.32.3"
[remote-ip] - [myuser] [05/Sep/2025:15:05:48 +0200] "PROPFIND /remote.php/dav/files/[myuser]/Music/Dreaming.m3u HTTP/1.1" 207 1400 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.32.3"
[remote-ip] - [myuser] [05/Sep/2025:15:05:48 +0200] "PROPFIND /remote.php/dav/files/[myuser]/Music/Rausch.m3u HTTP/1.1" 207 1407 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.32.3"
[remote-ip] - [myuser] [05/Sep/2025:15:05:48 +0200] "PROPFIND /remote.php/dav/files/[myuser]/Music/Schleichfahrt.m3u HTTP/1.1" 207 1421 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.32.3"
[remote-ip] - [myuser] [05/Sep/2025:15:05:48 +0200] "PROPFIND /remote.php/dav/files/[myuser]/Music/ HTTP/1.1" 207 13028 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.32.3"

Additional information

No response

dmorigin avatar Sep 05 '25 13:09 dmorigin

Can confirm. 3.34.0.

lensaffair avatar Sep 27 '25 19:09 lensaffair

can still confirm for 3.34.1 on android (google pixel). I have a folder which contains just sub-folders. Files are in those sub-folders.

structure like this: folder folder/subfolder1 folder/subfolder2

when I manually trigger sync on "folder" NOTHING happens. Not even the subfolders are created on my android device. I end up with just the "folder" when I manually trigger sync on any of the "subfolders" it actually starts to sync all the files in that subfolder.

so I think its an issue with recursion.

fajabird avatar Dec 03 '25 11:12 fajabird