Replacing Nextcloud functionality

Among other applications, I have a Nextcloud server running in a VM on Proxmox. I am working on moving away from Proxmox and onto a bare metal FreeBSD install working as a server. With Nextcloud, I only really use two functions:
* Calendar management
* File sharing - mainly between my machines, although I have occasionally shared with others. However, I don't mind losing the ability to share with others.

Putting aside the Calendar management, as I think that is more straight forward to replace, what should my general approach be to achieve the following:
* Store files on the server
* Local copies of the files would be downloaded to machines when a connection is available, meaning that if the connection is not available, the files can still be accessed
* Changes are synchronised on next connection.
My understanding of network attached storage over NFS is that the files are only available on the server, and can be accessed only with a working connection.
I am also interested in your comments about exposing this server to the internet, although I would probably use a VPN to protect it (wireguard).
I am not looking for a step by step guide, but I would like some pointers as to where I need to study. I am happy to do my own research and make my own mistakes while learning!

Thanks for reading / commenting!
 
It depends a bit on your needs,Filezilla, NFS, Samba and SSH are all going to keep the files on the server. There's also options like syncthing where the files exist in both places. I personally find SSH to be by far the easiest way of sharing files. You can just scp things back and forth or use rsync over a terminal. If you've got a gui, then Filezilla works great. And setup is a breeze, with a small amount of effort you can even use certificates with or without password for authentication.

Where Nextcloud might still be worth while is if you can't easily split the files up into ones that should live only on the server and ones that should be in both places.
 
Thanks hedwards! What I like about the Nextcloud experience is that I don't have to think about it - it simply works across multiple machines and even telephones running android or iOS. However, I am getting some issues with Nextcloud on my OpenBSD laptop - it seems to have issues with syncing empty directories, and some files. I am not sure of the reason yet (still looking into it), but it did prompt me to think again about what I need, and whether Nextcloud is the best option.

Syncthing looks promising, but I have heard of issues when syncing the same directory to multiple clients. Of course, like everything on the internet, that problem may have been resolved already, so I should look again.
 
I am using Nextcloud for a few years with no problems. The community server is running with no jail on a bare-metal FreeBSD, too. Nextcloud often comes in handy for transferring photos, documents, other files, and even KeePassXC credentials.kdbx between my desktop computer, laptop, and phone. I have also installed the Maps, Memories, Music and some other apps, but first and foremost, I would recommend making the most of Talk as an integrated and private replacement for your phone and messenger.
 
Thanks hedwards! What I like about the Nextcloud experience is that I don't have to think about it - it simply works across multiple machines and even telephones running android or iOS. However, I am getting some issues with Nextcloud on my OpenBSD laptop - it seems to have issues with syncing empty directories, and some files. I am not sure of the reason yet (still looking into it), but it did prompt me to think again about what I need, and whether Nextcloud is the best option.

Syncthing looks promising, but I have heard of issues when syncing the same directory to multiple clients. Of course, like everything on the internet, that problem may have been resolved already, so I should look again.
I tend to avoid having a bunch of stuff syncing if I can, I'd much rather either just download the files that I want ahead of time, or keep the ones being synced to a small enough number that I know what's going on.

Nextcloud runs fairly well in jail, and it's easy enough to access remotely over tailscale or even just via a normal SSH tunnel if you know what the IP is going to be reliably. I've often times just forwarded the port over a tailscale connection to access my stuff.

AFAIK, owncloud and opencloud also work, Nextcloud is just the one that I've been able to get working properly. Setting up local HTTPS though is a bit of a pain and I've found it a bit easier to just tunnel it than worry about getting a certificate to work for non-routable addresses. For ones that can connect over the internet, tailscale HTTPS works great, and I've also had luck with using caddy as a reverse proxy.

For the local network, I have set up my own CA and that works OK, but none of the browsers seem happy with that.
 
I also used Nextcloud for years on my own server for calendars (and sharing) as well as file synchronization (and sharing). Due to its heavy resource consumption, I’ve switched to using Radicale (for calendars and contacts) and Copyparty (for file sync and sharing)—running behind Caddy on the same server—at a fraction of the resource cost. You might want to weigh whether Nextcloud’s complexity and high resource demands are worth it, compared to the lower resource requirements and speed offered by more specialized applications.
 
I used to use Radicale and can vouch for it being pretty good; I pay an email provider that has Cal/CardDAV though and switched to that.

In-house I've been fine for years with a simple vsftpd NAS :D
 
Back
Top