Skip to content

Installation Open Media Vault

Dean Gardiner edited this page Mar 20, 2017 · 8 revisions

Table of Contents:

Preparation

(steps required for both installation methods)

Ensure unzip has been installed

sudo apt-get install unzip

Installation

Install: Unsupported AppStore (v2)

  1. Download the latest release of the WebTools plugin from here

  2. Extract the downloaded ZIP archive

    unzip WebTools.bundle.zip
  3. Copy the WebTools.bundle folder to the Plug-ins folder on your system:

    sudo cp -r WebTools.bundle "/media/<Drive>/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/"

    The correct path can be found in the "Plex Media Server" section of the web interface:

    If the /media/ path doesn't work, try install WebTools.bundle to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/

  4. Restart Plex Media Server

    sudo /etc/init.d/plexmediaserver restart
  5. Open the WebTools interface at http://<System IP>:33400 or http://<System IP>:33443 and login with your Plex.tv account

  6. Open the "Unsupported AppStore" module:

  7. Find the "Trakt.tv" plugin listed under "Application", and click "Install":

  8. The "Trakt.tv" plugin should appear at Plex/Web -> Channels in about one minute. (but can vary depending on the speed of your system)

    If the plugin doesn't appear after waiting a few minutes: the plugin may not be installed correctly, or has crashed on startup. Please post an issue here with the latest plugin log file for support.

  9. Configure the plugin by clicking on the plugin settings button at Plex/Web -> Channels:

Install: Manual

  1. Download the latest release of the Trakt.tv plugin

    • Stable (recommended)

      wget https://github.com/trakt/Plex-Trakt-Scrobbler/archive/master.zip -O Plex-Trakt-Scrobbler.zip
    • Beta

      wget https://github.com/trakt/Plex-Trakt-Scrobbler/archive/beta.zip -O Plex-Trakt-Scrobbler.zip
    • Development

      wget https://github.com/trakt/Plex-Trakt-Scrobbler/archive/develop.zip -O Plex-Trakt-Scrobbler.zip
  2. Extract the downloaded ZIP archive

    unzip Plex-Trakt-Scrobbler.zip
  3. Copy the Trakttv.bundle folder to the Plug-ins folder on your system:

    sudo cp -r Plex-Trakt-Scrobbler-*/Trakttv.bundle "/media/<Drive>/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/"

    The correct path can be found in the "Plex Media Server" section of the web interface:

  4. Restart Plex Media Server

    sudo /etc/init.d/plexmediaserver restart
  5. The "Trakt.tv" plugin should appear at Plex/Web -> Channels in about one minute. (but can vary depending on the speed of your system)

    If the plugin doesn't appear after waiting a few minutes: the plugin may not be installed correctly, or has crashed on startup. Please post an issue here with the latest plugin log file for support.

  6. Configure the plugin by clicking on the plugin settings button at Plex/Web -> Channels:

Fixes

Fix: Permissions

Copying the plugin into the Plug-ins folder may result in incorrect permissions on the Trakttv.bundle folder, permissions can be fixed with the following steps:

  1. Determine the user + group which has ownership of Plex Media Server:

    stat --format '%U:%G' "/media/<Drive>/plexmediaserver/Library/Application Support/Plex Media Server"
  2. Update ownership of the Trakttv.bundle folder

    sudo chown -R plex:plex "/media/<Drive>/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle"

    (Replace plex:plex with the output from step 1)

  3. Update permissions on the Trakttv.bundle folder

    sudo chmod -R 770 "/media/<Drive>/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle"

Fix Error: failed to map segment from shared object: Operation not permitted

This error occurs when the plugin is installed on a mount point with the noexec flag set, one of the workarounds below should resolve this issue.

Workaround One

  1. Create a new libraries cache directory on your system drive (can be located anywhere on the drive)

    sudo mkdir -p "/var/lib/tfp/libraries"
  2. Update ownership (to the user running Plex Media Server)

    sudo chown plex:plex "/var/lib/tfp/libraries"
  3. Update permissions

    sudo chmod -R 770 "/var/lib/tfp/libraries"
  4. Navigate to the following directory (either via SSH, or other means):

    /media/<Drive>/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.plugins.trakttv
    
  5. Create the advanced.ini file inside this directory with the following contents:

    [libraries]
    cache_path = /var/lib/tfp/libraries
    
  6. Restart Plex Media Server

    sudo /etc/init.d/plexmediaserver restart

Workaround Two

  1. Create a new native libraries directory on your system drive (can be located anywhere on the drive)

    sudo mkdir -p "/var/lib/tfp/libraries"
  2. Copy native libraries into the directory for your system:

    sudo cp -r "/media/<Drive>/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle/Contents/Libraries/Linux" "/var/lib/tfp/libraries/"
  3. Ensure native libraries have the "execute" permission set:

    sudo find "/var/lib/tfp/libraries" -name "*.so" -exec chmod +x {} \;
  4. Navigate to the following directory (either via SSH, or other means):

    /media/<Drive>/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.plugins.trakttv
    
  5. Create the advanced.ini file inside this directory with the following contents:

    [libraries]
    libraries_path = /var/lib/tfp/libraries
    
  6. Restart Plex Media Server

    sudo /etc/init.d/plexmediaserver restart