Damit der Plex Media Server seine Dienste per Zeroconf (Bonjour für die Apple User) an die iOS Devices und Macs preisgibt, muss zuerst avahi installiert werden. Das ist die Zeroconf Umsetzung für Linux. Weiter Infos bei Wikipedia. Diese Abhängigkeiten werden bei der Installation von Plex automatisch mit installiert.
Die Source-Datei für Plex erstellen und aptitude aktualisieren:
sudo echo 'deb http://www.plexapp.com/repo lucid main' >> /etc/apt/sources.list.d/plexapp.list sudo aptitude update sudo aptitude install plexmediaserver
Danach ist der Plex Media Server unter folgender URL erreichbar:
Weitere Infos zum Plex Media Server und zur Bedienung findet man direkt auf der Homepage. Wie man eine bestehende Library umzieht (In meinem Fall weg vom alten Server), steht hier.
Moving a Database from one Server to another
Moving the Plex Media Server database from one Server to another is fairly simple. There is a trick to set the new path to the media, and restoring Plug-in bundles. The idea is to copy the entire contents of the database to the new location, reset the Section source and then ’show‘ the new Plex Media Server the media.
Step 1 – Copy the Source database to the Destination
On both Source and Destination computer, make sure PMS is not running. On a PC, enable Show Hidden Files and Folders to see the AppData folder.
- From a Mac, copy the contents of ~/Library/Application Support/Plex Media Server EXCEPT the Plug-ins folder
- From a PC, copy the contents of ~AppDataLocalPlex Media Server EXCEPT the Plug-ins folder
- To a Mac, copy the files to ~/Library/Application Support/Plex Media Server
- To a PC, copy the files to ~AppDataLocalPlex Media Server
‚~‘ is your Home directory. For large libraries, this will take quite some time.
Step 2 – Start the new Plex Media Server
- Start the Plex Media Server on the new computer
- Watch the empty Plug-ins and notice that new Plug-in bundles are created
Step 3 – Check the new Library
- Launch the Media Manager. If the Plex Media Server is still busy re-creating things it may take a little longer than usual to launch
- Once launched, you should see your previous library however all the paths will be broken
Step 4 – Add the new path to the Section
- Choose the Section you want to update
- Click Edit Section – a sheet will slide down
- Click the + button and add the new media path
- Select the old path then click the – button to remove the old media path
- Click Update Section
Note – if you can’t click Update Section, make sure you didn’t copy the Plug-ins folder from source computer. If you did, quit Plex Media Server, delete the ‚Plug-ins‘ folder and re-start PMS again.
Step 5 – Deep-scan the Section
- Launch the Media Manager, Option-click the Refresh button at the bottom right of the window
- Using the Web UI, Option/Alt-click the Refresh button at the bottom right of the window
- Let the refresh complete