this post was submitted on 25 Sep 2023
28 points (96.7% liked)

Selfhosted

39893 readers
366 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hi Everyone,

So, I am very new to self-hosting. A couple of years ago I set up a mini PC running Ubuntu Server with Nextcloud and Jellyfin on my network. Now I think I want to move away from Nextcloud as for me, uploading files to it hasn't been super reliable and it has been a little slow. It also seems to have a lot of features I really don't need.

At the moment, I basically use my server just for file storage, plus running Jellyfin. I think initially I went to nextcloud because I wanted a solution that would automatically sync my files to my network storage kinda like onedrive. However, Nextcloud on different systems doesn't work the same way and I basically ended up just manually copying everything over to Nextcloud and using it like a network drive. At that point, why even use nextcloud then? I would be better off with Sharing a folder using Samba right? Do you think that would be the best fit for my needs? Or should I learn about freenas? Taking a quick look at it I'm not sure what advantages it would have over just a samba share.

Edit: Thanks everyone! You've given me a lot to look into!

all 11 comments
sorted by: hot top controversial new old
[–] CeeBee@lemmy.world 5 points 1 year ago* (last edited 1 year ago) (2 children)

FreeNAS is a deprecated version now. The successor (which is basically the same thing) is TrueNAS. They also have a version based purely on Linux called TrueNAS Scale. Both Community and Enterprise versions are available. The Community version is entirely free. It supports VMs through KVM and containerization, as well as all the network sharing options out there.

Another option is Proxmox. It's Debian based and is more focused on virtualization than storage, but it has whatever you would really need for storage (including full ZFS support). You might find yourself in the command line for some things with Proxmox over TrueNAS, but if you were willing to go full Ubuntu I imagine that wouldn't be an issue.

That being said, if you want to just go the manual route, then I suggest Debian. It's leaner and considered more stable than Ubuntu, and doesn't have some of the cruft that Ubuntu has (like Snaps), which may be a positive or a negative depending on what your needs are.

Edit: just to add, since you're going to run Jellyfin and Nextcloud on these systems, my recommendation is Proxmox as it has great tooling for managing VMs, like automatic backups. I personally run both Nextcloud and Jellyfin in their own VMs. I like the workflow of backing up the entire VM and being able to restore it to the exact state when it was saved. Containers require a bit more knowledge to run them to be truly stateless, and then you have to worry about backing up your stateful data (like configuration files, etc) separately.

[–] zaphod@lemmy.ca 2 points 1 year ago* (last edited 1 year ago)

Another vote for Debian stable. You can use Jellyfin's repos to get an up to date version and bookworm will be solid for years which is what you want out of an appliance. And when you are ready to upgrade from stable to stable, Debian handles in-place upgrades better than anything else out there.

[–] monty33@lemmy.ml 1 points 1 year ago (1 children)

How would you setup a NAS like system through Proxmox? Personally I would not be using zfs.

[–] CeeBee@lemmy.world 1 points 1 year ago

I would never use anything other than ZFS. Proxmox is just Debian with a management UI. You can setup disks, volumes, etc, with the web UI. And whatever you can't do from there you can do via the shell or ssh like you would want other Linux system.

[–] Chewy7324@discuss.tchncs.de 5 points 1 year ago

I'm not familiar with FreeNAS, but I see it's advantages mostly in it's gui and zfs support. So if you just need a few smb shares and don't need to constantly configure it, I'd go with Ubuntu.

If you have multiple disks that you can use in raid, then zfs might be a good idea for it's check summing capabilities and correction of bitrot.

But it's also possible to install zfs on Ubuntu, though you'd have to use the cli instead of FreeNAS gui. I've recently setup a zfs raid 1 for the first time and the cli is simple to understand and the docs are great.

So I'd stay with Ubuntu and just use samba directly.

[–] Oisteink@feddit.nl 4 points 1 year ago

imo truenas because it’s made for storage. It will monitor your drives, it’s easy to expand storage. Want nextcloud? It’s a plugin ready to install. Want plex media server? Just add the plugin. Need backups of your machines? Try the backuppc plugin.

Core is based on frebsd, while scale is Debian. While scale is fun I’m still a core-fan.
Samba on a Debian box works as well if all you want is smb. But it’s a you made it you support it solution. On Truenas there’s loads of people making sure it’s secure and working and updating is a button.

[–] Fermiverse@kbin.social 3 points 1 year ago

I use syncthing to collect my data from several devices (smartphones and PC) to my server at home, when I am in my home network.

Then, on the server, rclone takes over with various daily/weekly tasks and syncs the stuff to my cloud storage. Some encrypted some plain. From my mobile or my pc I have access to all the data either at home or via vpn as well as directly to the cloud backup.

[–] Lordjohn68@lemmy.world 1 points 1 year ago

Are you able yo host alongside freenas or on top of?

[–] sv1sjp@lemmy.world -1 points 1 year ago

Well, personally I prefer the one with Enforcing Selinux by default.🐘