Linux, Fedora 44 Workstation - Stop deleting local files

Hello all

What config file do i edit to stop NextCloud from deleting local files when clearing space on my web-host server?

Owncloud has this on Windows, but not on Linux, there’s actually almost no settings.

All the best
Carsten

I’m a little confused. You’re deleting files on your web host (i.e., in Nextcloud), but you don’t want the data to disappear locally? => move the data from the local Nextcloud folder.

The Nextcloud client does not support having data in the Nextcloud folder without syncing it with Nextcloud. To use an analogy: It’s like having data in a folder that’s linked to an external hard drive, but not wanting to save that data to the external hard drive at the same time.

Or maybe I don’t quite understand what you’re trying to achieve :slightly_smiling_face:

Yes, but the other way around. You can configure folders or files so that they are not kept offline, but remain in Nextcloud. The files are then downloaded on demand. This is a feature of Virtual Drive that isn’t available by default on Linux (I think it’s experimental on Linux).

Yes, i know it sounds weird wanting to clean up and deleting files on the server :upside_down_face: But i use my web host as a server, so i don’t have to make a server here at home and have to deal with all the things in setting that up and securing it a.s.o.

And yes, on Windows, i have on my server multiple times delete files that didn’t get deleted on my synced PC’s.

And it’s something i think should be an option. Share a file via the server and then delete from the server again.

To me it’s just an obvious choice to have :slight_smile:

Is that actually a feature of Virtual Files on Windows? I mean, I know about “Free up space”, which removes the local copy while keeping the file on the server. But the other way around sounds strange to me. A server-side deletion should normally be propagated to the clients; I wouldn’t expect Virtual Files to intentionally keep the local copy after the server-side file has been deleted.

Simple: just move it out of the Nextcloud folder. It will then be deleted from the server while remaining on your PC.

This sounds more like a broken client :sweat_smile:

hello all,

My experience was also similar with fedora 44,and in my situation it proved beneficial to verify synchronization and clean-up activities before holding the operating system responsible for the problem. One can look at the rclone process, cron jobs, or other such sync activities that might lead to file deletion.

When performing such action regularly, one should make sure to run them from a different VPS and thus avoid making changes to their own setup. I have found DedicatedCore is helpful for keeping the server separate from others.