SBN - Media Server Notes
Jump to navigation
Jump to search
Contents
Installing 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)
Using XAMPP
- 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