After installation, the PMS server does not start

OS version#: CentOS 8 x64, Linux plextv 4.18.0-80.11.2.el8_0.x86_64 #1 SMP Tue Sep 24 11:32:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Server Version#: plexmediaserver-1.18.4.2171-ac2afe5f8.x86_64


After installation, the server does not start.
Status Request:

[root@plextv /]# systemctl status plexmediaserver
● plexmediaserver.service - Plex Media Server
   Loaded: loaded (/usr/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: disabled)
   Active: failed (Result: core-dump) since Mon 2019-12-30 08:16:06 +05; 20min ago
  Process: 2244 ExecStart=/bin/sh -c  PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc/os-release | awk -F= "{print \$2}" | tr -d \" )"  PLEX_MEDIA_SERVER_INFO_DEV>
  Process: 2241 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DI>
 Main PID: 2244 (code=dumped, signal=ABRT)

дек 30 08:16:06 plextv systemd[1]: plexmediaserver.service: Service RestartSec=5s expired, scheduling restart.
дек 30 08:16:06 plextv systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is at 3.
дек 30 08:16:06 plextv systemd[1]: Stopped Plex Media Server.
дек 30 08:16:06 plextv systemd[1]: plexmediaserver.service: Start request repeated too quickly.
дек 30 08:16:06 plextv systemd[1]: plexmediaserver.service: Failed with result 'core-dump'.
дек 30 08:16:06 plextv systemd[1]: Failed to start Plex Media Server.

[root@plextv /]#

What could be the problem ?
Thank you in advance for your reply.

Go to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server

Make a tar.gz of the "Logs** directory please and attach here.

I’ll take a look

reached the directory /var/lib/plexmediaserver/Library/Application Support/ … further empty!


Prehistory.
The hard drive with centos 7 and the media server failed on the home computer, as always there are no archival copies :). I changed the hard drive and decided to install a newer version of centos 8. I turned off selinux, because it is too much for the home server, I also turned off firewalld instead of which I installed and configured iptables-services, I opened the necessary ports. Next, I installed a PMS server that does not start. centos8 installed without a GUI.

ok… let’s find out what happened.

Did you create user Plex manually first ?

Easy way to check.

/var/lib/plexmediaserver should be owned by plex:plex (ls -la output)

No, I did not create a Plex user manually. But it is present in the system:
plex:x:993:1001:RPM Created PlexUser:/var/lib/plexmediaserver:/sbin/nologin

, and the rights to the directory
drwxr-xr-x 3 plex plex 21 дек 29 13:50 plexmediaserver

The system journal should have the shell output if there is any

sudo journalctl -xe | grep -i plex

If there is an error, it should be obvious.

Nothing specific or indicating the cause of the error.
Startup process started, unit launching is completed.
—cut—
дек 30 13:40:10 tvserver systemd[1]: Starting Plex Media Server…
– Subject: Начинается запуск юнита plexmediaserver.service
– Начат процесс запуска юнита plexmediaserver.service.
дек 30 13:40:10 tvserver systemd[1]: Started Plex Media Server.
– Subject: Запуск юнита plexmediaserver.service завершен
– Процесс запуска юнита plexmediaserver.service был завершен.
дек 30 13:40:13 tvserver systemd[1]: plexmediaserver.service: Main process exited, code=dumped, status=6/ABRT
дек 30 13:40:13 tvserver systemd[1]: plexmediaserver.service: Failed with result ‘core-dump’.
дек 30 13:40:13 tvserver systemd-coredump[1131]: Process 1103 (Plex Media Serv) of user 993 dumped core.
#11 0x00000000014c043a n/a (Plex Media Server)
#12 0x00000000016a5d4d n/a (Plex Media Server)
#14 0x000000000093e029 n/a (Plex Media Server)
– Subject: Процесс 1103 (Plex Media Serv) сбросил дамп памяти
– Процесс 1103 (Plex Media Serv) завершился из-за критической ошибки.
дек 30 13:40:18 tvserver systemd[1]: plexmediaserver.service: Service RestartSec=5s expired, scheduling restart.
дек 30 13:40:18 tvserver systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is at 1.
– Назначен автоматический перезапуск юнита plexmediaserver.service, так как для него был задан
дек 30 13:40:18 tvserver systemd[1]: Stopped Plex Media Server.
– Subject: Завершена остановка юнита plexmediaserver.service.
– Процесс остановки юнита plexmediaserver.service был завершен.
дек 30 13:40:18 tvserver systemd[1]: Starting Plex Media Server…
– Subject: Начинается запуск юнита plexmediaserver.service
– Начат процесс запуска юнита plexmediaserver.service.
дек 30 13:40:18 tvserver systemd[1]: Started Plex Media Server.
– Subject: Запуск юнита plexmediaserver.service завершен
– Процесс запуска юнита plexmediaserver.service был завершен.
дек 30 13:40:18 tvserver systemd[1]: plexmediaserver.service: Main process exited, code=dumped, status=6/ABRT
дек 30 13:40:18 tvserver systemd[1]: plexmediaserver.service: Failed with result ‘core-dump’.
дек 30 13:40:18 tvserver systemd-coredump[1164]: Process 1152 (Plex Media Serv) of user 993 dumped core.
#11 0x00000000014c043a n/a (Plex Media Server)
#12 0x00000000016a5d4d n/a (Plex Media Server)
#14 0x000000000093e029 n/a (Plex Media Server)
– Subject: Процесс 1152 (Plex Media Serv) сбросил дамп памяти
– Процесс 1152 (Plex Media Serv) завершился из-за критической ошибки.
дек 30 13:40:23 tvserver systemd[1]: plexmediaserver.service: Service RestartSec=5s expired, scheduling restart.
дек 30 13:40:23 tvserver systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is at 2.
—cut—
Is the server collecting information for support?

Reinstalled the OS on centos 7, installed a media server, everything worked right there without any problems.

There will be information in the Crash Reports (it should upload the *.dmp file).
If this latest DMP file did not upload, I can examine it directly and find out where the problem is.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.