this post was submitted on 05 Jan 2024
25 points (96.3% liked)

Fediverse

29909 readers
2214 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS
 

Are there any technical/performance reasons why I couldn’t create an instance for myself and host a Plex server off of the same machine at home?

I’m fairly new to self-hosting in general, so any insight would be appreciated!

EDIT: I completely forgot to mention that this would be for a Mastodon instance, not for Lemmy.

all 18 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 1 year ago (1 children)

There's no context to the question?

At face value, no, there's no technical reason you can't run a Plex server and a lemmy instance on one computer :)

[–] veeesix 1 points 1 year ago* (last edited 1 year ago)

Oh shoot, I thought I included that this would be for a personal Mastodon instance.

I was mainly curious to know if running both would somehow affect the performance of the other.

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

Lemmy often racks up hundreds of gigabytes in logs and other crap, chokes up the hard drive, and then force restarts the server. Not fun for something you use to stream media from. Takes quite some tuning to get it sorted.

If we are talking about two virtual machines on the same physical server with dedicated storage allocation, that shouldn't matter.

[–] Shadow 10 points 1 year ago (2 children)

Lol Wat.

Op, just budget 200gb for lemmy and you'll be fine. Our entire lemmy.ca server is only using 100gb. It'll be a good learning experience!

Also, check out jellyfin as a possible alternative to plex.

[–] veeesix 2 points 1 year ago (1 children)

I should have specified that I was interested in creating a Mastodon instance, not Lemmy, but I’m glad to know that I could do that should I want to build one.

I’ve looked into Jellyfin as a secondary service. At the moment my parents have gotten used to navigating Plex and having them re-learn something new over the phone is…not something I have the energy or time for lol

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

Doesn't all the federated images take up a shit ton of space?

[–] Shadow 1 points 1 year ago* (last edited 1 year ago)

Images aren't federated, but their thumbnails are stored in your instance. You can prune those though as needed.

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

It's true, it logs a huge amount of stuff due to federation chatter. If you run it with docker, be sure to setup log rotation. I think the recommended lemmy ansible installation set the rotation to 50MB x 4 files. Or just /dev/null it.

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

I run Lemmy, Plex, and a bunch of other services from a desktop in my basement. It works great. The Lemmy docker setup is a little finicky but works well once you get it.

[–] veeesix 4 points 1 year ago

My bad, I forgot to specify that I’d like to create a Mastodon instance, not Lemmy. Though it’s good to hear that people are having success.

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

U can probably use docker and pass through a large storage volume

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

Are you running Windows?

Of so you can install Jellyfin to host your media library. Jellyfin is an alternative to Plex without the inline requirements.