Plex Plugin update!

  • I updated plexmediaserver this morning via the omv Update Manager and i somehow broke plex.


    i get this when trying to start or stop the service



    Failed
    to execute command 'export LANG=C; invoke-rc.d 'plexmediaserver' stop
    2>&1': invoke-rc.d: unknown initscript,
    /etc/init.d/plexmediaserver not found.


    There is indeed a filename 'plexmediaserver' in init.d


    and my database is..../media/a1d5957a-4967-4d2a-8797-2f5ee7e9d59b/plexmediaserver



    root@TheMachine:/etc/init.d# stat plexmediaserver
    File: `plexmediaserver' -> `/lib/init/upstart-job'
    Size: 21 Blocks: 0 IO Block: 4096 symbolic link
    Device: 831h/2097d Inode: 1578278 Links: 1
    Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
    Access: 2016-05-01 10:37:35.171143471 -0400
    Modify: 2016-04-22 17:31:01.000000000 -0400
    Change: 2016-05-01 10:31:50.027151461 -0400
    Birth: -


    Sorry if this is the wrong place


    Thanks
    Guy

  • My Plex is broke too after updating from update manager this morning!


    Got this error trying to enable/stop service!


    Failed
    to execute command 'export LANG=C; invoke-rc.d 'plexmediaserver' stop
    2>&1': invoke-rc.d: unknown initscript,
    /etc/init.d/plexmediaserver not found.


    Error #4000:
    exception 'OMVException' with message 'Failed to execute command 'export LANG=C; invoke-rc.d 'plexmediaserver' stop 2>&1': invoke-rc.d: unknown initscript, /etc/init.d/plexmediaserver not found.' in /usr/share/php/openmediavault/initscript.inc:176
    Stack trace:
    #0 /usr/share/php/openmediavault/initscript.inc(148): OMVSysVInitScript->invoke('stop')
    #1 /usr/share/php/openmediavault/initscript.inc(53): OMVSysVInitScript->stop()
    #2 /usr/share/openmediavault/engined/module/plexmediaserver.inc(52): OMVSysVInitScript->exec()
    #3 /usr/share/openmediavault/engined/rpc/config.inc(164): OMVModulePlexMediaServer->stopService()
    #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
    #5 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #6 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
    #7 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
    #9 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #10 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #11 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
    #12 {main}

  • Looks like I downloaded the wrong packages. Fixed now.


    omv-aptclean
    apt-get install plexmediaserver

    omv 5.6.4 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

    Edited once, last by ryecoaaron ().

  • Looks like I downloaded the wrong packages. Fixed now.


    See: https://forums.plex.tv/discuss…-server-for-debian#latest


    @yakumo is now also hosting official Plex.tv (jessie/ubuntu) packages in his repos, so manual downloaders are now presented with an opportunity to grab the wrong package.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

  • The dev stopped building packages for the RPi and the repo is down.

    omv 5.6.4 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Hello I was trying to update plexmediaserver because repo is quite old.
    I have downloaded debian package from http://shell.ninthgate.se/pack…l/main/p/plexmediaserver/


    After update plex didn't want to start so I tried this:


    Simple fix if you installed an Ubuntu version:


    cd /etc/init.d
    mv plexmediaserver.dpkg-bak plexmediaserver
    service plexmediaserver start


    Now, I can manually start the service with <<service plexmediaserver start>> but it doesn't start automatically or from the web gui.



    Error #4000:
    exception 'OMVException' with message 'Failed to execute command 'export LANG=C; update-rc.d 'plexmediaserver' disable 2>&1': update-rc.d: error: no runlevel symlinks to modify, aborting!
    update-rc.d: using dependency based boot sequencing' in /usr/share/php/openmediavault/initscript.inc:90
    Stack trace:
    #0 /usr/share/php/openmediavault/initscript.inc(56): OMVSysVInitScript->update(true)
    #1 /usr/share/openmediavault/engined/module/plexmediaserver.inc(52): OMVSysVInitScript->exec()
    #2 /usr/share/openmediavault/engined/rpc/config.inc(164): OMVModulePlexMediaServer->stopService()
    #3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
    #4 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #5 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
    #6 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #7 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
    #8 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #9 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #10 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
    #11 {main}



    Any help is appreciated.
    The plex plugin repo should be updated.


    ---
    omv 2.2.13 stone burner | 64 bit

  • The plex plugin repo should be updated.

    It has only been a week......... OMV 3.x uses the official plex repo. So, no delay ever. Consider updating to OMV 3.x. Just updated the packages in the omv-extras repo. This will be the last OMV 2.x plex update.

    omv 5.6.4 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Isn't OMV 3.x still in beta?

    Not in my opinion or Volker's. He said he was waiting for the omv-extras plugins to stabilize to declare it released. The omv-extras plugins I work on are ready.

    omv 5.6.4 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • That would be great to be able to upgrade from 2.x to 3.x without restarting from scratch knowing that backup/restore plugins are soso... :)


    There is anyway an update of Plex 1.4.4 available, it just takes forever to download for some reason.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!