SBN - Media Server Notes

From The TinkerNet Wiki
Jump to navigation Jump to search

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...

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...