nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
3.06k stars 803 forks source link

[Bug]: Nextcloud desktop client aborts sync in case of not enough space on disk without allowing to deselect folders #5128

Open allexzander opened 2 years ago

allexzander commented 2 years ago

⚠️ Before submitting, please verify the following: ⚠️

Bug description

Nextcloud desktop client will abort the sync in case new files will not fit the remaining disk space and will not delete folders that are deselected in an attempt to free space locally.

Steps to reproduce

  1. Sync some big files to a small partition (a few megabytes in size) such that there will be just 100-200MB of free space left
  2. Upload some more big files to the server via the Web UI and force start the sync on the desktop client
  3. Observe the error message about not enough space on the disk
  4. Try to uncheck some big folders in the selective sync dialog in order to free up space on disk
  5. Force start the sync and observe the desktop client is not removing unchecked folders as the sync is getting aborted because of not enough disk space error

Expected behavior

The desktop client should allow freeing up the disk space by blacklisting some big folders

Which files are affected by this bug

all

Operating system

Windows

Which version of the operating system you are running.

All

Package

Other

Nextcloud Server version

all

Nextcloud Desktop Client version

3.6.1

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

Nextcloud Server logs

No response

Additional info

No response

jospoortvliet commented 2 years ago

Tip for anyone who encounters this: from what I can tell (I tried), deletions of folders that have been deselected will not be synced to the server, so you can, after deselecting them, manually clean them so the sync can resume.

lckarssen commented 2 years ago

I can confirm this (unexpected) behaviour on Linux (Ubuntu 22.04).

daevidt commented 6 months ago

I can confirm this as well. Client version 3.12.3 (Linux).