SailorsLife

joined 1 year ago
[–] SailorsLife 2 points 1 week ago

by the way... great discussion. I'm reading along and learning of things I didn't think of before. So thanks.

[–] SailorsLife 1 points 1 week ago

oh, gotcha. Thanks, and good point. I was thinking of using bind mounts instead of volumes so I can access them easier. That should make backing them up to the NAS easier as well.

[–] SailorsLife 1 points 2 weeks ago (1 children)

Thanks.

Interesting. I didn't think about performance. I can see how a docker volume would be better optimized. And for a cache that makes sense. I was considering doing a bind mount for the config for easier visibility when debugging things. But keeping the volume for the cache now makes sense... thanks for that.

I technically work for a company that is in the security space. But I myself just can't really get into it. It seems like there is always so many things that could be done to improve security, but there is never the resources to do most of them in companies. And that would really eat at me. We hire companies to do pen testing. They seem like home inspectors. They have to find a few things to help the customer (us) justify the expense, but once they do, they don't need to look much deeper. And half the things they find will be low/mediums that will never get fixed. And in the end, the only reason companies seem to hire them is so they can advertise that they did, or to meet their customers security requirements. All in all, it just feels so sad. :(

anyway. If I am following you... you run a custom NAT for your home network? I know my router has one, but sounds like you don't trust the routers? Is that right? And then you run a vpn server on the inside to handle any external access. That seems smart. Is that like common practice, or something you do because of your background?

[–] SailorsLife 1 points 2 weeks ago

It does help thanks. And part of this set of questions was just me exploring stuff thoughts and looking to learn... so I have a follow up question or two.

You mention docker volumes make a lot of sense with multiple nodes. How does that work out? We use pv's and such with k8s at work, and the ones we use can only be mounted on one node at a time. From what others have said, allowing many write from multiple nodes has a lot of complications. Do docker volumes handle writing from multiple nodes?

And... "streaming video isn’t super latency sensitive". I'm super new to streaming video. I would have expected it to be sensitive to latency. I mean you expect the video to keep playing and not stop. Whereas most of the things I work with (api's and what not) can have an extra second or two to respond with little relevant difference. So clearly there is some depth here I don't understand.

[–] SailorsLife 2 points 2 weeks ago (1 children)

"or a 6 year old that gets 5 minutes alone with your mouse" haha. I have a 10 year old with a tendency to be inquisitive with electronic devices. He is pure of heart, but we joke that some day the NSA is going to come knocking. He wouldn't hack a bank to get money, he would just be "exploring" what is possible instead of reading directions. lol. Question though. When you do want to delete something. I am guessing you logon to your media server and do it from your user account?

[–] SailorsLife 1 points 2 weeks ago (1 children)

And you are using a reverse proxy because you want to expose jellyfin to the general internet? And you don't want to have to trust jellyfin's security (which is very reasonable) ?

 

People resoundingly suggested using containers. So I've been reading up. I know some things about containers and docker and what not. But there are a few decision points in the jellyfin container install instructions that I don't know the "why".

Data: They mount the media from disk, which is good cause it's on a NAS. But for the cache and config they use docker volumes. Why would I want a docker volume for the config? Wouldn't I want to be able to see it from outside the container easier? What am I gaining by having docker manage the volume?

Cache: I saw a very old post where someone mentioned telling docker to use ram for the cache. That "seems" in theory like a good idea for speed. I do have 16gb on the minipc that I am running this all on. But I don't see any recent mentions of it. Any pros/cons?

The user. I know from work experience that generally you don't want things running as root in the container. But... do you want a dedicated user for each service (jellyfin, arr*)? Or one for all services, but not your personal user? Or just use your personal user?

DLNA. I had to look that up. But I don't know how it is relevant. The whole point seems to be that jellyfin would be the interface. And DLNA seems like it would allow certified devices to discover media files?

[–] SailorsLife 1 points 2 weeks ago (3 children)

What is the role of traefik? I looks like networking software for something more like a k8s cluster with lots of pods going up and down all the time. We use linkerd at my job which seems like it has some overlap. But they both seem like overkill when running on a single node system unless I am missing something.

[–] SailorsLife 1 points 2 weeks ago (2 children)

When you say "Backup your docker config folders". Are you talking about the directory were you would store the dockerfile / docker compose file?

18
Container vs service (self.jellyfin)
submitted 2 weeks ago* (last edited 1 week ago) by SailorsLife to c/[email protected]
 

The last post on the subject I could find was a year ago. So thought I would ask again. I have debian 12 up on miniPC and I have my NAS mounted. My intention is to use jellyfin and some of the arr* stuff. I know only a little about systemd (I just google what I need to know). I have some contianer knowledge, but mostly in k8s. And the docker parts aren't really my problem. But I have a vague understanding of docker. What are the latest pros and cons of containers vs service installation?

Edit: The opinions were unanimous. Containers it is.

[–] SailorsLife 1 points 1 month ago (1 children)

hm. Does windows have hard links? I have done them in linux, but not windows myself. But if they were hard links... then deleting one would delete the other no?

 

I have jellyfin, qbittorrent, radarr, sonarr, prowlarr. I end up with copies of things I download in two places, media folder, and then in a radarr or sonarr subfolder. Radarr and sonarr are configured to have their own dirs. Jellyfin has media libraries for movies and shows pointing to those same subdirs. But qbittorrent has a default save dir of the media dir.

If I delete something in jellyfin, it gets deleted only from the subfolder, not the media folder.

I thought that radarr and sonarr would tell qbittorrent where to download to... and it would be their subdirs. So what is making the copy in media? And is there some reason I should have these extra copies?

[–] SailorsLife 1 points 2 months ago

Thanks for all the info...

[–] SailorsLife 1 points 2 months ago (2 children)

What kind of specs matter most for a NAS?

[–] SailorsLife 2 points 2 months ago (4 children)

Budget is really more about value than anything, I have money to spend, but I don't like to overspend or waste. Otherwise there are things I know, and things I don't. :) I do know linux, and some docker. I have built a few pc's over the years. But I don't really keep up with hardware stuff. The idea to have a NUC and a NAS just came from what I was reading as it seemed to be what people do. And the plan was to get a pre-built NAS and a mini pc. That way the whole project doesn't get so big it is overwhelming. The software stuff can be complicated from what I read. But I work in software, and I could use more time with docker and such. I was pricing things out when I got thinking about the connection between them, and thus how many ethernet ports I needed on the minipc. It sounds like people are saying that network speeds through a switch should be more than fast enough. I know this is probably the more expensive route, but I think the total cost may be at least reasonable. The minipc is like $169. Seems like the NAS is like $500. And a few hundred for drives. So maybe under a k. The way prices are these days, that doesn't feel terrible. But I don't really have a scope on costs for hardware.

19
submitted 2 months ago* (last edited 2 months ago) by SailorsLife to c/[email protected]
 

So my plan based on reading was to get a mini pc and a nas. But then I realized... what is the best way to connect them. So I started doing more reading. And I confused myself.

So a NAS has it's own CPU and such, and other computers can talk directly to it over the network. But if I am using a mini pc to run the server, then I assume I would want a really fast direct connection to the storage. So it seems like I would want the NAS to be on the network as well as directly connected to the mini PC. And of course the mini pc would need to be on the network as well. Stuff I saw about connecting them directly seemed to pretty much use the Ethernet ports and a crossover cable. So that would mean that both devices would have to have two Ethernet ports, right?

And the bonus question is, would it just be better for the NAS to really be a dumb DAS for the mini pc instead?

Edit to summarize: For having two devices, the consensus is that LAN is good enough (just make sure you have a decent switch between them). A few like doing it all on one device for a variety of reasons.

 

So I am finally going to get around to setting up a dedicated media server with network storage and all that. I have previously read up and decided on this Beelink Mini S12 PC. But I have heard about lots of problems with some of the latest intel chips and such. Does that affect this mini pc?

And since it has been nearly a year, is that still the best idea for a media server? I mostly want it to be quite since it is always on, and I don't want to hear it down the hall in my bedroom at night like my current windows pc. But outside of that, whatever works best. It seems pretty inexpensive compared to what I was expecting.

 

I have some stuff where my language is not the default audio track. I can't figure out how to tell it to change the track when using the jellyfin app on roku. Am I missing something?

 

I have jellyfin running on window 11. Things were working fine. Then yesterday my monitor stopped turning off after 15 minutes like it should. This happens every few months or so. So I rebooted, which often fixes it. When I did, jellyfin won't work anymore. I start it manually. So I click to start it, I see it show up in my taskbar on the far right, then go away. When I click on the up arrow, I can see the jellyfin icon, until I mouse over it. Then it goes away. So clearly it is crashing...

I went to the log dir, and the log file isn't updating when I launch. And the last entries are pretty mundane as well as before it started crashing.

I tried running the same command the icon was running in a cmd window, (Jellyfin.Windows.Tray.exe), and it did the same thing but no output like I was hoping. Tried adding a help arg... nothing.

Tried rebooting again of course. No luck.

So any ideas on how to debug this?

 

I am pretty new at all this. But I got jellyfin and such setup on my window box. I have a roku client and all that working. So now it is time to look into a standalone box to run 24/7. But I don't know what specs matter.

I have read that I need at least a 6th gen intel i7 or i5 to take advantage of a feature that helps with this sort of thing.

But outside of that. Does ram matter? How much of a drive do I need on the box? (Going to get a NAS for real storage). Any other specs that matter? I am hoping to go fanless (not because I know anything, but cause I want it to be silent), is that ok? And which flavor of linux is the most popular?

view more: next ›