You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
2.3.0-nightly (6239): Large folders automatically marked for deletion #5053
Large folders that are already both on my local disk and server should not behave in any special way.
Actual behaviour
After upgrading from 6228 to 6239 to check if maybe a newer version would fix my other current issue (#5039), I immediately noticed a change: ownCloud marks some "large" (as set in the options dialog) folders in red and tells me that they will not be synced. The checkbox next to those folders is not checked and a prompt appears that if I hit "apply", these folders will be deleted from my local disk and not be synced anymore. There seems to be no reason for this new behaviour, as the folders both exist locally and on the server, and they are already in sync.
For the time being, I switched back to 2.2.2 stable to prevent any possible data loss.
It's not only that folder, but also many other folders which exceed the total size for "large" folders (set to 500 MB in my config), but all in all just contain many small files (like images and documents which may be partially on the exclude list). The folder in #5039 mostly contains very large files (and the entire folder is excluded), but as mentioned there the issue was not actually related to any particular folder or file (ownCloud even synced its own log files, which it should not do per the default exclude list).
OK so you are saying it's not related to the exclude list since this issue also applies to folders not in this exclude list?
As far as I can tell it is not related, no.
Do you use any WIndows symlinks, junction points or anything like that?
In general yes, but not in the affected folders.
As far as I can tell, the overall folder size is calculated correctly, so that part is okay. However, the folder is already present on my hard drive, so ownCloud should not warn me that the folder will not be downloaded or offer me to delete the folder at all. Note that this issue did not exist in 6228 yet.
Looking at the recent code changes I also only see the symlink/junction fixes that @guruz pointed out as potentially relevant. I'll try to reproduce the issue.
@sagamusix For what it's worth, this this is an important problem and I've looked at the diff between master (2.3.0) and 2.2 (2.2.3) and didn't see any code that would have touched the large-folder related logic.
Activity
guruz commentedon Jul 12, 2016
Is this the same folder that you had added to your exclude list?
#5039
sagamusix commentedon Jul 12, 2016
It's not only that folder, but also many other folders which exceed the total size for "large" folders (set to 500 MB in my config), but all in all just contain many small files (like images and documents which may be partially on the exclude list). The folder in #5039 mostly contains very large files (and the entire folder is excluded), but as mentioned there the issue was not actually related to any particular folder or file (ownCloud even synced its own log files, which it should not do per the default exclude list).
guruz commentedon Jul 12, 2016
@sagamusix OK so you are saying it's not related to the exclude list since this issue also applies to folders not in this exclude list?
Do you use any WIndows symlinks, junction points or anything like that?
This is really an odd issue.
FYI @dragotin @ogoffart .. how do we calculate that size? It should see that there is a local folder already..
sagamusix commentedon Jul 12, 2016
As far as I can tell it is not related, no.
In general yes, but not in the affected folders.
As far as I can tell, the overall folder size is calculated correctly, so that part is okay. However, the folder is already present on my hard drive, so ownCloud should not warn me that the folder will not be downloaded or offer me to delete the folder at all. Note that this issue did not exist in 6228 yet.
ckamm commentedon Jul 19, 2016
Looking at the recent code changes I also only see the symlink/junction fixes that @guruz pointed out as potentially relevant. I'll try to reproduce the issue.
ckamm commentedon Jul 19, 2016
@sagamusix I can't reproduce it, and the code says the new-big-folder detection only runs when there's a directory in the remote that's not found in the local database. So currently I have no idea why this problem occurs for you. Could you try running with
--logfile, see https://doc.owncloud.org/desktop/1.8/troubleshooting.html#saving-files-directly ?sagamusix commentedon Jul 19, 2016
I'll try as soon as there's a nightly that fixes #5039 - I don't want all those excluded files to be synced again. :)
ckamm commentedon Jul 21, 2016
@sagamusix The problem from #5039 should not have affected the 2.2.3 nightlies. Do you experience the folder-deletion problem with 2.2.3 as well?
sagamusix commentedon Jul 21, 2016
Using 2.2.3-nightly (6258), I can indeed not reproduce this problem - only with the 2.3.0 nightly I was testing at that time.
ckamm commentedon Jul 21, 2016
@sagamusix Thanks for checking, it's good to know 2.2.3 isn't affected. We'll need to look at this again when nightlies for 2.3.0 are built again.
ckamm commentedon Jul 22, 2016
@sagamusix For what it's worth, this this is an important problem and I've looked at the diff between master (2.3.0) and 2.2 (2.2.3) and didn't see any code that would have touched the large-folder related logic.
sagamusix commentedon Jul 22, 2016
Let me know as soon as 2.3.0 nightlies are available and I'll test again.
ckamm commentedon Aug 23, 2016
@sagamusix New 2.3.0 nightlies are available. Could you re-test?
sagamusix commentedon Aug 23, 2016
The issue seems to be gone in build 6337.
guruz commentedon Aug 24, 2016
Grrrrrrreat!