NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
givememynamebak
Jun 15, 2017Luminary
ReadyNAS Pro 6 on OS 6.7.4 - Plex will no longer start
Hi all, - just tried updating Plex to the latest from plex.tv
1.5.6.3790-4613ce077
May 9, 2017
Using Pro6 on OS6 6.7.4 and Plex no longer starts. I see nothing for plex in /etc/init.d (not sure if that's normal) but it appears something may have changed on 6.7.4 for Apps or App Installs... any ideas?
Tried sudo apt-get update and sudo apt-get upgrade, that didn't seem to fix it. Wondering if anyone has any thoughts?
Thanks.
Checked all the logs with:
journalctl
Seemed to be an abnormally high amount of locale errors so I did:
journalctl | grep locale
Jun 10 16:43:18 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](56%) Installing locales
Jun 10 16:43:18 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](58%) Preparing locales
Jun 10 16:43:40 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](60%) Unpacking locales
Jun 10 16:43:40 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](62%) Preparing to configure locales
Jun 10 16:43:43 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](71%) Configuring locales
Jun 10 16:43:44 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](73%) Configuring locales
Jun 10 16:43:44 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](75%) Installed locales
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Noticed the problem started when I installed Java 8. Plex errors also showed here as (bolded below):
Jun 14 20:12:44 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 14 20:12:44 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 14 20:12:44 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 14 20:22:19 ReadyNAS1 sh[24722]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:22:24 ReadyNAS1 sh[24737]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:22:30 ReadyNAS1 sh[24757]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:22:53 ReadyNAS1 sh[24821]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:22:58 ReadyNAS1 sh[24837]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:23:04 ReadyNAS1 sh[24861]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:23:08 ReadyNAS1 sh[24885]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:23:13 ReadyNAS1 sh[24910]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:23:18 ReadyNAS1 sh[24939]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:26:19 ReadyNAS1 sh[26254]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:26:24 ReadyNAS1 sh[26276]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:26:29 ReadyNAS1 sh[26295]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:26:55 ReadyNAS1 sh[26356]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:27:01 ReadyNAS1 sh[26380]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:27:06 ReadyNAS1 sh[26393]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:31:16 ReadyNAS1 minidlnad[2860]: minidlna.c:458: warn: Unset locale
Jun 14 20:31:19 ReadyNAS1 sh[3056]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:31:24 ReadyNAS1 sh[4039]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:31:30 ReadyNAS1 sh[4185]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:31:35 ReadyNAS1 sh[4205]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:31:40 ReadyNAS1 sh[4247]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:31:44 ReadyNAS1 readynasd[3324]: Failed to set locale. Fix your system.
So I ran:
dpkg --list
dpkg --remove plexmediaserver-ros6-binaries
cat /etc/locale.conf
cat: /etc/locale.conf: No such file or directory
cat /etc/locale.gen
touch /etc/locale.conf
vi /etc/locale.conf pasted in:
en_US.UTF-8 UTF-8
locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
sudo dpkg-reconfigure locales (typed 146 enter)
1. None 2. C.UTF-8 3. en_US.UTF-8
Chose: 3 (enter)
Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
Re-installed Plex in frontview, installed OK
Flipped the switch to Enable or Turn on Plex... toggling modal spinner came up (which it wasn't before)
Plex stayed enabled!!!! Problem solved. Plex now works and seemed to be due to the locale issues since I installed Java 8.
8 Replies
Replies have been turned off for this discussion
- givememynamebakLuminary
Some logs...
> sudo journalctl -xe
-- The start-up result is done.
Jun 14 21:47:26 ReadyNAS1 readynasd[3289]: Service 'fvapp-plexmediaserver.service' goto unexpected state 'fail
ed'. Expect to be 'inactive'('deactivating').
Jun 14 21:47:26 ReadyNAS1 readynasd[3289]: KillUnit: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Inval
id arguments 'sssi' to call org.freedesktop.systemd1.Manager.KillUnit(), expecting 'ssi'.
Jun 14 21:47:26 ReadyNAS1 systemd[1]: Starting Plex Media Server...
-- Subject: Unit fvapp-plexmediaserver.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit fvapp-plexmediaserver.service has begun starting up.
Jun 14 21:47:26 ReadyNAS1 systemd[1]: Started Plex Media Server.
-- Subject: Unit fvapp-plexmediaserver.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit fvapp-plexmediaserver.service has finished starting up.
--
-- The start-up result is done.
Jun 14 21:47:26 ReadyNAS1 sh[5935]: terminate called after throwing an instance of 'std::runtime_error'
Jun 14 21:47:26 ReadyNAS1 sh[5935]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 21:47:26 ReadyNAS1 sh[5935]: Aborted
Jun 14 21:47:26 ReadyNAS1 systemd[1]: fvapp-plexmediaserver.service: Main process exited, code=exited, status=
134/n/a
Jun 14 21:47:26 ReadyNAS1 systemd[1]: fvapp-plexmediaserver.service: Unit entered failed state.
Jun 14 21:47:26 ReadyNAS1 systemd[1]: fvapp-plexmediaserver.service: Failed with result 'exit-code'.
Jun 14 21:47:31 ReadyNAS1 systemd[1]: fvapp-plexmediaserver.service: Service hold-off time over, scheduling restart.
Jun 14 21:47:31 ReadyNAS1 systemd[1]: Stopped Plex Media Server.
-- Subject: Unit fvapp-plexmediaserver.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit fvapp-plexmediaserver.service has finished shutting down.
- JennCNETGEAR Employee Retired
Hello givememynameba,
How about remove the Plex app you have and then download the one for Intel 6.x from https://www.plex.tv/downloads/ once done, do the update via SSH?
Regards,
- givememynamebakLuminary
That is the one I downloaded and installed intel 6.x from plex.tv.
root@ReadyNAS1:~/apps# wget https://downloads.plex.tv/plex-media-server/1.5.6.3790-4613ce077/plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb
converted 'https://downloads.plex.tv/plex-media-server/1.5.6.3790-4613ce077/plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb' (ANSI_X3.4-1968) -> 'https://downloads.plex.tv/plex-media-server/1.5.6.3790-4613ce077/plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb' (UTF-8)
--2017-06-15 17:22:05-- https://downloads.plex.tv/plex-media-server/1.5.6.3790-4613ce077/plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb
Resolving downloads.plex.tv (downloads.plex.tv)... 104.20.6.9, 104.20.7.9, 2400:cb00:2048:1::6814:609, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|104.20.6.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 105334180 (100M) [application/octet-stream]
Saving to: 'plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb'
plexmediaserver-ros6-binaries_1 100%[=======================================================>] 100.45M 40.7MB/s in 2.5s
root@ReadyNAS1:~/apps# dpkg -i plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb
Selecting previously unselected package plexmediaserver-ros6-binaries.
(Reading database ... 40866 files and directories currently installed.)
Preparing to unpack plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb ...
Unpacking plexmediaserver-ros6-binaries (1.5.6.3790-4613ce077) ...
Setting up plexmediaserver-ros6-binaries (1.5.6.3790-4613ce077) ...
Adding 'diversion of /apps/plexmediaserver/plexmediaserver_environment to /apps/plexmediaserver/plexmediaserver_environment.orig by plexmediaserver-ros6-binaries'
Ignoring request to rename file '/apps/plexmediaserver/plexmediaserver_environment' owned by diverting package 'plexmediaserver-ros6-binaries'
Adding 'diversion of /apps/plexmediaserver/fvapp-plexmediaserver.service to /apps/plexmediaserver/fvapp-plexmediaserver.service.orig by plexmediaserver-ros6-binaries'
Ignoring request to rename file '/apps/plexmediaserver/fvapp-plexmediaserver.service' owned by diverting package 'plexmediaserver-ros6-binaries'
Adding 'diversion of /apps/plexmediaserver/logo.png to /apps/plexmediaserver/logo.png.orig by plexmediaserver-ros6-binaries'
Ignoring request to rename file '/apps/plexmediaserver/logo.png' owned by diverting package 'plexmediaserver-ros6-binaries'
Created symlink /etc/systemd/system/multi-user.target.wants/fvapp-plexmediaserver.service → /lib/systemd/system/fvapp-plexmediaserver.service.
Removing 'diversion of /apps/plexmediaserver/plexmediaserver_environment to /apps/plexmediaserver/plexmediaserver_environment.orig by plexmediaserver-ros6-binaries'
Removing 'diversion of /apps/plexmediaserver/fvapp-plexmediaserver.service to /apps/plexmediaserver/fvapp-plexmediaserver.service.orig by plexmediaserver-ros6-binaries'
Removing 'diversion of /apps/plexmediaserver/logo.png to /apps/plexmediaserver/logo.png.orig by plexmediaserver-ros6-binaries'
No diversion 'diversion of /apps/plexmediaserver/config.xml by plexmediaserver-ros6-binaries', none removed.
Processing triggers for libc-bin (2.19-18+deb8u9.netgear1) ...
Now it doesn't show up in apps on frontview and, it's not started.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!