Manually update your Plex Media Server on Freenas

In this tutorial, i show you how to manually update your Plex Media Server on Freenas without relying on the developers of the Plex plugin of Freenas to release a new version. 

It seems that sometimes the Plex Plugin gets updated very close to a new Plex release and sometimes it doesn’t.

If you don’t want to wait until the Plex Freenas Plugin dev’s release a new version, there’s another way how to update your Plex on Freenas straight away.

The Github script will pull the newest release directly from Plex, so you could also implement a script to do that for you.

As always there is also a YouTube step-by-step video on how to manually update your plex media server on freenas.

Want to build your own FreeNAS Server?? Check out my build!

Follow these steps to run the update, credits to Github user Mstinaff to provide the script.

1 - Connect to your FreeNAS Server via SSH or open the Shell via Web GUI
2 - Type: jls and note the # of your Plex Media Server Jail
3 - Type: jexec #jailnumber csh (for example: jexec 1 csh)
4 - Type: fetch -o PMS_Updater.sh https://raw.githubusercontent.com/mstinaff/PMS_Updater/master/PMS_Updater.sh
5 - Type: chmod 755 PMS_Updater.sh
6 - Type: ./PMS_Updater.sh -vv -a
7 - Done! You are on the newest version again.

 

How to install Plex on a Jail in Freenas: Tecmint

Github Script: https://raw.githubusercontent.com/mstinaff/PMS_Updater/master/PMS_Updater.sh

If this article was helping you, please consider support me and buy via my Amazon Affiliate Program. It gives me a small provision and helps me to keep content coming – With Zero extra cost for you.

Recommended Freenas Components:

Please follow and like us:

28 thoughts on “Manually update your Plex Media Server on Freenas

    • January 19, 2017 at 2:16 pm
      Permalink

      Thanks! Glad it could help you 🙂

      Reply
  • February 2, 2017 at 10:23 pm
    Permalink

    Hi, I get errors about directories that are missing and such, any assistance welcomed and appreciated!

    root@plex:/ # ./PMS_Updater.sh -vv -a
    ./PMS_Updater.sh: /usr/pbi/plexmediaserver-amd64/share/plexmediaserver/Plex Medi
    a Server: not found
    Using URL https://plex.tv/api/downloads/1.json?channel=plexpass
    Downloading https://plex.tv/api/downloads/1.json?channel=plexpass
    ./PMS_Updater.sh: wget: not found
    Error downloading https://plex.tv/api/downloads/1.json?channel=plexpass
    root@plex:/ #

    Reply
  • February 12, 2017 at 2:42 pm
    Permalink

    BAM! Worked like a champ. Thanks!!

    Reply
    • February 12, 2017 at 4:25 pm
      Permalink

      Very welcome 🙂

      Reply
  • February 13, 2017 at 11:39 pm
    Permalink

    Worked amazingly well!

    Reply
    • March 18, 2017 at 10:13 am
      Permalink

      You are welcome!

      Reply
  • February 19, 2017 at 4:41 am
    Permalink

    Now I can’t access my Plex Media Server interface. 🙁 How do I troubleshoot this?

    Reply
    • February 19, 2017 at 4:47 am
      Permalink

      I just restarted my jail and all works great! Thanks!

      Reply
      • March 18, 2017 at 10:13 am
        Permalink

        Welcome 🙂

        Reply
  • February 27, 2017 at 2:03 am
    Permalink

    Freenas GUI still shows old plugin version and claims I need an update after this manual install method. Any way to fix?

    Reply
    • March 18, 2017 at 10:12 am
      Permalink

      It may show the old version but Plex should be on the newest. At least for me.

      Reply
    • March 18, 2017 at 10:10 am
      Permalink

      Very welcome buddy!

      Reply
  • March 21, 2017 at 3:54 pm
    Permalink

    Thanks it worked great to roll me forward when the freenas plugin the GUI installed was buggy with its TVDB matching!

    Reply
  • April 3, 2017 at 11:05 am
    Permalink

    Hey, this appears to have stopped working with the latest plex pass build 1.5.2- the url used to scrape build information no longer appears to include plexpass builds?

    Reply
    • April 3, 2017 at 11:10 am
      Permalink

      Fix until the script is updated:

      1) Goto https://www.plex.tv/downloads/ turn on ‘Plex Pass Downloads’ and select ‘FreeBSD’ from the drop down
      2) Copy the url of the ‘DOWNLOAD 64-BIT’ button
      3) SSH into your FreeNAS box
      4) Follow steps 1-4 of the above article
      5) Execute: fetch -o PlexBuild.tar.bz2 {PateInURLCopiedEarlier}
      6) Execute: ./PMS_Updater.sh -l PlexBuild.tar.bz2 -vv -a

      Done!

      Reply
      • April 7, 2017 at 8:55 am
        Permalink

        Cool! Thanks for the info!

        Reply
      • May 28, 2017 at 1:38 am
        Permalink

        Trying to update also.

        I followed your above instructions for the fix until the script is updated. All went fine through step 5. I get ‘Permission denied.’ when I entered step 6.

        Ideas?

        Reply
      • May 28, 2017 at 1:57 am
        Permalink

        Your Step 4 should actually read Follow steps 1-5 of the above article. If you don’t execute the CHMOD from step 5 you’ll get a permission error.

        Otherwise it worked like a champ!

        Thanks!

        -Rob

        Reply
        • June 6, 2017 at 10:56 am
          Permalink

          Thanks for the info!

          Reply
    • April 25, 2017 at 8:45 am
      Permalink

      You are welcome 🙂

      Reply
  • Pingback: How to become a better System Administrator -

  • July 15, 2017 at 3:36 pm
    Permalink

    I have followed the comments here and even installed the link directly. It appears to run and says that it has completed and please is on the latest version.

    I even restarted the jail manually

    In the plex gui under server it still has the old version number and says to download the update.

    I am on the new version 11 of FreeNAS.

    Reply

Leave a Reply

%d bloggers like this: