Installing Plex Media Server on openSUSE Leap 15

Unfortunatelly, there is no version of openSUSE that is supported by the Plex Media Server.

This tutorial assumes the following:

  1. you have a current version of openSUSE Leap 15
  2. have basic knowledge of Linux systems

Steps to take to install PlexMediaServer(PMS) on openSUSE Leap 15:

  1. download PMS for CentOS 64 bit from
  2. verify the file is not corrupted
    1. run sha1sum on the downloaded file and compare it with the SHA-1 Checksum provided
  3. download the gpg key from
    1. $ wget
  4. move the gpg key to the /var/cache/zypp/pubkeys
    1. $ sudo mv PlexSign.key /var/cache/zypp/pubkeys
  5. install PMS using zypper
    1. $ sudo zypper in plexmediaserver-
  6. installation will fail with an error specifying chown: invalid group: ‘plex:plex’
    1. the installation fails because the plex group does not exit
    2. the groupĀ plex is missing and before we continue, we must create it
    3. before we create a new plex group, lets make sure that:
      1. plex group indeed does not exist
      2. we have a plex user available
      3. ## list all users 
        $ cat /etc/passwd 
        plex:x:458:100:RPM Created PlexUser:/var/lib/plexmediaserver:/sbin/nologin
        ## list all groups 
        $cat /etc/groups
    4. if you don’t see a plex group, lets create one
      1. ## in this case I am explicitly giving the plex group 
        ## a group ID of 458, to match the user ID.
        ## if the group ID is not available, you can choose to
        ## omit the -g option, and have the OS pick a new ID.
        $ sudo groupadd -g 458 plex
    5. verify that the plex user and group exist
    6. add plex user to the plex group
      1. $ usermod -aG plex plex
    7. PMS needs to have access to the following directory:
      1. /var/lib/plexmediaserver
      2. we are going to change the ownership tp plex:plex
        1. $ sudo chown -R plex:plex /var/lib/plexmediaserver
          ## by default, the plex user has write permission to the directory
          ## by default, the plex group has no rite permission, only read and execute
    8. now the installation is complete, we can enable and start the plex service
        1. ## enable the plex service
          $ sudo systemctl enable plexmediaserver.service
          ## start the plex service
          $ sudo systemctl start plexmediaserver.service
          ## check to make sure the service is running
          $ sudo systemctl status plexmediaserver.service
    9. configure your new Plex Media Server
    10. go to http://localhost:32400/web
    11. congratulations!

Note: openSUSE Leap 15 “server” mode (no GUI)

If you install Plex Media Server on openSUSE Leap 15 in “server” mode you might get the following error when trying to enable the plex service:

/sbin/insserv: No such file or directory

If that happens install the following package:

$ sudo zypper in insserv-compat-0.1-lp150.2.1.noarch