2017. augusztus 5.

How to completely remove Plex Media Server?

Source: https://support.plex.tv/hc/en-us/articles/201941078-Uninstall-Plex-Media-Server

  1. Shut down Plex Media Server
    service plexmediaserver stop
  2. Remove the installed package
    dpkg -r plexmediaserver
  3. Remove the library directory of plex
    rm -R /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/
But then, when I wanted to reinstall it, I ran into some errors, and the solution was to make sure that the /var/lib/plexmediaserver folder exists and the plex:plex user/group has owner access to it:
sudo mkdir /var/lib/plexmediaserver
sudo addgroup plex
sudo adduser plex plex
sudo chown plex:plex /var/lib/plexmediaserver