I have been trying to change the date on my Plex Media Player clients. I have all of my clients using Raspberry Pi 2-3’s. I was trying to change the date/time/zone a few ways…
Method One:
SSH into your the Pi using the username “root” and password “plex” and edit the “/storage/.config/autostart.sh” file.
nano /storage/.config/autostart.sh
Add the following content to the file:
#!/bin/sh
(sleep 30; \
/usr/sbin/ntpdate pool.ntp.org; \
)&
Save and exit. Assign execute privileges to the file using the following command:
chmod +x /storage/.config/autostart.sh
However, that did not work.
Method Two
I tried changing the timezone by using the following command…
cp /usr/share/zoneinfo/America/New_York /etc/localtime
Got an “cp: can’t create ‘/etc/localtime’: File exists” error on that one.
Then tried mv /etc/localtime /etc/localtime_bak and got “mv: can’t rename ‘/etc/localtime’: Read-only file system”.
Method Three
Tried installing ntpupdate…
apt-get install ntpdate
Results: LibreELEC said hell no.
Method Four
Tried running the time GUI…
time-admin
Results: “-sh: time-admin: not found”
Is it not possible to correct the time in the Plex Media Player when running it on an Embedded copy for the Raspberry Pi?
Plex Media Player Version: 2.25.0.948-77f379e1
Embedded (Raspberry Pi): 8.2