(Fix) Failed to execute XPath query '//services/plexmediaserver'.

    • OMV 3.x
    • (Fix) Failed to execute XPath query '//services/plexmediaserver'.


      i already read threads like Failed to execute XPath query '//services/plexmediaserver'. and know how to fix this.

      If you reinstall Plex, you will get the error "Failed to execute XPath query '//services/plexmediaserver' "
      The first fix for this problem seemed to be


      1. chgrp -R plex /var/lib/plexmediaserver
      2. chmod 777 /var/lib/plexmediaserver
      3. dpkg --configure plexmediaserver openmediavault-plexmediaserver
      But after a restart of your server, the Plex service doesn't start anymore. The problem is, that the user/group "plex" and the Folder /var/lib/plexmediaserver aren't deleted if you uninstall plex and this leads to problems on a new installation.

      1. uninstall Plex (OMV Webinterface)
      2. delete the user/group plex
      3. delete /var/lib/plexmediaserver
      4. install plex again (OMV Webinterface)

      this should fix the problem.

      (sorry for my english)