-
Notifications
You must be signed in to change notification settings - Fork 772
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
Subfolders of moved folders not synced #1000
Comments
I can confirm that on Linux, script to create a test folder structure can be found here: https://gist.github.com/packi/1361912055bd03490bbb6a8906d9800e I've initially created a bug for that on the owncloud client repos with more details as I didn't realize there was a separate repos for Nextcloud. owncloud/client#6949 |
Same here with linux client 2.5.1 ans server 15.0.4 ... |
Same here, have the same issue. Main folder syncs, but subfolder did not. |
Same problem here: Client
Server
Using PPA: Packages version:
Log shows that _csync_detect_update only detects first level:
|
workaround: quit and restart the desktop client. Tested with the |
I have read about that "workdaround" before and also tested and yes, it works, however restarting the client every time we add a few folders to nextcloud does not seem viable on a daily work basis |
@hkiang01, thanks! Confirmed on Windows. This makes the bug a lot less lethal as you can hope that sooner or later the files will end up on the server. |
Possible duplicate #1083? |
I can not reproduce this. All files from file structure #1000 (comment) are synchronized. Client
Server
|
Same problem here on MacOS. I was trying to migrate files from Dropbox and noticed that any time I dragged a folder with lots of subfolders over, none of the subfolders had any contents synced. Confirmed that quitting and re-launching the desktop client causes a complete sync. |
I can confirm this happening to me on Windows 10 with Nextcloud sync client 2.5.1final (build 20181204). Let's just say it made me quite vary of using Nextcloud to begin with. |
Confirming the same issue, 2.5.1final (build 20181204) on macOS 10.13.6. |
Confirming the inability of the client to sync all subfolders and files: Ubuntu 18.10, Version 2.5.1final (build 20181204). This is really a killerbug. Hopefully this will be fixed soon. We are trying to introduce Nextcloud to students of our school, but this is makes nextcloud a real no go. It is indeed a showstopper, and shouldn't really be so difficult to fix. There are two additional workarounds (in addition to restarting the desktop client). One is to add a file to the empty directory on the lowest level. E.g., if you do mkdir -p dir1/dir2/dir3/dir3 on the nextcloud client root directory, dir3 and dir4 will not be synced to the server, leaving dir2 without a subdirectory. If you do touch dir1/dir2/dir3/dir4/somefile, then all dirs will be synced, and somefile will exist on the server. The second workaround is to use the command line client and do This does a complete re-sync. I hope this helps anyone who suffers under the deficiencies of the desktop client. |
I just upgraded to the linux-client 2.5.2, still the same issue. I can not believe it. The server ist such an excellent piece of software, but the client really can not be trusted. That is a real showstopper - why does the owncloud client work as expected? |
Spent a full day looking on Windows 10 machine what I made wrong (because I did not see expected files on the Server) and finally found this issue. |
Also have this issue (with Linux desktops/laptops). Can occur when copying directories as well as moving. Unfortunately Nextcloud is not fit for enterprise or business without a working and robust client. It makes me extremely nervous about the prospect of losing critical data. |
I just got bit by this bug, too.
A whole .git repo and its subdirectories, along with the contents of a lot of subdirectories of other files, all missing from server. Upon restarting the desktop client, the files synced to server (phew!). This is really heartbreaking after spending a whole weekend creating this server and getting everything to work. How can I use Nextcloud to sync my source code if my projects all have subdirectories (and git repos!). Edit: I triggered the bug by just moving a large nested directory structure from one location to ~/Nextcloud/ . Creating or touching individual files in nested subdirectories seems to sync just fine. It's just large file copies/moves that escape Nextcloud's gaze:
|
I really hope someone who codes for the desktop client reads this and will improve it. Nextcloud has some nice features on the Server - but when it comes to syncing with desktop client it seems to have real issues. |
I cannot believe such a HUGE MAJOR bug exists with this software and not get fixed (or even noticed?) for such a long time till today. I am regretting the efforts I spent trying to set up my personal cloud with nextcloud. This should not be anything from a commercial company. Just hard to believe. |
Worked with Nextcloud now for 2 weeks after some years of Seafile. |
I can reproduce this. And yes, restarting the client finds and syncs the files, so I don't think this leads to data loss - you just might not have files synced as quickly as you'd expected in the rare case that you move a complex and deep set of folders into a synced folder. Bad enough and the problem should be found and fixed, but not a disaster, I think. You don't do this action often, most users do restart their computers once a week if not more often, and you rarely need all those files available everywhere right away. |
This might be true on Windows, but I have hard enough time getting linux users to reboot for kernel security updates - uptimes over 90 days are quite typical. It's not a safe assumption for a design guideline. |
In my case it's with moved folders. Only the first level is synced, but subfolders are not. Tell me if I can be of any help. |
Have same problem with moved/renamed folders, Win7 / Synch client 2.6.0 build 20190927. Edit : |
This is still an issue as of today with everything up to date. |
As per my post above (2019/03/23), I tried |
Hi wpoet, I tested the following: mkdir -p dir1/dir2/dir3/dir4 Everything is synced properly ... |
Still the same problem with the latest macOS client :( Why is this issue closed??? |
Could you share your logs after running the client with --logdebug? Including syncing logs and the db files in your Nextcloud configuration folder? Which folder/file is not synced? If anyone else is having this issue please do the same. |
Please check out this bug report and the video. You can also download my testfiles and try it by yourself. Please let me know if you have the same behavior.
#2176
Am Dienstag, 28. Juli 2020 um 16:39 schrieb Camila:
…
> Still the same problem with the latest macOS client :( Why is this issue closed???
Could you share you
r logs after running the client with --logdebug? Including syncing logs and the db files in your Nextcloud configuration folder? Which folder/file is not synced?
If anyone else is having this issue please do the same.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (#1000 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AQFQQNTQUBXJBTIAGO5AT5DR53PJZANCNFSM4GOKBI4A).
|
Also having this issue on a linux distri with 2.6.5 |
Since according to the comments, this has not really been fixed, I'll reopen this issue. |
Same problem here with desktop 3.4.1 (without VFS) and nc 23.0.0 |
I can not reproduce this issue (Client 3.4.1 - NC 22.2.3): Copy / pasted folder 1 to a nextcloud share within windows explorer - all good, no logentries ... |
@abysso2 Yes, wich NC22 it was all good, but with NC_23 it isn't anymore |
I can confirm this error with NC23.0.0 and the sync-Client 3.4.1 (Windows) under windowws-10.0.19044 |
Can confirm - NC23.0.0 and Windows client 3.4.1 |
This bug report 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! |
This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you! |
Adding the approved label, so the bot doesn't close this over and over. |
Expected behaviour
When on your local Windows system, you move a folder into your Nextcloud folder within the same NTFS partition (did't test other file systems), the Nextcloud client should recursively synchronize all directory depths, i.e. all files and folders in all nested subfolders.
Actual behaviour
Moved folders are only synchronized up to the first level.
This is the directory
test
as copied into the Nextcloud folder:This is the directory structure as copied by the Nextcloud client to the server:
Steps to reproduce
test
with at least one subfolderlevel1
outside your Nextcloud folder hierarchy, but on the same partition as your Nextcloud folder.level1
.test
into your Nextcloud folder (Windows defaultC:\Users\username\Nextcloud
).test
on the server; confirm that the subfolderlevel1
is empty on the server.Client configuration
2.5.1final (build 20181204)
Operating system:
Windows 7 SP 1 (6.1)
File system:
NTFS
Installation path of client:
c:\Program Files (x86)\Nextcloud\
Server configuration
13.0.8.2
Logs
https://gist.github.com/eboth/49d061cd66724e3e9dc699cfc4d1591f
While the log file was captured, the folder
test_copied
(with two levels of subdirectories as shown in the directory listing above) was copied to the Nextcloud folder, and the foltertest_moved
(same contents) was moved to the Nextcloud folder. The log seems to show that in the copied folder, all nodes were recognized correctly, while in the moved folder, the Nextcloud client never became aware of the nodes belowlevel1
.The text was updated successfully, but these errors were encountered: