Workaround: Error processing package plexmediaserver / OMV v. 4.1.8.2-1

  • Hi,


    I have looked a bit more into why I cant install Plex on OMV v. 4.1.8.2-1 (Arrakis)..


    Plex has been downloaded with wget directly from Plex..


    wget https://downloads.plex.tv/plex….5271-200287a06_amd64.deb


    Installation is started with "sudo dpkg -i ./plexmediaserver_1.13.4.5271-200287a06_amd64.deb" but fails with the error:


    Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
    Job for plexmediaserver.service failed because the control process exited with error code.
    See "systemctl status plexmediaserver.service" and "journalctl -xe" for details.
    dpkg: error processing package plexmediaserver (--install):
    subprocess installed post-installation script returned error exit status 1
    Processing triggers for systemd (232-25+deb9u4) ...
    Processing triggers for mime-support (3.60) ...
    Errors were encountered while processing:
    plexmediaserver
    root@omv:~#



    "journalctl -xe" gives following message:


    -- Unit plexmediaserver.service has begun starting up.
    Jul 24 13:25:14 omv sh[9462]: /bin/mkdir: cannot create directory ‘/var/lib/plexmediaserver’: Permission denied
    Jul 24 13:25:14 omv systemd[1]: plexmediaserver.service: Control process exited, code=exited status=1
    Jul 24 13:25:14 omv systemd[1]: Failed to start Plex Media Server for Linux.
    -- Subject: Unit plexmediaserver.service has failed
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    --
    -- Unit plexmediaserver.service has failed.



    Looks like root, as well with "sudo" fails to create the folder "/var/lib/plexmediaserver". Dont know why the sub process cant create it when called by root / sudo.


    Creating the folder manually and settings the full access (...) to it, changes the result:


    sudo mkdir /var/lib/plexmediaserver && sudo chmod 777 /var/lib/plexmediaserver


    Running "sudo dpkg -i ./plexmediaserver_1.13.4.5271-200287a06_amd64.deb" again, gives:


    root@omv:~# sudo dpkg -i ./plexmediaserver_1.13.4.5271-200287a06_amd64.deb
    (Reading database ... 94048 files and directories currently installed.)
    Preparing to unpack .../plexmediaserver_1.13.4.5271-200287a06_amd64.deb ...
    Removed /etc/systemd/system/multi-user.target.wants/plexmediaserver.service.
    Unpacking plexmediaserver (1.13.4.5271-200287a06) over (1.13.4.5271-200287a06) ...
    Setting up plexmediaserver (1.13.4.5271-200287a06) ...
    Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
    Processing triggers for systemd (232-25+deb9u4) ...
    Processing triggers for mime-support (3.60) ...
    root@omv:~#


    No error!


    As well does "journalctl -xe" not give any error.


    -- Unit plexmediaserver.service has begun starting up.
    Jul 24 13:29:59 omv systemd-logind[1194]: Watching system buttons on /dev/input/event5 (Power Button)
    Jul 24 13:29:59 omv systemd[1]: Started Plex Media Server for Linux.
    -- Subject: Unit plexmediaserver.service has finished start-up
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    --
    -- Unit plexmediaserver.service has finished starting up.
    --


    "sudo systemctl stop plexmediaserver.service" and "sudo systemctl start plexmediaserver.service" also dont give any negative feedback.


    Thou, if I redo it all but with less access, like 755, the installation will fail..


    I have not tried to change access to e.g. 755 after a successfull installation.


    Anyway, I dont know what is causing it to fail. Dont take it proper solution, but instead as a limited workaround due to the 777 access..


    My Plex is running now!


    Regards, KVL
    :)

    • Offizieller Beitrag

    Plex has been downloaded with wget directly from Plex..

    When you enable the plex repo in omv-extras, the plex package is downloaded directly from Plex using their official repo.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    But it fails to install. As several users have reported.

    Yep, jJust one of the many reasons I have recommended that people would use docker for plex. The plex package being used is truly for Ubuntu. So, it wouldn't surprise me if it was broken for Debian.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Fails in all cases. So Docker is unfortunately not an alternative.

    Why not try to fix that? Something seems wrong with your system if docker and plex are both failing to install.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!