I had a perfectly good plexmediaserver running for a long time.
during the last update, the installation crashed halfway through and i have been getting the unavailable resources issue as described below.
Plex cannot start "because of unavailable resources or another system error"
i have
- removed openmediavault-plexmediaserver and plexmediaserver
- deleted plex user
- removed /var/lib/plexmediaserver and /media/xxx/plexmediaserver
- performed a fresh install
I have done the above steps almost 10x already.
the install goes successfully, but when selecting the database volumne for the library to move to, the system gives the below error
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; systemctl start 'plexmediaserver' 2>&1' with exit code '1': Job for plexmediaserver.service failed because of unavailable resources or another system error. See "systemctl status plexmediaserver.service" and "journalctl -xe" for details.
Error #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; systemctl start 'plexmediaserver' 2>&1' with exit code '1': Job for plexmediaserver.service failed because of unavailable resources or another system error.
See "systemctl status plexmediaserver.service" and "journalctl -xe" for details. in /usr/share/php/openmediavault/system/process.inc:182
Stack trace:
#0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)
#1 /usr/share/php/openmediavault/system/systemctl.inc(104): OMV\System\SystemCtl->exec('start', NULL, false)
#2 /usr/share/openmediavault/engined/module/plexmediaserver.inc(46): OMV\System\SystemCtl->enable(true)
#3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModulePlexMediaServer->startService()
#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusQk...', '/tmp/bgoutputOw...')
#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#13 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#14 {main}
Alles anzeigen
the other thing of notice is
Code
HTTP error requesting POST http://127.0.0.1:32600/devices/discover (7, Couldn't connect to server) (Failed to connect to 127.0.0.1 port 32600: Connection refused)
..
€‹Transcoder: Error cleaning old transcode sessions: boost::filesystem::directory_iterator::construct: No such file or directory: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions"
..
WARN - Request for plug-in [com.plexapp.agents.plexthememusic] but it doesn't exist.
..
this guy seems to suggest the problem is with a