Server Version#: 1.17.0.1841 d42cfa161 x86_64
Player Version#: not used because server won’t start
Hello!
After update on CentOS 8.0.1905 Plex media server won’t start. In log:
Oct 3 15:52:46 srv systemd[1]: Starting Plex Media Server...
Oct 3 15:52:46 srv sh[6950]: /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Oct 3 15:52:46 srv systemd[1]: Started Plex Media Server.
Oct 3 15:52:46 srv sh[6953]: /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Oct 3 15:52:46 srv sh[6953]: terminate called after throwing an instance of 'std::runtime_error'
Oct 3 15:52:46 srv sh[6953]: what(): locale::facet::_S_create_c_locale name not valid
Oct 3 15:52:46 srv systemd[1]: Started Process Core Dump (PID 6965/UID 0).
Oct 3 15:52:47 srv systemd[1]: plexmediaserver.service: Main process exited, code=dumped, status=6/ABRT
Oct 3 15:52:47 srv systemd[1]: plexmediaserver.service: Failed with result 'core-dump'.
Oct 3 15:52:47 srv systemd-coredump[6966]: Process 6953 (Plex Media Serv) of user 994 dumped core.#012#012Stack trace of thread 6953:#012#0 0x00007f398e70f93f raise (libc.so.6)#012#1 0x00007f398e6f9c95 abort (libc.so.6)#012#2 0x00007f398eb30fd4 _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6)#012#3 0x00007f398eb2f80b n/a (libstdc++.so.6)#012#4 0x00007f398eb2f844 _ZSt9terminatev (libstdc++.so.6)#012#5 0x00007f398eb2fa06 __cxa_throw (libstdc++.so.6)#012#6 0x00007f398eb495d6 _ZSt21__throw_runtime_errorPKc (libstdc++.so.6)#012#7 0x00007f398eb44c34 _ZNSt6locale5facet18_S_create_c_localeERP15__locale_structPKcS2_ (libstdc++.so.6)#012#8 0x00007f398eb3a432 _ZNSt6locale5_ImplC2EPKcm (libstdc++.so.6)#012#9 0x00007f398eb3ada4 _ZNSt6localeC1EPKc (libstdc++.so.6)#012#10 0x00007f39905835b7 _ZN5boost10filesystem4path5imbueERKSt6locale (libboost_filesystem.so)#012#11 0x000000000123f8ce n/a (Plex Media Server)#012#12 0x000000000126a38d n/a (Plex Media Server)#012#13 0x00007f398e6fb79e __libc_start_main (libc.so.6)#012#14 0x00000000004be606 n/a (Plex Media Server)
Oct 3 15:52:52 srv systemd[1]: plexmediaserver.service: Service RestartSec=5s expired, scheduling restart.
Oct 3 15:52:52 srv systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is at 3.
Oct 3 15:52:52 srv systemd[1]: Stopped Plex Media Server.
Oct 3 15:52:52 srv systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Oct 3 15:52:52 srv systemd[1]: plexmediaserver.service: Failed with result 'core-dump'.
Oct 3 15:52:52 srv systemd[1]: Failed to start Plex Media Server.
On CentOS 8 default python 3.6. Any ideas how to fix and run server?
Thank you!
MODERATOR EDIT: ``` formatting applied for legibility*
Installation without GNOME workstation - server view.
Locale on installation - Language - Русский
# locale -a
C
C.utf8
POSIX
ru_RU
ru_RU.koi8r
ru_RU.utf8
ru_UA
ru_UA.utf8
Maybe I’l need to add us_US.UTF8?
# export LC_ALL="en_US.UTF-8"
-bash: предупреждение: setlocale: LC_ALL: не удаётся изменить язык (en_US.UTF-8): Нет такого файла или каталога
-bash: предупреждение: setlocale: LC_ALL: не удаётся изменить язык (en_US.UTF-8)
I m currently migrating a part of my VM under centos 8 and i m planning to do the same for Plex, is this workarround can be used and officialy supported or would you recommand to wait for a new Plex release?
Centos ‘minimal’ package installation option does include enough packages to meet the minimum requirement for locale to work as it should.
Consider what is needed to resolve the problem:
glibc English language pack must be installed
After adding basic “English” support to glibc, glibc must be reconfigured (reinstalled).
No other distribution has this problem. Ubuntu “Minimal” includes glibc English support.
This is distro packaging problem where the distro went one package too lean.
They can add the extra 200 KB package space. This isn’t a “micro system”.
I equate this to Ubuntu/Debian which has no NFS support by default. My position is : “A Linux distribution without NFS support by default is like a Windows installation without SMB/CIFS”.
Just a small feedback, i have migrated my centos 7 installation to centos 8 with the workaround.
Everything goes smooth, i was able to restore the Library directory without any issue.
I will monitor server behavior during a couple of days but so far it’s ok.
Thx and1by for this workaround and Thx Chuck for confirming.