Ultimate guide to Plex, AllDebrid, and Riven
The following page guides the user through the process of establishing an ElfHosted stack using Plex, with media stored on AllDebrid, and with content acquisition managed by Riven.
BYO VPN required
Because AllDebrid won't work with datacenter IPs, this setup requires a user to bring their own (BYO) VPN provider credentials. While any gluetun-supported provider can technically work, we've had the best experience with PrivateInternetAccess, which can usually be purchased for < $2/month on a 3-year term.
The stack described below is available in all of our regular stack bundles, and free trials are available on the starter and hobbit bundles.
Get your 7 day free trial!
Adding a VPN to your ElfHosted stack with gluetun
Gluetun is a flexible container which supports many VPN providers. By attaching a gluetun config to VPN-compatible apps in your ElfHosted stack, you can have these apps take advantage of your existing VPN provider (some apps, like AllDebrid, require this functionality in order to work)
1. Start from your ElfHosted dashboard
2. In a new tab, navigate to https://docs.elfhosted.com/app/gluetun/
3. The documentation illustrates how a VPN works, and provides a sample ConfigMap to get you started. Copy the YAML for the ConfigMap to your clipboard
4. Back on your ElfHosted dashboard, click "Kubernetes Dashboard"
5. If you're prompted for an auth token, click "Skip" (you already have the necessary privileges)
6. Click the plus sign in the top right to add a resource
7. In the blank text entry window, paste the ConfigMap YAML you copied from https://docs.elfhosted.com/app/gluetun/
8. Review the instructions for your VPN provider at https://github.com/qdm12/gluetun-wiki/tree/main/setup/providers, and alter the necessary ENV vars, then click "Upload"
Alert: Don't use DNS names for your VPN_ENDPOINT_IP value. Gluetun only works with IP addresses, to avoid DNS leakage.
9. To confirm that the VPN has started correctly (it often won't, on your first attempt), navigate to [[Pods]], find the pod you're connecting to gluetun ("rclonealldebrid" in the example below), scroll to the right, and click on the 3 dots for more options
10. Click "[[Logs]]" to see the pod's logs
11. Click the name of the container in "Logs from" to select which container logs to view
12. Pick the "[[gluetun]]" container
13. The logs will either indicate that the VPN is healthy, or they will show logs to help you to diagnose the fault
14. If you need to change the ENV vars, navigate to "Config and Storage" -> Config Maps, find the "gluetun-config" ConfigMap, and click the 3 dots for more options.
From the list of options, choose "Edit"
15. Make any changes required to the ENV vars under the "data" section
Tip: Always quote integer or boolean (true, false) values
16. Click "Update" to apply your changes. The affected pod should restart.
17. Examine the pod logs again, iterate until your VPN is healthy!
Before you can use your ElfHosted Plex server, you'll need to "claim" it against your plex.tv account. This document describes the claiming process.
1. In a new tab, navigate to https://plex.tv/claim, and ensure you're logged in with the correct user account
2. Click "Copy to Clipboard"
3. Navigate to your ElfHosted apps dashboard
4. Click "ElfTerm"
5. Type "elfbot claim plex <paste in your claim token>"
6. Back on your ElfHosted dashboard, launch Plex
7. The server will be unavailable for several minutes while the restart-and-claim process takes place. Refresh until you see the "How Plex Works" screen below
8. Click "Got it!"
Close the plexpass modal
Name your server, and allow access to media outside the home (doesn't really matter, it'll work either way)
11. Add your libraries (paths are app-specific, see documentation)
How To Add Symlink-based Movies and Shows Library in Plex
Once claimed, your Plex server needs to know where to find your content. This guide is specific to symlink-based setups, and all media is found under /storage/symlinks
1. Navigate to https://harrypottelf-plex.elfhosted.cc/web/index.html#!/setup/24d0d419c3eb19f664d05e933b985b0f98eede97
2. Once you've claimed your Plex server, you'll need to add library folders so that Plex "knows" where to find your media. Since we're using symlinks in this design, all media will be found under /storage/symlinks
, as illustrated below.
Click "Add Library"
3. Pick Films / Movies
4. Click "Next"
5. Click "Browse for media folder"
6. Click "storage"
7. Click "symlinks"
8. Click "movies"
9. Click "Add"
10. Confirm the path is set to /storage/symlinks/movies
, and click "Add library"
11. Once again, click "Add library"
12. Click "TV Programmes / Series"
13. Click "Next"
14. Click "Browse for media folder"
15. Click "storage"
16. Click "symlinks"
17. Click "shows"
18. Click "Add"
19. Click "Next Add library"
20. Having confirmed that both of your libraries are pointing to the respective symlink folders, click "Next"
21. Click "Done" to finish your Plex setup!
Connect ElfHosted to AllDebrid
1. Start at your ElfHosted dashboard
2. Click "Riven (backend)"
3. Confirm that the Riven backend starts, but pauses due to missing configuration. Ensure that the symlinks path reflects your chosen debrid provider
4. Back on your dashboard, launch Riven
5. Click "Settings"
6. Paste in your AllDebrid API key
7. Enable the All-Debrid Proxy option
8. A new field appears:
9.
10. Type http://alldebrid:8888 (this forces Riven to use our VPN-connected AllDebrid proxy to access their API, which is otherwise blocked due to our datacenter IPs)
11. Click "Save changes"
12. Wait for "Settings saved!" to appear. Riven is now configured for AllDebrid (you can confirm this on the Riven backend logs)
What users say..
Here's what some of our usersfriends say..
I am new here, but today I learned realized that Elfhosted is one of the best free and open source software communities I've seen, and FOSS communities have been at the center of my life since the 90s (Perl, PHP, Symfony, Drupal, Ethereum, etc.). Great open software built by great people who care = great community, and that is something special.
You've done an amazing job @Funky Penguelf with the platform you provide and this place has an awesome mix of active community caretakers and software creators that I've seen here so far like BSM, Spoked, LayeZee and other elf vengers. Keep up the energy, productivity and community and take time to enjoy it and appreciate each other!
@skwah (Discord)
I self host and share a fully automated ‘arr stack with Plex. Been doing so for around 4 years. Also recently got into real debrid and hosting a Comet and Annatar for Stremio. The amount of time and head banging I’ve put into it is in the hundreds to thousands of hours. From setting it up to keeping it running smoothly. Let’s not forget the cost of my server and how much it cost to keep it running.
Anyway I wanted to see what ElfHosted was about to compare. Yeah I had the whole thing setup in just a few hours. It also passes the headache of maintaining it to ElfHosted. Will I keep it no because nerdy things and maintaining my server are my hobby and quirky passion project. Will I recommend it to my friends who don’t have the money up front to buy a server, the knowledge to maintain it or desire.
Just my server alone was $2k. Power cost to keep it on yearly is $250ish, annual memberships to RD, Usenet and indexers are around $100. Then whatever a value my free time at. Which is currently at minimum my hourly pay at work or more. Yeah so take the monthly cost of all that and compare to ElfHosted Ultimate Stream package at $39 monthly, add RD to the cost and get nearly all your time back is incredibly cheap.
Lastly it seems like a lot of people forget how quickly an ultimate cable package used to cost. Or how quick paying for every stream service would add up to. Which when using ElfHosted with RD is essentially and more what you get. Quick hint it’s far above the asking price.
/u/MMag05. (Reddit)
As a happy Elfhosted customer—who also self hosts MANY things across about 10 severs (dedicated, VPSes, and VMs running on Synology), I wouldn’t switch to self hosting the services I get from Elfhosted. They just work with very little effort configuring things, and the support the owner and his team provides is second to none. Plus I love being part of a fledgling—but quickly growing—enterprise.
/u/jatguy. (Reddit)
I recently found ElfHosted and decided to start out with the Infinite Starter Kit. Within a week I realized that this was for me and upgraded to the Hobbit plan. Give it another week and I was up to the Ranger plan.
I just love the simplicity and the fact that things just work. For years I've ran a home server and between the constant maintenance and always upgrading harddrives, it became apparent I wanted to make it easier on my self. Enter ElfHosted.
Setup was super easy with the guided documentation and the discord community. It seems that somebody is available at all hours of the day to help with questions. I started with the Aars, which I knew from my prior hosting... but saw a newer product called Riven. I decided to jump in feet first. I enjoy being on the front end of an up and coming replacement for the Aars and will soon be upgrading to the annual plan!
@.theycallmebob. (Discord)
I’ve been using this service for a while now, and honestly, it’s a game-changer compared to anything else I’ve tried for managing my media library. The support is fantastic—super quick, and if the staff aren’t around (which rarely happens), the community steps up right away. I can’t imagine going back to any other platform.
Before this, I had my own setup with a NUC, NAS, and tools like Sonarr and Radarr. It worked pretty well for a while, and my internet speed was high enough to stream without any buffering. But in the end, it wasn’t worth the time or headache of managing all the storage and keeping everything running smoothly.
Now, with this service, everything runs smoothly in 1080p+ with no buffering issues. The interface is really easy to use, which makes managing everything a breeze. Plus, having a whole community of smart people available for guidance is a huge bonus.
I was sold from the start, which is why I quickly upgraded from a 1-month to a 3-month subscription, and I’m planning to switch to a 1-year plan soon. This service totally pays for itself, and I’m sure you won’t be disappointed. It’s been really impressive.
@seapound (Discord)
Best possible options for anyone looking for the do-it-all option along with the best customer service ive experienced in this space so far. Id rate it a 6 if I could but its limited to 5/5...
@hashmelters (Discord)
(responding to a Reddit thread re the cost of ElfHosted vs mainstream streaming / self-hosting):
I didn't know that the goal of this project was to compete with large companies running/renting entire DCs. I was under the impression that the goal of this project was to manage the updating of almost selfhosted applications on a shared platform with other users. Basically, be my sysadmin for me.
That being said, paying for services is the 'easy button'. There is a real world cost incurred for the time saved. Time is money. Time is the most valuable currency that exists. Once time is spent, it's forever lost, one cannot retrieve it again (yet). In my mind, there are 3 options for use of time with respect to: mainstream, selfhosting, elfhosted.
-
mainstream - my time is valuable and I don't want curated content and I don't care what content that I have the ability to consume. I only like what's popular.
-
elfhosted - my time is valuable, I want my own curated content without being forced to browse past the same damn entry 500 times just to find out that I can't watch the movie I want because it's not available in my current location or was removed last week from mainstream providers.
-
selfhost - I care about costs and I have nothing but time to waste or I want to learn about the backend of the systems involved. I'll pay for my own VPS/homelab, electricity, manage the OS, manage app updates, figure out how to make the apps talk nice to each other, create my own beautiful frontend.
I know how much my time is worth, does that reddit poster know how much their time is worth? Without knowing what you are worth, you can't make effective capital expenditures with respect to the time it will take to recoup the capital.
I know I don't need elfhosted at all for my use case. I choose to stay with elfhosted because it's my 'easy button'. It's an efficient capital expense for the amount of time it saves me managing my own hardware, apps and saves me electricity costs. I'm also in a situation where I don't have upload bandwidth from my home to serve HD content to myself remotely. If I lived back in a city, I would still be here. My time is worth $$/hr.
@cobra2 (Discord)
"Just wanted to check in here and let @Darth-Penguini and anyone/everyone else know...WOW. I have been struggling with storage for years, maintenance of Docker containers, upkeep, all of it. Elfhosted is so freeing. It's an amazing service that I hope to be a member of for a long, long time!"
@Fingers91 (Discord)
"I just have to say, I am an incredibly satisfied customer. I had been collecting my own content for nearly 20 years. Starting off with just a simple external HD before eventually graduating to a seedbox with 100TB of cloud storage attached and fully automated processes with Sonarr and Radarr . However, the time came when the glory days of unlimited Google Drive storage ended. I thought my days of having my full collection at my fingertips via :plex: were behind me, until I found Real-Debrid and ElfHosted.
Now I essentially have the exact same access to content as I had before, but even better. Superior support and community involvement. Content is available almost immediately after being identified. A plethora of tools at my fingertips that give me more control and automation than ever before. Wonderfully well done and impressive! I am looking forward to being a customer for a very long time! Massive kudos to @funkypenguin 🤟
@BSM (Discord)
"I would recommend ElfHosted to anyone. It has been great so far and made life a lot easier than running my own setups. If you’re in the fence give them a try and help support this great community."
Zestyclose_Teacher20 (Reddit)
"thanks for the help and must say this is the best host I every had for my server 🙂 10/10 🙂 All other places I have try have I got a lot buff etc. Your host can even give me full power on a 4K Remux on 200GB big movie file . That's damn awesome 😄"
@tjelite (Discord)
"What an amazing support system these guys have Chris and Layzee i think it was! Both are very patient with me even though I am a newbie at all this. Very thorough and explained everything step by step with me
I couldn’t ask for anything better than the service I have received by these guys! Happy happy client❤️"
@dead.potahto (Discord)
"Very happy customer. Great service"
@ronney67 (Discord)
"Very good customer service, frequent updates, and excelent uptime!!!!!"
@ed.guim (Discord)
"I had my own plex-arrs setup on hetzner for years. Yesterday I deleted everything as elfhosted has gone above and beyond it. And it has a fantastic, active community as well! Very friendly, helpful and like-minded folks always willing to help and improve the system. Top notch!"
@alon.hearter (Discord)
"Absolutely Amazed with the patience and professionalism of all Elf-Venger Staff including bossman penguin❤️"
@dead.potahto (Discord)
"@BSM went above and beyond to make sure I had all the one on one support needed with my sub. Thank you for your patience! Elfhosted continues to be Elftastic !!"
@bfmc1 (Discord)
"really enjoying the service from elfhosted. The setup is really easy from the guides on the website. And the help on the discord channel is really quick."
@jrhd13 (Discord)
"Support is amazing, and once you find a setup which works best for you it works perfectly, very happy 😊"
@fiendclub (Discord)
"great fast service, resolved my problem and really friendly"
@allan.st.minimum (Discord)
"Great service and sorted out a billing issue super quick and easy."
@scottcall707 (Discord)
"Very friendly support, resolved a problem with my account! I also appreciate the community that has been built around the service!"
@leo1305 (Discord)
"excellent customer service and very fast replies"
@yo.hohoho (Discord)
"Loved the simplicity, experience and support"
@y.adhish (Discord)
"Very friendly help as always, problem solved, one happy elf here!"
@badfurday0 (Discord)
"Great Helpful and Fast support. Thanks!"
@.mxrcy (Discord)