Skip to content

2.3.0-nightly (6239): Large folders automatically marked for deletion #5053

Closed

Description

@sagamusix

Expected behaviour

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.

Client configuration

Client version: 2.3.0-nightly (6239)

Operating system: Windows 7 x64

OS language: German

Installation path of client: Default

Activity

  1. guruz commented on Jul 12, 2016

    @guruz
    Contributor

    Is this the same folder that you had added to your exclude list?
    #5039

  2. added this to the 2.3.0 milestone on Jul 12, 2016
  3. sagamusix commented on Jul 12, 2016

    @sagamusix
    Author

    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).

  4. guruz commented on Jul 12, 2016

    @guruz
    Contributor

    @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..

  5. sagamusix commented on Jul 12, 2016

    @sagamusix
    Author

    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.

  6. ckamm commented on Jul 19, 2016

    @ckamm
    Contributor

    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.

  7. ckamm commented on Jul 19, 2016

    @ckamm
    Contributor

    @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 ?

  8. sagamusix commented on Jul 19, 2016

    @sagamusix
    Author

    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. :)

  9. ckamm commented on Jul 21, 2016

    @ckamm
    Contributor

    @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?

  10. sagamusix commented on Jul 21, 2016

    @sagamusix
    Author

    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.

  11. ckamm commented on Jul 21, 2016

    @ckamm
    Contributor

    @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.

  12. ckamm commented on Jul 22, 2016

    @ckamm
    Contributor

    @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.

  13. sagamusix commented on Jul 22, 2016

    @sagamusix
    Author

    Let me know as soon as 2.3.0 nightlies are available and I'll test again.

  14. ckamm commented on Aug 23, 2016

    @ckamm
    Contributor

    @sagamusix New 2.3.0 nightlies are available. Could you re-test?

  15. sagamusix commented on Aug 23, 2016

    @sagamusix
    Author

    The issue seems to be gone in build 6337.

  16. guruz commented on Aug 24, 2016

    @guruz
    Contributor

    Grrrrrrreat!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions