PMP Embedded Daylight saving time?

PMP showing incorrect time since we changed to BST here in the uk! No where to set this in settings? This is a really basic requirement in this day and age! How do I sort this?

No one else with this problem? I see many posts with people asking over the last couple of years, but nothing from Plex themselves! Getting the time correct is a fundamental issue, not impressed!

Is the computer/OS time correct?

No, the os is part of Plex embedded! Libreelec I believe! Nowhere to set the time in the settings!

You should probably add a tag to your post to indicate what hardware you’re running PMP on.

Sorry can’t see how you do that?

SSH into your embedded PMP and add the following to .config/autostart.sh:

systemctl set-environment TZ=Europe/London

Hi, sorry no, I’m afraid that made no difference!

Is autostart.sh executable?

No read only?

If I try to edit autostart.sh using nano it creates the file as doesn’t exist and then won’t save with error read only file system?

Try this:

echo 'systemctl set-environment TZ=Europe/London' >> .config/autostart.sh

Make sure the permissions for autostart.sh is 755:

ls -l .config/autostart.sh 
-rwxr-xr-x    1 root     root           218 May  2  2018 .config/autostart.sh

If I do ls -l .config/autostart.sh I get no such file or directory?

What is the output of ls -l .config?

PlexMediaPlayer:~ # ls -l .config
total 44
-rw-rw-r-- 1 root root 284 Mar 6 21:10 hosts.conf
drwxrwxr-x 2 root root 4096 Mar 6 21:10 hwdb.d
drwxrwxr-x 2 root root 4096 Mar 6 21:12 modprobe.d
drwxrwxr-x 2 root root 4096 Mar 6 21:10 modules-load.d
drwxr-xr-x 2 root root 4096 Apr 1 10:51 plex.tv
drwxrwxr-x 2 root root 4096 Mar 6 21:13 rc_keymaps
-rw-rw-r-- 1 root root 720 Mar 6 21:13 rc_maps.cfg.sample
drwxrwxr-x 2 root root 4096 Mar 6 21:10 sysctl.d
drwxrwxr-x 2 root root 4096 Mar 6 21:10 system.d
drwxrwxr-x 2 root root 4096 Mar 6 21:10 tmpfiles.d
drwxrwxr-x 2 root root 4096 Mar 6 21:10 udev.rules.d
PlexMediaPlayer:~ #

Did you run this already?
echo 'systemctl set-environment TZ=Europe/London' >> .config/autostart.sh

Yes, but run it again! Now get:

PlexMediaPlayer:~ # ls -l .config
total 48
-rw-r--r--    1 root     root            43 Apr  7 17:52 autostart.sh
-rw-rw-r--    1 root     root           284 Mar  6 21:10 hosts.conf
drwxrwxr-x    2 root     root          4096 Mar  6 21:10 hwdb.d
drwxrwxr-x    2 root     root          4096 Mar  6 21:12 modprobe.d
drwxrwxr-x    2 root     root          4096 Mar  6 21:10 modules-load.d
drwxr-xr-x    2 root     root          4096 Apr  1 10:51 plex.tv
drwxrwxr-x    2 root     root          4096 Mar  6 21:13 rc_keymaps
-rw-rw-r--    1 root     root           720 Mar  6 21:13 rc_maps.cfg.sample
drwxrwxr-x    2 root     root          4096 Mar  6 21:10 sysctl.d
drwxrwxr-x    2 root     root          4096 Mar  6 21:10 system.d
drwxrwxr-x    2 root     root          4096 Mar  6 21:10 tmpfiles.d
drwxrwxr-x    2 root     root          4096 Mar  6 21:10 udev.rules.d
PlexMediaPlayer:~ # 

ok now chmod +x .config/autostart.sh and reboot

Thats it! Thank you :slight_smile: