ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Updating plex on Fedora

    IT Discussion
    plex
    4
    13
    2.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JaredBusch
      last edited by JaredBusch

      Since Plex is not in any repo, you have to install it manually. I thought I had a guide someplace, but I don't see it. I'll write one later for installing.

      Once installed, you should regularly install updates.

      On Fedora, it is quite simple.

      Download the latest build.

      wget -O latest.plex.rpm 'https://plex.tv/downloads/latest/5?channel=16&build=linux-x86_64&distro=redhat'
      

      Install it.

      sudo dnf install -y latest.plex.rpm
      

      That's it.

      Note: if someone know a way to parse the redirected file easily, you could put in a little logic to save the file with the specific version and compare if it is updated or not. It would save repeatedly downloading a 120M file if there is no update.
      Then schedule this to run with systemd

      [jbusch@plex ~]$ wget -O latest.plex.rpm 'https://plex.tv/downloads/latest/5?channel=16&build=linux-x86_64&distro=redhat'
      --2019-11-13 16:16:42--  https://plex.tv/downloads/latest/5?channel=16&build=linux-x86_64&distro=redhat
      Resolving plex.tv (plex.tv)... 99.80.242.242, 99.81.213.165, 99.80.231.223
      Connecting to plex.tv (plex.tv)|99.80.242.242|:443... connected.
      HTTP request sent, awaiting response... 302 Found
      Location: https://downloads.plex.tv/plex-media-server-new/1.18.1.2019-c186313fe/redhat/plexmediaserver-1.18.1.2019-c186313fe.x86_64.rpm [following]
      --2019-11-13 16:16:43--  https://downloads.plex.tv/plex-media-server-new/1.18.1.2019-c186313fe/redhat/plexmediaserver-1.18.1.2019-c186313fe.x86_64.rpm
      Resolving downloads.plex.tv (downloads.plex.tv)... 104.18.157.41, 104.18.156.41, 2606:4700::6812:9c29, ...
      Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.157.41|:443... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 125008165 (119M) [application/x-redhat-package-manager]
      Saving to: ‘latest.plex.rpm’
      
      latest.plex.rpm                  100%[========================================================>] 119.22M  21.5MB/s    in 5.6s    
      
      2019-11-13 16:16:49 (21.3 MB/s) - ‘latest.plex.rpm’ saved [125008165/125008165]
      
      [jbusch@plex ~]$ sudo dnf install -y latest.plex.rpm 
      Dependencies resolved.
      ==================================================================================================================================
       Package                         Architecture           Version                                Repository                    Size
      ==================================================================================================================================
      Upgrading:
       plexmediaserver                 x86_64                 1.18.1.2019-c186313fe                  @commandline                 119 M
      
      Transaction Summary
      ==================================================================================================================================
      Upgrade  1 Package
      
      Total size: 119 M
      Downloading Packages:
      Running transaction check
      Transaction check succeeded.
      Running transaction test
      Transaction test succeeded.
      Running transaction
        Preparing        :                                                                                                          1/1 
        Running scriptlet: plexmediaserver-1.18.1.2019-c186313fe.x86_64                                                             1/2 
        Upgrading        : plexmediaserver-1.18.1.2019-c186313fe.x86_64                                                             1/2 
        Running scriptlet: plexmediaserver-1.18.1.2019-c186313fe.x86_64                                                             1/2 
        Running scriptlet: plexmediaserver-1.18.1.1973-0f4abfbcc.x86_64                                                             2/2 
        Cleanup          : plexmediaserver-1.18.1.1973-0f4abfbcc.x86_64                                                             2/2 
        Running scriptlet: plexmediaserver-1.18.1.1973-0f4abfbcc.x86_64                                                             2/2 
        Verifying        : plexmediaserver-1.18.1.2019-c186313fe.x86_64                                                             1/2 
        Verifying        : plexmediaserver-1.18.1.1973-0f4abfbcc.x86_64                                                             2/2 
      
      Upgraded:
        plexmediaserver-1.18.1.2019-c186313fe.x86_64                                                                                    
      
      Complete!
      [jbusch@plex ~]$ 
      
      1 Reply Last reply Reply Quote 3
      • B
        black3dynamite
        last edited by

        Got the script part done. Just need to create schedule for it.
        https://gitlab.com/black3dynamite/scripts/blob/master/Plex/Upgrade-Plex.sh

        J 2 Replies Last reply Reply Quote 1
        • B
          brandon220
          last edited by

          Perfect timing on this. I have had Plex running on Ubuntu (virtual) and it is time for a hardware refresh. Thought about re-installing on Fedora because I normally use it for everything else. It is the only software that my wife actually cares about, and she manages the movie library. The library is on a NAS so I don't even have to worry about it.

          1 Reply Last reply Reply Quote 0
          • J
            JaredBusch @black3dynamite
            last edited by

            @black3dynamite said in Updating plex on Fedora:

            Got the script part done. Just need to create schedule for it.
            https://gitlab.com/black3dynamite/scripts/blob/master/Plex/Upgrade-Plex.sh

            I assume you could expand this to other systems. But I never checked.

            B 1 Reply Last reply Reply Quote 0
            • J
              JaredBusch @black3dynamite
              last edited by

              @black3dynamite There was an update over night it seems.

              a9caa55d-d768-475e-9de8-dc56474a5274-image.png

              1 Reply Last reply Reply Quote 0
              • J
                JaredBusch
                last edited by

                c52cd9b7-4608-40b4-89d1-14a294bb6b76-image.png

                1 Reply Last reply Reply Quote 0
                • J
                  JaredBusch
                  last edited by

                  @black3dynamite I don't like the clear. I hate shit that nukes my scroll history. Obviously as something meant to be automated, that should not even matter.

                  Just a personal preference.

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    black3dynamite @JaredBusch
                    last edited by

                    @JaredBusch said in Updating plex on Fedora:

                    @black3dynamite I don't like the clear. I hate shit that nukes my scroll history. Obviously as something meant to be automated, that should not even matter.

                    Just a personal preference.

                    So many trial by error creating the script, I added the clear command just for convenience.

                    1 Reply Last reply Reply Quote 1
                    • B
                      brandon220
                      last edited by

                      What are the benefits of systemd over cron considering cron is/seems more simple?

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        JaredBusch @brandon220
                        last edited by

                        @brandon220 said in Updating plex on Fedora:

                        What are the benefits of systemd over cron considering cron is/seems more simple?

                        Most notably is that cron is not even installed on modern Fedora systems.

                        Cron is not really any more or less simple. There are simply decades of examples.

                        B 1 Reply Last reply Reply Quote 2
                        • B
                          brandon220 @JaredBusch
                          last edited by

                          @JaredBusch Understood. Systemd definitely looks like it has a lot more flexibility and options. I'm going to switch some cron jobs over and see how it goes.

                          1 Reply Last reply Reply Quote 0
                          • NashBrydgesN
                            NashBrydges
                            last edited by

                            Out of curiosity, what resources are you assigning to your Plex server vm (assuming it's a VM). How many concurrent streams and what types of streams (ie: 1080P, 4K, high/med/low bitrates)?

                            1 Reply Last reply Reply Quote 0
                            • B
                              black3dynamite @JaredBusch
                              last edited by

                              @JaredBusch said in Updating plex on Fedora:

                              @black3dynamite said in Updating plex on Fedora:

                              Got the script part done. Just need to create schedule for it.
                              https://gitlab.com/black3dynamite/scripts/blob/master/Plex/Upgrade-Plex.sh

                              I assume you could expand this to other systems. But I never checked.

                              Right now its set up for Fedora and maybe CentOS 8.

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post