this post was submitted on 10 Mar 2024
25 points (90.3% liked)

Selfhosted

40492 readers
684 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 2 years ago
MODERATORS
25
submitted 8 months ago* (last edited 8 months ago) by Hiro8811 to c/selfhosted
 

So I recently put togheter a NAS and now I'm trying to learn to use it. I got a few questions if anyone can point me to some documentation or tutorial:

  • Can I set up more users to access the same SMB folder?
  • How to set up the current version of Jellyfin?
  • How to remote access Nextcloud?

If anyone runs into similar problems:

  • Jellyfin -> if kubernets gives "back off restarting ..." it most likely is a missconfiguration, what worked for me was enabling automatic permission to the folder with movies and music to 777 recursively (not secure but I haven't tried other permission yet
  • to access all apps: I just used tailscale and added in app configuration route 192.168.1.0/24 and now it works flawlessly

Thank you everyone for replies

all 11 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 8 months ago (2 children)
  1. Yes. In the TrueNAS UI you can configure users and groups. You can add users to common groups and set the permissions of the share to allow for group read/write. If all of the clients are on Windows, I wanna say you can set permissions on the share via Windows Explorer which will allow you to make more granular permission changes.

  2. I forget exactly because I only briefly used TrueNAS in this capacity, but there was a community repo you need to add for more apps than the default. I think I remember the default repo having Emby but not Jellyfin, or vice-versa. Someone may be able to help me remember the name of the repo in the comments.

  3. Set up the app as normal for local access and just forward the port from your router to the IP of your TrueNAS instance. There wasn’t anything tricky you need to do beyond a regular installation.

[–] WASTECH 2 points 8 months ago

I think it’s this one: https://github.com/truenas/charts.git. It has those apps you mentioned.

[–] Hiro8811 1 points 8 months ago (1 children)

I have truecharts installed but when I reboot the NAS kubernets would give "back off restarting error", I managed to figure that out. Now I need to figure ask how to access the apps from outside the local network, I did try to forward local port 9001(Nextcloud) to 80 and 443 but I still can't access it. I also read somewhere that that's a security risk so I was wondering if I should try to set up a free DNS or VPN. What do you think?

[–] KrapKake 1 points 8 months ago

You could always try tailscale until you figure something else out. Its not really self hosting but its better than having everything accessible to the public internet. Set it up in browser and follow their set up guide then install tailscale app on Truenas and whatever other device you plan on using it with.

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

I'm a bit confused by your question about Jellyfin in a Nextcloud post, but whatever xD

There's is no way to install a specific version of an app on Scale, you can only install the latest version. That applies to both the official charts as well as TrueCharts. You can however refuse to update to newer versions if you feel like it.
Keep in mind that if you decide to update later on, you can only update to the current latest version again.

Alternatively, you can set up the app "manually", by going to "Discover apps" and then clicking the "Custom app" button. That allows you to use any docker image with any tag that you want. I've used it to set up an unstable/beta version of Jellyfin, and some more test servers.

I think there's also a docker-compose app for TrueCharts that lets you point to a compose test file using host path, but that is not needed for Jellyfin.

Let me know if you have more questions!

[–] Hiro8811 1 points 8 months ago (1 children)

Well I have a problem where Jellyfin stops working after I restart the NAS. Guess I had more questions and forgot to change the title. Have you got any idea how to connect from outside home network to Nextcloud?

[–] [email protected] 1 points 8 months ago (1 children)

VPN, Tailscale Funnel or Cloudflare Tunnel? ZeroTier should also work.

In what way does Jellyfin stop working? Does it not start at all?

[–] Hiro8811 1 points 8 months ago (1 children)

Okay so the problem was that I forgot to give permission to the folder and it would just crash St start. I have installed tailscale and configured it as an exit node but for some reason I can't configure route. Everytime I enter one tailscale doesn't start unless I remove routes. I have it as exit node but it still doesn't work

[–] [email protected] 1 points 8 months ago

You don't need to use it as an exit node. But yes, running tailscale in a container can be problematic for accessing some apps. You should give this thread a read: https://github.com/truenas/charts/issues/2201

It offers some explanations on what might be going on. I have tailscale set up on a different device (raspberry pi), and it's working as a "subnet router", meaning I can access all of my local subnet when I'm connected.

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
Git Popular version control system, primarily for code
IP Internet Protocol
NAS Network-Attached Storage
VPN Virtual Private Network

5 acronyms in this thread; the most compressed thread commented on today has 3 acronyms.

[Thread #593 for this sub, first seen 11th Mar 2024, 18:05] [FAQ] [Full list] [Contact] [Source code]