Hey guys,
I recently got my hands on a WD My Cloud Home and I installed openmediavault onto it.
Then I partitioned my hdd so that I can use SMB, Plex and Nextcloud simultaneously.
SMB works fine, but with Plex I encountered my first problem. As soon as I want to start the Plex Server it gives me this 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.
Code
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/bgstatusKL...', '/tmp/bgoutputBv...')
#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
Code
systemctl status plexmediaserver.service - Output
root@wdnas:~# systemctl status plexmediaserver.service
● plexmediaserver.service - Plex Media Server
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/plexmediaserver.service.d
└─db_folder.conf
Active: failed (Result: resources) since Sun 2020-05-31 00:59:20 MSK; 24min ago
May 31 00:59:14 wdnas systemd[1]: Failed to start Plex Media Server.
May 31 00:59:14 wdnas systemd[1]: plexmediaserver.service: Unit entered failed state.
May 31 00:59:14 wdnas systemd[1]: plexmediaserver.service: Failed with result 'resources'.
May 31 00:59:20 wdnas systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
May 31 00:59:20 wdnas systemd[1]: Stopped Plex Media Server.
May 31 00:59:20 wdnas systemd[1]: plexmediaserver.service: Start request repeated too quickly.
May 31 00:59:20 wdnas systemd[1]: Failed to start Plex Media Server.
May 31 00:59:20 wdnas systemd[1]: plexmediaserver.service: Unit entered failed state.
May 31 00:59:20 wdnas systemd[1]: plexmediaserver.service: Failed with result 'resources'.
Alles anzeigen
Code
journalctl -xe - Output
root@wdnas:~# journalctl -xe
--
-- Unit serial-getty@ttyS2.service has finished starting up.
--
-- The start-up result is done.
May 31 01:23:59 wdnas agetty[7373]: /dev/ttyS2: not a tty
May 31 01:24:01 wdnas CRON[7375]: pam_unix(cron:session): session opened for user root by (uid=0)
May 31 01:24:01 wdnas CRON[7376]: (root) CMD (for i in `pgrep "ftpd|nfsiod|smbd|afpd|cnid"` ; do ionice -c1 -p $i ; done >/dev/null 2>&1)
May 31 01:24:01 wdnas CRON[7375]: pam_unix(cron:session): session closed for user root
May 31 01:24:09 wdnas systemd[1]: serial-getty@ttyS2.service: Service hold-off time over, scheduling restart.
May 31 01:24:09 wdnas systemd[1]: Stopped Serial Getty on ttyS2.
-- Subject: Unit serial-getty@ttyS2.service has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit serial-getty@ttyS2.service has finished shutting down.
May 31 01:24:09 wdnas systemd[1]: Started Serial Getty on ttyS2.
-- Subject: Unit serial-getty@ttyS2.service has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit serial-getty@ttyS2.service has finished starting up.
--
-- The start-up result is done.
May 31 01:24:09 wdnas agetty[7403]: /dev/ttyS2: not a tty
May 31 01:24:17 wdnas kernel: r8169 98016000.gmac eth0: read phy reg 0 value 1000!
May 31 01:24:17 wdnas kernel: r8169 98016000.gmac eth0: read phy reg 1 value 79ad!
May 31 01:24:17 wdnas kernel: r8169 98016000.gmac eth0: read phy reg 9 value 200!
May 31 01:24:17 wdnas kernel: r8169 98016000.gmac eth0: read phy reg a value 3c00!
May 31 01:24:17 wdnas kernel: r8169 98016000.gmac eth0: read phy reg 4 value de1!
May 31 01:24:17 wdnas kernel: r8169 98016000.gmac eth0: read phy reg 5 value cde1!
May 31 01:24:20 wdnas systemd[1]: serial-getty@ttyS2.service: Service hold-off time over, scheduling restart.
May 31 01:24:20 wdnas systemd[1]: Stopped Serial Getty on ttyS2.
-- Subject: Unit serial-getty@ttyS2.service has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit serial-getty@ttyS2.service has finished shutting down.
May 31 01:24:20 wdnas systemd[1]: Started Serial Getty on ttyS2.
-- Subject: Unit serial-getty@ttyS2.service has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit serial-getty@ttyS2.service has finished starting up.
--
-- The start-up result is done.
May 31 01:24:20 wdnas agetty[7426]: /dev/ttyS2: not a tty
May 31 01:24:30 wdnas systemd[1]: serial-getty@ttyS2.service: Service hold-off time over, scheduling restart.
May 31 01:24:30 wdnas systemd[1]: Stopped Serial Getty on ttyS2.
-- Subject: Unit serial-getty@ttyS2.service has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit serial-getty@ttyS2.service has finished shutting down.
May 31 01:24:30 wdnas systemd[1]: Started Serial Getty on ttyS2.
-- Subject: Unit serial-getty@ttyS2.service has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit serial-getty@ttyS2.service has finished starting up.
--
-- The start-up result is done.
May 31 01:24:30 wdnas agetty[7446]: /dev/ttyS2: not a tty
Alles anzeigen
I have no clue how to fix this, already searched in the internet but I have not found anything yet.
Do you guys know how to fix it? I would appreciate it.
Thank you for the help