Upgrade Plex Media Server with PlexPass on LibreElec via Command Line

Since I recently replaced my Xtreamer Ultra 2 with a shiny Xtreamer Wonder Pro (warning: do not get the WonderPro, as Xtreamer has locked down firmwares, and you will not be able to upgrade to anything else), I decided to repurpose my Xtreamer Ultra 2 as a dedicated Plex Media Server with PlexPass to provide media across the house for everyone:

Upgrade Plex Media Server with PlexPass on LibreElec via Command Line

For the first part of the installation it is best to have the Xtreamer Ultra 2 connected to a TV. I first started off with the installation of the Krypton release of LibreElec which was as simple as downloading the USB creator tool and then writing the image to flash disk (follow this to boot the Xtreamer into BIOS).

Automatically mounting NFS volumes

Once you have completed the installation process, open up a terminal session to your Xtreamer via ssh -l root <MediaCentreIP> (the password is librelec). As the next step we will mount our media (in my case all media resides on a Synology NAS with IP 172.16.0.97 – adjust the below accordingly) by creating mount-files in /storage/.config/system.d/:

Important: You can create multiple mount-files, but it is important that the file must be named to <mountpoint>.mount where <mountpoint>, is the FULL path where the share will be mounted but slashes “/” MUST BE REPLACED with dashes “-” with .mount as extension. This means, if we want mount to “/storage/synologyseries” (see above “Where=/storage/synologyseries”) then the file must be named ‘/storage/.config/system.d/storage-synologyseries.mount’ and can be enabled via ssh with the command ‘systemctl enable storage-synologyseries.mount’.

Installing the Plex Media Server Plugin

Install the Plex Media Server Plugin manually – in my case I downloaded the plugin and then installed via the XBMC GUI – be patient as this  can take a good minute to complete. Reboot the Xtreamer (you can do this via the command reboot from the terminal) and once rebooted, verify that Plex has started via the URL http://YOURIP:32400/web/index.html.

Configure Plex Media Server, your libraries and users.

Upgrading Plex Media Server via the command line

Plex will frequently upgrade the media server and it is worthwhile to occasionally check for updates via the Plex GUI (in the server section):

I typically download and run the update via the command-line as it is very fast and requires the replacement of files within the downloaded plugin:

The above commands will download the Plex Media Server update from Plex (replace the URL with the most recent version), extract the files, stop Plex server, move the files into place and then restart Plex Media Server.

Print Friendly
  • CharlieCnr

    Thanks a lot. Now I can update my plex server myself !

  • Luca Luberti

    But I need to have a plexplass subscription for this upgrade?