I’m looking to finally ditch Onedrive with a self hosted alternative, but I’m not sure what to go with. I want something with all of the files on a central server, with an Android client with the option to sync individual files for offline access as needed. Preferably the files should also be stored in plain format on the server to make backups easier and as a fallback if the service completely fails and I don’t have time to fix it. Linux and Windows clients are a bonus but I’m happy just using a web gui if that’s all that’s available. These are the options I’ve considered so far:
Seafile - This was the one that I thought fit my needs the best until earlier but apparently it has a weird disk layout which means the files are basically inaccessible by anything else?
Nextcloud - I had originally ruled this out because I don’t care about any of the additional features which people claim also slow it down and make it a bit of a resource hog, and I also don’t want to deal with forced https. However I think the community image may actually be what I want as it seems to be just the file server and works with just http? I am a bit confused about the different options for the database though. hub.docker.com/_/nextcloud/
Syncthing - Not quite what I’m looking for as you need to sync the entire thing, and I don’t like whatever weirdness is going on with the Android app at the moment
SAMBA share - Also not really what I’m looking for as there’s no offline syncing, but very easy to set up and basically nothing to go wrong
Are there any other options I should be looking into?
Dave@lemmy.nz 3 weeks ago
OwnCloud Infinite Scale might be the option you missed?
Nextcloud was forked from the PHP Owncloud some years back, and they added all the apps and things. But Owncloud is like Nextcloud but focused only on the files.
I am a bit concerned that you’re talking about not wanting HTTPS and see it as a bad thing that something requires it. Given you can get free certificates these days, why would you not want a secure connection? Even if you’re accessing via a VPN to server tunnel, I see no reason not to have it.
artyom@piefed.social 3 weeks ago
Exposing https requires a lot more configuration and also carries with it security risks.
Dave@lemmy.nz 3 weeks ago
I don’t think it’s really true these days that it needs a lot of config. Maybe reverse proxies will do it for you automatically without much setup.
I am curious what the security risks are for HTTPS for a service that will already be accessible remotely?
Infernal_pizza@lemmy.dbzer0.com 3 weeks ago
I hadn’t considered OwnCloud because I thought it was pretty much the same as NextCloud but mainly aimed at enterprise. Does it have any advantages over Nextcloud?
I haven’t got round to setting up https yet since I only access my server via my LAN or Tailscale. When I do get round to setting it up I might use a reverse proxy rather than configuring it for every service. I also need to work out how to do automatic certificate renewal and if that’s even worth doing, so I don’t want to be forced into half-assing it for Nextcloud before I’m ready to do it properly. With Nextcloud specifically I also don’t like the fact that you can’t change the domain after the initial setup, using the community edition via http seems to get round that problem as well
MentalEdge@sopuli.xyz 3 weeks ago
This is what certbot is for. For example, with nginx, you just set up the webserver to be reachable via your domain.
You then install and run certbot, and it will aquire, install and configure, and then auto-renew a certificate. All with just one command.
Yes you can?
I’ve done it thrice now.
ragica@lemmy.ml 3 weeks ago
Use Caddy for reverse proxy. It’s magic. Just put in config the subdomain/domain and localhost port to point to, it will fetch and configure and keep certificates up to date with zero effort. You’ll forget certificates exist. It just works.
Dave@lemmy.nz 3 weeks ago
Owncloud Infinite Scale was a rewrite of the codebase to get away from PHP. In theory this should be better able to run on lower end hardware. People tend to say they use it if they are only wanting the file part and not all the apps. Personally I use Nextcloud because I want the apps.
Automatic certificate renewal is built into many reverse proxies, and can be done for free, so I don’t see a reason not to do it.
Nextcloud has federation of some features so I’d guess that would be a key reason you can’t change the domain (you also can’t change a Lemmy domain once set up). However, you’re using it for file sync for yourself, right? Regardless of what you pick (even Nextcloud), you could surely just set up a new instance under the new domain then move all your files over.
dangling_cat@piefed.blahaj.zone 3 weeks ago
The easiest way to set up reverse proxy + auto HTTPS for a homelab is https://nginxproxymanager.com/
There is also https://noted.lol/pangolin/, which I think is too overkill for you atm :3