Difference between revisions of "SBN - Media Server Notes"

From The TinkerNet Wiki
Jump to navigation Jump to search
(Created page with "== Installing Plex == [https://www.plex.tv/ Plex] [https://www.howtoforge.com/tutorial/how-to-install-and-setup-plex-media-server-ubuntu-1604/ Installation & setup according...")
 
Line 1: Line 1:
== Installing Plex ==
+
==Installing Plex==
 
[https://www.plex.tv/ Plex]
 
[https://www.plex.tv/ Plex]
  
Line 10: Line 10:
 
open [http://MediaServer:32400/web MediaServer:32400/web] & follow the instructions...
 
open [http://MediaServer:32400/web MediaServer:32400/web] & follow the instructions...
  
== Managing the Plex Server ==
+
==Managing the Plex Server==
  
=== 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==
=== Phlex (integrating Plex with Google Home) ===
+
===Phlex (integrating Plex with Google Home)===
  
 
[https://forums.plex.tv/discussion/252910/wip-google-home-plex-integration-and-couchpotato-and-sonarr#latest Flex TV]
 
[https://forums.plex.tv/discussion/252910/wip-google-home-plex-integration-and-couchpotato-and-sonarr#latest Flex TV]
Line 29: Line 29:
 
<span style="font-size:smaller">[https://www.apachefriends.org/faq_linux.html XAMPP Linux FAQ]</span>
 
<span style="font-size:smaller">[https://www.apachefriends.org/faq_linux.html XAMPP Linux FAQ]</span>
  
*Download the latest XAMPP  
+
*Download the latest XAMPP
*<code>chmod 755 xampp-linux-*-installer.run</code>  
+
*<code>chmod 755 xampp-linux-*-installer.run</code>
*<code>sudo ./xampp-linux-*-installer.run</code>  
+
*<code>sudo ./xampp-linux-*-installer.run</code>
*XAMPP is now up & running  
+
*XAMPP is now up & running
*(installs in '''/opt/lampp)'''  
+
*(installs in '''/opt/lampp)'''
*point a browser at [http://Draal Draal]  
+
*point a browser at [http://Draal Draal]
*You should see the default XAMPP page  
+
*You should see the default XAMPP page
  
 
Installing [https://github.com/d8ahazard/Phlex Phlex]
 
Installing [https://github.com/d8ahazard/Phlex Phlex]
  
*grab the [https://github.com/d8ahazard/Phlex/archive/master.zip Phlex stuff from github]  
+
*grab the [https://github.com/d8ahazard/Phlex/archive/master.zip Phlex stuff from github]
*&nbsp;  
+
*&nbsp;
*extract the whole silly thing to the '''/opt/lampp/htdocs/Phlex''' folder  
+
*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... <span style="font-size:larger">'''ugly!'''</span>  
+
*Seems to need permissions fixed... '''chmod -R ugo+rwx /opt/lampp''' seems to do it... <span style="font-size:larger">'''ugly!'''</span>
  
 
Configuration
 
Configuration
  
*point a browser at [http://Draal/Phlex Draal/Phlex]  
+
*point a browser at [http://Draal/Phlex Draal/Phlex]
*log in using your Plex user credentials  
+
*log in using your Plex user credentials
*click the little gear icon  
+
*click the little gear icon
*Public Address is automatically set to [http://draal/Phlex http://draal/Phlex]
+
*Public Address is automatically set to http://draal/Phlex
*'''It Fails'''  
+
*'''It Fails'''
 +
 
 +
===[http://kodi.wiki/view/Main_Page Kodi Media Center]===
  
=== [http://kodi.wiki/view/Main_Page Kodi Media Center] ===
 
 
*[https://www.tvaddons.ag/kodi-addons/show/plugin.video.exodus/ Exodus]
 
*[https://www.tvaddons.ag/kodi-addons/show/plugin.video.exodus/ Exodus]
  
== Troubleshooting Plex oddities ==
+
==Troubleshooting Plex oddities==
=== Rule #1 ===
+
===Rule #1===
 
People on the Internet are stupid.  Don't trust them to have valid answers to simple questions.
 
People on the Internet are stupid.  Don't trust them to have valid answers to simple questions.
=== Plex Error Code s1001 ===
+
===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.
+
*'''Check the file FIRST'''
* There is '''NEVER''' a need to remove plex & reinstall with an outdated version.
+
**If it's unreasonably small...  This might be a hint you should go find a repack to download.
* The Plex database rarely gets corrupted unless something seriously bad has happened to your server.
+
*There is '''NEVER''' a need to remove plex & reinstall with an outdated version.
=== Plex can easily Run Out of Space & Die. ===
+
*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!  
 
*Plex puts its datastore in /var/lib... & it's BLOODY HUGE!  
 
**(This is easy to solve... but do it BEFORE populating the libraries)
 
**(This is easy to solve... but do it BEFORE populating the libraries)
=== Plex fails to see Some of the Media ===
+
 
 +
===Plex fails to see Some of the Media===
 +
 
 
*Plex needs specific permissions on datastores (particularly mounted volumes).  
 
*Plex needs specific permissions on datastores (particularly mounted volumes).  
 
**sudo chmod -R ugo+rwX /mnt/foobar
 
**sudo chmod -R ugo+rwX /mnt/foobar
=== Plex displays incorrect information about media... ===  
+
 
 +
===Plex displays incorrect information about media...===  
 +
 
 
*[https://support.plex.tv/articles/201018497-fix-match-match/ Fix Match / Match]
 
*[https://support.plex.tv/articles/201018497-fix-match-match/ Fix Match / Match]

Revision as of 00:33, 4 August 2021

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