this post was submitted on 05 Jan 2024
31 points (97.0% liked)

Selfhosted

40652 readers
385 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
31
Jellyfin on a vps (lemmy.cronyakatsuki.xyz)
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/selfhosted
 

I have a jellyfin instance running with radarr/sonarr/... for my media needs on my vps.

Problem is that I don't have huge amount of storages and I would like to expand the storage until I'm able to make a personal server ( I don't have space where I live for even a mini pc rn ).

From the options that I have been considering the contabo ( my vps provider ) storage expansion are quite costly so I have been thinking about hetzner storage boxes or a backblaze b2 bucket mounted with rclone/s3fs.

The problem with backblaze is that I use hardlinks with my *arr suite so to save up on space so I'm not sure if I can mount them preserving the hard links.

What would be your thought or reccomendation? Should I get a hetzner storage box and just mount it or is there anything else I could do until I manage to make my own personal server?

top 30 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 11 months ago (2 children)

Most likely, a Hetzner storage box is going to be so slow you will regret it. I would just bite the bullet and upgrade the storage on Contabo.

Storage in the cloud is expensive, there's just no way around it.

[–] [email protected] 2 points 11 months ago

I will most likelly just do that in the end.

Relly hope god will have mercy on me and allow me to move out soon to a bigger place.

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

Why do you say that? I use it for my 12+ TB library and it works fine. I'm on the west coast USA, and my vps and storage box are on the east coast.

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

You got a friend to host with?

I have an off site backup with a friend, but I've never tried streaming from them.

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

I'm most likelly the only one among my friends who even own's a smartphone/pc ( I live in Croatia in countryside where tech is seen as evil )

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

I mean… they’re not totally wrong.

[–] [email protected] 1 points 11 months ago
[–] [email protected] 5 points 11 months ago

Be careful that sometimes these providers will shut you down for hosting media servers. Even if your content is not illegally obtained.

[–] Chobbes 3 points 11 months ago (1 children)

Running Jellyfin off of a VPS provider seems needlessly expensive. I guess server hardware has an upfront cost, but having real hardware to host it on at home will be far more cost effective long term, especially for storage.

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

I'm at my home. And barelly have space for a rpi4 so not an option for me till I move out.

[–] archy 3 points 11 months ago (2 children)

Not sure if this fits your needs but I bought a NAS and mounted it via NFS4 over tailscale to my cloud. Yes, it is slower, but I got 20TB in the cloud

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

This sounds like a stability horror show. Has that really worked out well for you?

[–] archy 3 points 11 months ago (1 children)

Yes. When loading small images - there is no noticeable difference between local and NAS. When loading videos or large pics - there is about a 2 sec lag, then the video plays normally. I have a 500/500 Mb internet at home and on the VPS side I think it's a few Gbps. I am consistently pulling minimum 200 Mbps between the two. I set a mount option ,nofail so that my OS boots up when NAS is down/unreachable, and my container also starts up fine with the NAS down, but won't play its content obviously

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

Didn't even occur to me to ask what your upload bw was. That makes sense.

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

Where I live I don't have space for evem a rpi4. So the first I need to do is move out of my current home.

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

HEVC releases. You can also setup Jellyfin to selectively prune media you've already watched.

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

I'm already going with them, guess I will either buy more storage or limit what I have on it.

(I can't have jellyfin prune media I have watched cause seeding )

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (1 children)

(I can’t have jellyfin prune media I have watched cause seeding )

You actually can. Thanks to this TRaSH guide.

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (2 children)

Still ocupies the same amount of space, a hardlink just makes it so that if you remove the origin file the link is removed at the same time, bht you can emove it in jellyfin but it will take the same amoun of space.

Edit: either way can't have jellyfin delete media because I don't want it to accidentlally remove stuff from ptt's

[–] netburnr 2 points 11 months ago (1 children)

You could stop using torrents. Usenet doesn't require you to see, so you just download what you want, watch, and delete.

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

I thought of that but don't know how to get started at all.

Got any guides for that?

[–] netburnr 2 points 11 months ago (1 children)

Get a usenet provider. There are many to choose from and there are comparison sites out there. I use cheapness because it gives me a second limited connection to another provider, this helps to make sure everything I want is available by using two possible sources.

Get a nzb indexer, there are some that are preset in rather sonarr and radar screens. Some of them have paid plans that let you do more searches per day.

Configure your arr programs just like you did with torrents.

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

Yea already done most of it, now just testing out how much stuff it will be able to download from what I want.

[–] netburnr 2 points 11 months ago

That heavily depends on your trackers. Load as many as you can find.

[–] [email protected] 0 points 11 months ago* (last edited 11 months ago) (1 children)

You asked for a solution for removing unneeded media files while keeping the linked torrents. I gave you one.

[–] [email protected] 0 points 11 months ago* (last edited 11 months ago)

i literally said that I can't delete files because I need to seed.

[–] [email protected] 2 points 11 months ago

I use Hetzner storage box, mounted with rclone and it works great.

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

Do you have a NAS at home with enough storage? You could use wireguard to setup a vpn tunnel, then mount your NAS's storage on your vps via nfs and using cachefilesd. If your upload speed is sufficient, this can work pretty well without too much waiting for a stream to start.

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

I don't have anything at home. I barelky have space for a laptop.

I'm literally in my home, just that my home is small af.

[–] [email protected] 0 points 11 months ago