Just a quick one. If you happen to run HAProxy for well, proxying, and you run Ombi (which is a frontend request app for Plex, if you don’t know google it) then you are aware of the recent update to v4. While v4 looks very nice I feel like they took away some vital features or at least moved em to where I cannot find them. But anyhow, the recent v4 update seems to have broken HAProxy and it will not display properly anymore. If you run the 503 maintenance code message for when issues poop up then you will see that message.
The fix seems to very simple. Just change the health check to basic instead of HTTP and add a huge timer and all will be well. Not exactly sure what changed here but that change got my system back to functioning.
Isn’t it? Always. Life cannot just fucking go on. So after the server tear down the other day I needed to install something to replace ClearOS, I decided that it was to be Ubuntu 16.04 LTS. Ubuntu ain’t bad (I like it) and I am comfortable with it, it usually works no problems, and has tons of support. Cool. Used it many times before. So mundane install complete, nothing fancy here unless you like dealing with partitions – which I fucking don’t. There’s always that feeling that you are about to wipe everything you own accidentally.
So new Ubuntu 16.04 LTS installed, no issues (fuck you Clear). Great now what, time to reinstall all the other shit I guess. SSH for my life to work, Transmission for torrenting, Apache2 for web schtuff (you’re reading it) and I think thats it. Oh Plex, Plex Media Server (PMS a fitting fucking name so far). Which is great. Fucking love it. It’s Netflix for your own collection. Currently up to 357 titles! Woot. I always had issues with Plex on ClearOS (no shit). It would never update. Ever. Well all that mess is done with right? HA! Fooled you! So Plex loaded up just fucking fine last night. Great. Even finished grinding through the catalogue again, new images and such. I even watched a fucking movie last night. So this morning, when I wake up and the kids want to watch a cartoon. Plex right? HAHAHA! Why the fuck would you think it would be working for you?
Apache2 down. SSH can’t tunnel in. Plex laughing in my face and won’t load. I am about 30 seconds from literally burning down this god damn computer. I have seriously fucking had it ad am starting to think there are maybe hardware issues that are fucking with me. There has to be a reason shit is constantly burning in my life. I am so close to tossing all my shit on a paid server and being fucking DONE. Need to walk away. Walk away. For like 6 months. FUCK. I would knee cap a motherfucker for a stable working server right now, just point out the poor bastard.
And then the fucking fax line goes out… are you fucking serious right now?
Everything worked fine 100% last night. Zero issues. Apparently technology is giving me a big middle finger today. My cellphone provider is telling me I used 15gb of data in just a few hours and then Plex decided to stop working out of the blue – won’t load at all. So I logged into my ClearOS 6.5 server to see what’s going on, no its not disabled, apparently Plex decided it didn’t want to be here anymore and deleted itself. Sweet! So I had to browse the market at reinstall Plex (I have had to do this once before if I remember correctly).
Plex reinstalled all is well? Hahaha NO. So after the reboot of the server ClearOS also decided to change its primary NIC. What the fuck is wrong with you Clear? I have five (5) ethernet ports (two cards). One 1000gb on-board and another Intel Pro/1000 Quad-Port PCI-E ethernet card. The on-board is the NIC for the modem and the quad card was all my internal stuff. Was using one port to go to the switches and I have been trying to get a Hot-LAN to work with no success – won’t give me DHCP. My internal IP is X.X.X.1 (others are .11-14), after the reboot the system decided to dump everything on .13 as if it were my primary. Why did you do that? I had to delete ALL of the active NIC settings on the ClearOS machine boot screen and re-add them back in. I only added the .1 address to speed things up and not cause issue. And then another reboot.
Now things appear to finally be back to where they were last night – working. After reconfiguring the NICs and waiting a few minutes after the reboot Plex is back as well. Now…what the fuck happened? Wasn’t an update, Plex is still complaining about needed one…
(These directions should work on most linux installs of Plex)
I have kids, three of them. This makes actually hearing a movie or TV show damn near impossible, so I usually have the subtitles on – you get used to it after a while.
Since I have been using Plex (before on Zentyal and now on ClearOS) I have been manually downloading subtitles from Subscene.com and adding them to specific Plex movies as I watch them. A tedious process. I already have my system set to automatically download my torrents directly to the media folders, then Plex auto refreshes and the movies are good to go (works for the most part, I need to work out some permission issues). Now I have found a way to automate the subtitle process. I just got it working so I have not tested it fully yet. But so far it appears to be working.
Go here for the Plex plugin
On ClearOS 6.5 the plexmediaserver folder is located at
(this seems to be the location for most Linux based Plex installs)
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/
Just add it to your plugin folder (may need to change permissions).
- Then open Plex in a browser.
- Go to your Plex SERVER SETTINGS > AGENTS.
- From there click on Movies or TV Shows and your new plugin should appear under Freebase or TheTVDB.
- Configure how you like from there.
- When done with settings, go into Tv and Movies and force a library refresh, this should update your existing movies/shows with subtitles.
Oh, and it’s not my fault if you break something…
UPDATED 2-11-2017: It seems the original Plex Subscene plugin I was using and mentioned in this post is no longer available at Github. The page has also been removed. I found this https://github.com/pannal/Sub-Zero.bundle/releases in my searches while looking for a replacement. It is a different plugin called Sub-Zero. It does much more than the plugin mentioned in this post. Download that one and give it a shot. If you get stuck check out this blog for help https://blog.rylander.io/2016/02/26/install-sub-zero-a-plex-plug-in-based-on-subliminal-to-download-subtitles/.
sudo apt-get install avahi-daemon
sudo nano /etc/apt/sources.list
Then add “deb http://www.plexapp.com/repo lucid main” to the file.
Edit for saucy
sudo apt-get update
sudo apt-get install plexmediaserver
sudo wget http://downloads.plexapp.com/plex-media-server/0.9.9.12.504-3e7f93c/plexmediaserver_0.9.9.12.504-3e7f93c_amd64.deb
sudo dpkg -i plexmediaserver_0.9.9.12.504-3e7f93c_amd64.deb
for further integration install a torrent client, such as transmission, and download your files straight from the server on to the server. Configure Plex to auto update every so often and bam! If you don’t already know Plex also has apps for Android, iPhone, Kindle and Roku. The DLNA portions works well with Smart TVs and Playstations as well. Happy streaming.