this post was submitted on 06 Nov 2023
35 points (94.9% liked)

Selfhosted

40219 readers
1048 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
 

As the title states, how would you set it up? I've got an HP EliteDesk G5, what are the strengths and weaknesses of either:

  • ProxMox with one VM running TrueNAS and another VM running Nextcloud
  • TrueNAS on bare metal with Nextcloud running in docker
  • Some other setup

I'd like to be able to easily expand and backup the storage available to Nextcloud as needed and I'd also like the ability to add additional VMs/containers/services as needed

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (2 children)

From the brief research I just did, this does seem like a good direction to take. However I'm doing a lot of learning right now and I'm trying to stick with just one or two technologies at a time and adding in Kubernetes and Helm is a little beyond me right now.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

Then you're similar to me. I setup a new truenas scale server with the intention to replace a debian server that's running dozens of docker containers via docker compose. No, it can't be done. Options are k8s and virtual machines. That's it. I can't even run borgmatic.

What I'm doing is sharing the storage via iscsi to the debian server (it's like a virtual disk image) using 10gb fiber. But now I have two servers, and the truenas one can never afford a second of downtime, if that one turns off it's like yanking drives from a running system.

Now, if I had time I could definitely learn k8s and rewrite all my docker compose yml files but I have no time, it feels like a completely different concept

The available applications out of the box on truenas scale are just 96 and only few of them are actually useful. There's a way to add a second unofficial repository (true charts) that adds another 500 apps, but the list is weird. There are like 5 Minecraft servers but not a single standalone database. No mariadb, MySQL, mongo and so on.

In addition to that, the extra 400 apps that can be installed via truecharts come with ABSOLUTELY ZERO documentation. It doesn't even explain the environmental variables. See by yourself: https://truecharts.org/charts/stable/actualserver/

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

In addition to that, the extra 400 apps that can be installed via truecharts come with ABSOLUTELY ZERO documentation. It doesn’t even explain the environmental variables.

That's assuming those applications even work. Most of them are broken and its really hard to push fixes. WG comes to mind, totally broken because someone decided to hardcode eth0 as interface name and modern systems use biosdevname.

[–] [email protected] 4 points 1 year ago (1 children)

yeah i tried some of them and then i just gave up. For example, the way diskover data is configured by default is to index and show stats of an empty directory with a test file. And the free version allows to index a single directory, so...

Change the default directory to your main one? The documentation consists in:

DiskOver App for TrueNAS SCALE

yes, that's it. Very useful

[–] [email protected] 1 points 1 year ago

What a great documentation ahaha

[–] [email protected] 2 points 1 year ago (1 children)

You actually don’t need to learn either of them, they did a really good job of making the system user-friendly

[–] [email protected] 2 points 1 year ago (1 children)

Nobody should run k8s/k3s without understanding how they work lol, that's a recipe for lost data.

[–] [email protected] 2 points 1 year ago

How so?

As long as you set the app storage to the array, all you need to do is look after the backups on the array and it all works beautifully.

That’s something you should do anyways

Docker ftw