Unable to install openmediavault-plexmediaserver

    • OMV 4.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Unable to install openmediavault-plexmediaserver

      OMV Version 4.1.8-1

      I'm running into issues installing openmediavault-plexmediaserver. It seems that it's looking to install a package that doesn't exist. I did have the plugin installed at one point earlier, but uninstalled it to test something. Now that I'm attempting to add it again I'm getting the following errors:

      Source Code

      1. root@nas:/etc/apt/sources.list.d# apt install openmediavault-plexmediaserver
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. The following additional packages will be installed:
      6. plexmediaserver
      7. The following NEW packages will be installed:
      8. openmediavault-plexmediaserver plexmediaserver
      9. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
      10. Need to get 0 B/111 MB of archives.
      11. After this operation, 248 MB of additional disk space will be used.
      12. Do you want to continue? [Y/n] y
      13. Selecting previously unselected package plexmediaserver.
      14. (Reading database ... 71451 files and directories currently installed.)
      15. Preparing to unpack .../plexmediaserver_1.13.2.5154-fd05be322_amd64.deb ...
      16. Unpacking plexmediaserver (1.13.2.5154-fd05be322) ...
      17. Selecting previously unselected package openmediavault-plexmediaserver.
      18. Preparing to unpack .../openmediavault-plexmediaserver_3.8.2_all.deb ...
      19. Unpacking openmediavault-plexmediaserver (3.8.2) ...
      20. Processing triggers for mime-support (3.60) ...
      21. Processing triggers for systemd (232-25+deb9u3) ...
      22. Processing triggers for openmediavault (4.1.8-1) ...
      23. Restarting engine daemon ...
      24. 'omv-engined' trying to restart
      25. 'omv-engined' stop: '/bin/systemctl stop openmediavault-engined'
      26. 'omv-engined' start: '/bin/systemctl start openmediavault-engined'
      27. Setting up plexmediaserver (1.13.2.5154-fd05be322) ...
      28. Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
      29. Job for plexmediaserver.service failed because the control process exited with error code.
      30. See "systemctl status plexmediaserver.service" and "journalctl -xe" for details.
      31. dpkg: error processing package plexmediaserver (--configure):
      32. subprocess installed post-installation script returned error exit status 1
      33. dpkg: dependency problems prevent configuration of openmediavault-plexmediaserver:
      34. openmediavault-plexmediaserver depends on plexmediaserver | plexmediaserver-installer; however:
      35. Package plexmediaserver is not configured yet.
      36. Package plexmediaserver-installer is not installed.
      37. dpkg: error processing package openmediavault-plexmediaserver (--configure):
      38. dependency problems - leaving unconfigured
      39. Errors were encountered while processing:
      40. plexmediaserver
      41. openmediavault-plexmediaserver
      42. E: Sub-process /usr/bin/dpkg returned an error code (1)
      Display All


      The apt sources appear to be correct.


      Source Code

      1. root@nas:/etc/apt/sources.list.d# cat omv-extras-org.list
      2. # This is file is generated.
      3. # OMV-Extras repos
      4. #
      5. # OMV-Extras.org
      6. deb https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch main
      7. # Plexmediaserver
      8. deb https://dl.bintray.com/openmediavault-plugin-developers/arrakis-plex stretch main
      9. deb https://downloads.plex.tv/repo/deb/ ./public main
      Is there something I'm doing wrong here? I tried doing an apt clean to make sure nothing was cached but that didn't change anything. The plexmediaserver-installer isn't showing any valid installation candidates.
    • I'm running OMV on dual Intel Xeon X5570 processors, so x86_64.

      Source Code

      1. root@nas:/etc/apt/sources.list.d# lscpu
      2. Architecture: x86_64
      3. CPU op-mode(s): 32-bit, 64-bit
      4. Byte Order: Little Endian
      5. CPU(s): 16
      6. On-line CPU(s) list: 0-15
      7. Thread(s) per core: 2
      8. Core(s) per socket: 4
      9. Socket(s): 2
      10. NUMA node(s): 2
      11. Vendor ID: GenuineIntel
      12. CPU family: 6
      13. Model: 26
      14. Model name: Intel(R) Xeon(R) CPU X5570 @ 2.93GHz
      Display All
    • It still failed after that, so I took a look at the detailed error logs and saw it was erroring out as /var/lib/plexmediaserver already existed. I went ahead and wiped that out, then it started erroring out because it was looking for a location that didn't exist. I went ahead and made the directory by running mkdir -p /srv/dev-disk-by-label-DATAHDD/plexmediaserver/Library and the package corrected the permissions while installing. It looks like now it has installed correctly.

      So it seems the issue was that the previous install wasn't completely uninstalled when the package was removed which caused some not so obvious issues during the reinstall. Thanks for the help!
    • Users Online 2

      2 Guests