[Bug]: "available online only" and "free up local space" not available on hydrated files
⚠️ Before submitting, please verify the following: ⚠️
- [x] This is a bug, not a question or a configuration issue.
- [x] This issue is not already reported on Github (I've searched it).
- [x] Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- [x] I agree to follow Nextcloud's Code of Conduct
Bug description
I have a folder in nextcloud with subfolders for which all files are hydrated, but none are "always available locally", that is the files are on my computer and hydrated, but not pinned.
However, the nextcloud context menu has the options "available online only" and "free up local space" greyed out. There appears to be no way for me to ask the client to free up local space?
It seems to my that this is in error: the files are on my system, I don't want to delete them (because this would delete them online as well), but I have no way to reclaim the space and dehydrate the files, other than waiting for nextcloud to decide to free up space as needed.
Steps to reproduce
On Windows 11, with an up to date nextcloud client installed and connected to an up to date nextcloud server running on Ubuntu, with storage in an Azure Blob storage mounted through blobfuse2 to the file system on the server (some /mnt).
- Create a new subfolder in your nextcloud folder
- Copy in a sizeable collection of files as well as files in subfolders
- Wait for the synchronisation to complete
- Right-click the top subfolder
- Check the 'Nextcloud' options, "available online only" and "free up local space" appear greyed out
Expected behavior
Under the same conditions, I would expect:
- Check the 'Nextcloud' options, "available online only" and "free up local space" ought to be available (or at least "free up local space")
Which files are affected by this bug
n/a
Operating system
Windows
Which version of the operating system you are running.
Windows 11
Package
Distro package manager
Nextcloud Server version
Nextcloud Hub 10 (31.0.6)
Nextcloud Desktop Client version
3.16.6
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?
- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [x] Other
Nextcloud Server logs
Additional info
No response
thanks for the report I can reproduce
My temporary fix for this is to make the folder I'm looking to free up:
- Make always available locally
- Option to Free up local space should now be available
- Pause and start sync and it will stop downloading from step 1 and honor step 2
I can confirm both the problem and the work-around solution (which is unworkable in situations with low disk space or slow internet connections).
Can, just to update on this, confirm that it still occurs on Windows as of today, with the same workaround. Would love to see a fix for this.