Plex Media Server not starting
by vovim from LinuxQuestions.org on (#5CSQK)
Hi, I am trying to run the Plex Media Server on my raspberry pi 4 with slackware current.
I have amended both the slackbuild and the info files from the SlackBuild to use the armhf download as described below.
root@pi:/etc/rc.d# diff '/var/lib/sbopkg/SBo-git/multimedia/plexmediaserver/plexmediaserver.SlackBuild' '/var/lib/sbopkg/SBo-git/multimedia/plexmediaserver/plexmediaserver.SlackBuild.sbopkg'
61,63c61,64
< else
< echo "Package for $(uname -m) architecture is not available."
< exit 1
---
> elif [ "$ARCH" = "arm" ]; then
> DEBARCH="armhf"
> LIBDIRSUFFIX=""
> ARCH="arm"
root@pi:/etc/rc.d# diff '/var/lib/sbopkg/SBo-git/multimedia/plexmediaserver/plexmediaserver.info' '/var/lib/sbopkg/SBo-git/multimedia/plexmediaserver/plexmediaserver.info.sbopkg'
4,5c4,5
< DOWNLOAD="https://downloads.plex.tv/plex-media-server-new/1.21.1.3876-3c3adfcb4/debian/plexmediaserver_1.21.1.3876-3c3adfcb4_i386.deb"
< MD5SUM="502193fe104a95aa887ddf1330245858"
---
> DOWNLOAD="https://downloads.plex.tv/plex-media-server-new/1.21.1.3876-3c3adfcb4/debian/plexmediaserver_1.21.1.3876-3c3adfcb4_armhf.deb"
> MD5SUM="b118c6ada17befc5037d85ab15859999"
root@pi:/etc/rc.d#
The package installs O.K. with no errors but it will not start.
I issue the command "/etc/rc.d/rc.plexmediaserver start" and it says "Starting Plex Media Server." and it seems to complete O.K. (it show no errors). However, as soon as the start completes I run "/etc/rc.d/rc.plexmediaserver status" and it says "Plex Media Server is stopped.".
I do have the plex user and plex group setup as described in the README of the SlackBuild. And the slackbuild lists no dependencies.
Any help with this problem would be greatly appreciated.
Thank You.


I have amended both the slackbuild and the info files from the SlackBuild to use the armhf download as described below.
root@pi:/etc/rc.d# diff '/var/lib/sbopkg/SBo-git/multimedia/plexmediaserver/plexmediaserver.SlackBuild' '/var/lib/sbopkg/SBo-git/multimedia/plexmediaserver/plexmediaserver.SlackBuild.sbopkg'
61,63c61,64
< else
< echo "Package for $(uname -m) architecture is not available."
< exit 1
---
> elif [ "$ARCH" = "arm" ]; then
> DEBARCH="armhf"
> LIBDIRSUFFIX=""
> ARCH="arm"
root@pi:/etc/rc.d# diff '/var/lib/sbopkg/SBo-git/multimedia/plexmediaserver/plexmediaserver.info' '/var/lib/sbopkg/SBo-git/multimedia/plexmediaserver/plexmediaserver.info.sbopkg'
4,5c4,5
< DOWNLOAD="https://downloads.plex.tv/plex-media-server-new/1.21.1.3876-3c3adfcb4/debian/plexmediaserver_1.21.1.3876-3c3adfcb4_i386.deb"
< MD5SUM="502193fe104a95aa887ddf1330245858"
---
> DOWNLOAD="https://downloads.plex.tv/plex-media-server-new/1.21.1.3876-3c3adfcb4/debian/plexmediaserver_1.21.1.3876-3c3adfcb4_armhf.deb"
> MD5SUM="b118c6ada17befc5037d85ab15859999"
root@pi:/etc/rc.d#
The package installs O.K. with no errors but it will not start.
I issue the command "/etc/rc.d/rc.plexmediaserver start" and it says "Starting Plex Media Server." and it seems to complete O.K. (it show no errors). However, as soon as the start completes I run "/etc/rc.d/rc.plexmediaserver status" and it says "Plex Media Server is stopped.".
I do have the plex user and plex group setup as described in the README of the SlackBuild. And the slackbuild lists no dependencies.
Any help with this problem would be greatly appreciated.
Thank You.