Difference between revisions of "SBN - Media Server Notes"

From The TinkerNet Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
Just download the .deb file of the latest version
 
Just download the .deb file of the latest version
  
open [http://MediaServer:32400/web MediaServer:32400/web] & follow the instructions...
+
<s>open [http://MediaServer:32400/web MediaServer:32400/web] & follow the instructions...</s>
 +
 
 +
'''BROKEN News:'''  As of 2022/05/24, it appears you have to access the media server by '''IP''' not '''FQDN''' or it won't let you do the configuration...
  
 
==Managing the Plex Server==
 
==Managing the Plex Server==
Line 14: Line 16:
 
===Commands to Manually Start and Stop Plex via SSH on Linux===
 
===Commands to Manually Start and Stop Plex via SSH on Linux===
  
* sudo service plexmediaserver start
+
*sudo service plexmediaserver start
  
* sudo service plexmediaserver stop
+
*sudo service plexmediaserver stop
  
* sudo service plexmediaserver restart
+
*sudo service plexmediaserver restart
  
 
==Work In Progress==
 
==Work In Progress==
Line 79: Line 81:
  
 
*[https://support.plex.tv/articles/201018497-fix-match-match/ Fix Match / Match]
 
*[https://support.plex.tv/articles/201018497-fix-match-match/ Fix Match / Match]
 +
 +
===Plex refuses to beleive it's connected to the internet===
 +
 +
Sometimes, when I try to tell it to "Scan Library Files", it pops up a dialog saying:
 +
 +
"An internet connection is required to scan library files. Please check this server's connection and try again."
 +
 +
This is kinda sill when you figure it needs to be online for me to connect to it.
 +
 +
====Solution:====
 +
 +
SSH into the server & enter:
 +
 +
*sudo service plexmediaserver restart

Latest revision as of 14:10, 25 May 2022

Installing Plex

Plex

Installation & setup according to HowToForge

Or...

Just download the .deb file of the latest version

open MediaServer:32400/web & follow the instructions...

BROKEN News: As of 2022/05/24, it appears you have to access the media server by IP not FQDN or it won't let you do the configuration...

Managing the Plex Server

Commands to Manually Start and Stop Plex via SSH on Linux

  • sudo service plexmediaserver start
  • sudo service plexmediaserver stop
  • sudo service plexmediaserver restart

Work In Progress

Phlex (integrating Plex with Google Home)

Flex TV

Using XAMPP

XAMPP Linux FAQ

  • Download the latest XAMPP
  • chmod 755 xampp-linux-*-installer.run
  • sudo ./xampp-linux-*-installer.run
  • XAMPP is now up & running
  • (installs in /opt/lampp)
  • point a browser at Draal
  • You should see the default XAMPP page

Installing Phlex

  • grab the Phlex stuff from github
  •  
  • extract the whole silly thing to the /opt/lampp/htdocs/Phlex folder
  • Seems to need permissions fixed... chmod -R ugo+rwx /opt/lampp seems to do it... ugly!

Configuration

  • point a browser at Draal/Phlex
  • log in using your Plex user credentials
  • click the little gear icon
  • Public Address is automatically set to http://draal/Phlex
  • It Fails

Kodi Media Center

Troubleshooting Plex oddities

Rule #1

People on the Internet are stupid. Don't trust them to have valid answers to simple questions.

Plex Error Code s1001

  • Check the file FIRST
    • If it's unreasonably small... This might be a hint you should go find a repack to download.
  • There is NEVER a need to remove plex & reinstall with an outdated version.
  • The Plex database rarely gets corrupted unless something seriously bad has happened to your server.

Plex can easily Run Out of Space & Die.

  • Plex puts its datastore in /var/lib... & it's BLOODY HUGE!
    • (This is easy to solve... but do it BEFORE populating the libraries)

Plex fails to see Some of the Media

  • Plex needs specific permissions on datastores (particularly mounted volumes).
    • sudo chmod -R ugo+rwX /mnt/foobar

Plex displays incorrect information about media...

Plex refuses to beleive it's connected to the internet

Sometimes, when I try to tell it to "Scan Library Files", it pops up a dialog saying:

"An internet connection is required to scan library files. Please check this server's connection and try again."

This is kinda sill when you figure it needs to be online for me to connect to it.

Solution:

SSH into the server & enter:

  • sudo service plexmediaserver restart