I didn't know anything about docker when I set up my NC years ago, so I ran it as a snap on bare metal. Man, it's gotten so much better! It used to really suck. Like, simple file transfers just didn't work half the time, so I'd be retrying the same thing over and over... A few years ago, I literally migrated it from bare metal to a VM, but kept the exact same install. I have so much crap on it now, I think I'll never bother switching it out to docker, just because of the inconvenience. I know the snap version can just run using a local hostname, you just have to set it in trusted domains setting. Might be the same in the docker image?
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
by now i use nextcloud for everything except files. i do use it a lot for e.g. contacts, calendar, etc.
sshfs is simply a godsend for true instant easy multidevice file access
Agreed, nextcloud is a beast with lots of whistles, if you don't need them you can have simpler solutions
This my approach here https://wiki.gardiol.org/doku.php?id=selfhost%3Afileserver
And I stated using AList which is a funny piece of software that has great potential. See here https://wiki.gardiol.org/doku.php?id=services%3Aalist
I'm in the process of (very slowly) migrating my household from Windows to Linux and am currently testing Nextcloud as a replacement for OneDrive. In my case, I set it up using pikapods.com because I want offsite storage. The server part of the setup was incredibly easy because the host did all the work.
Getting my Linux client setup was kind of a pain (especially compared to the Android and Windows clients), but everything seems to work ok so far. Of course, I'm only backing up a small amount of data so far, so I can't comment on the efficiency or speed for a major backup.
I wanted something that has OnlyOffice integration and basically an selfhosted Google Drive, so tried Nexcloud as the most popular solution... but.. it was a pain to set up, its internal workings make handling reverse proxying a pain and it feels extremely slow.
I will try out Seafile, they seem to have just the 2 things I need and nothing more.
Try Synching. Its More of a file sync than file share/Cloud but it's very lightweight and works without issue. I use it to sync many of my important files to have them always accessible offline on all devices.
Nextcloud AIO has an option to skip domain check. the github README hasinstructions. And i love nextcloud because it integrates many features in one, file sharing, office collaboration, chat, rss reader, mailbox, photos, calendar, address-book, etc.
I have two instances running, one public and one completely local. And having a domain is just convenient but not necessary.
For just files I'd use Syncthing or Resilio (I keep hundreds of gigs synced with ST). Resilio has a feature that's very useful - Selective Sync. This allows you to setup a sync job that syncs the index of files, but doesn't sync the actual files until you select a file(s) to sync on the remote device. I use this to access my media files from anywhere (3TB) which I obviously don't want to try to sync the entire folder to my phone, etc.
But since you effectively are on the same LAN, you can use any file copy tool the respective OS's support.
Though for WAN connections, I prefer tools with some redundancy/resilience, since those connections can be slow or experience drops, and regular copy tools aren't designed to contend with that (in Windows the only tool I can think of off hand is Robocopy, but I think Teracopy will at least show you if a file copy fails).
It really depends on your use-case, what you're trying to solve for.
I would suggest looking at Syncthing. It's not perfect by any stretch, but it works peer to peer, without any kind of central host, ip or domain name requirements. You simply install it on the client machines, and they work out how to talk to each other over any available networks.
Beware changing the casing on your files or directories though, Syncthing was made entirely case sensitive, which does not play nice with Windows.
One very nice feature is that it does have an android client (https://f-droid.org/en/packages/com.github.catfriend1.syncthingandroid/), and it supports full background syncing to your local storage on the phone. Great for syncing your photos, but also music. You add some mp3's on your desktop computer, and by the time you've put on your jacket they're on your phone ready to listen to without any 'service' getting in your way.
A more advanced tip; Get a VPS somewhere in the cloud with cheap storage, and have Syncthing on it listening on port 443. That will allow syncing in more restrictive corporate settings, which often don't allow connections to port 22000. And it gives you a 'cloud backup' of your important files in one go.