# Rasplex Displays wrong time, won't connect to server

**URL:** <https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160>\
**Category:** Apps & Creations\
**Created:** [August 16, 2018, 10:34pm UTC](https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160 "2018-08-16T22:34:47Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![guy165101](https://avatars.discourse-cdn.com/v4/letter/g/df788c/32.png) [@guy165101](https://forums.plex.tv/u/guy165101)\
**Post date:** [August 16, 2018, 10:34pm UTC](https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160/1 "2018-08-16T22:34:48Z")

</div>

Hello, have multiple rasplex devices pulling content from my plex server. All was well until we had a power outage, and the clocks got messed up on the rasplex devices (raspberry pi running rasplex 1.8.0).

- Tried hard coding the time zone (no go)
- Tried going in and manually changing the time in Busybox 1.25.1 (no go)

The date is stuck on 2017-02-27.

Happy to provide logs, and any other data needed. Thank you guys so much for your help. Love the product, and the community!

---

<div class="post-metadata">

**Author:** ![guy165101](https://avatars.discourse-cdn.com/v4/letter/g/df788c/32.png) [@guy165101](https://forums.plex.tv/u/guy165101)\
**Post date:** [August 19, 2018, 6:34pm UTC](https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160/3 "2018-08-19T18:34:21Z")

</div>

Hey thanks for your advice. Went and formatted the sd card, and downloaded and re-setup Rasplex again.

No Go… Same time issue with brand new install…

Set the timezone and everything. I even went as far as setting up an NTP pool, and nothing updated the time…

What else can I provide to help with the issue?

Thank you so much for looking into this.

---

<div class="post-metadata">

**Author:** ![videotecaCNSU](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/videotecacnsu/32/17514_2.png) [@videotecaCNSU](https://forums.plex.tv/u/videotecaCNSU)\
**Post date:** [August 21, 2018, 1:41pm UTC](https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160/5 "2018-08-21T13:41:23Z")

</div>

seems like a network problem and your RPI cant connect to the internet

connect through ssh to your pi and try to ping the outside world to test the connection

---

<div class="post-metadata">

**Author:** ![guy165101](https://avatars.discourse-cdn.com/v4/letter/g/df788c/32.png) [@guy165101](https://forums.plex.tv/u/guy165101)\
**Post date:** [August 22, 2018, 12:07am UTC](https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160/6 "2018-08-22T00:07:09Z")

</div>

Good point guys…

- Network connection is good… Pinged [google.com](http://google.com), no problems.
- Downloaded the image again, same issue.
- Set the language/region/timezone all that. Its still stuck on being over a year ago in February. So don’t think the timezone settings will fix that.

Have 3 of these rasplex devices running and all have the same issue… All have different SD cards. Would be disappointing, if a thunder storm is all it took to knock these things out… All are behind surge protectors.

Is there any way on plex server, to ignore the timestamp during the auth process. Or just allow anything to connect to it? I have tried manually setting up the plex server location, and no go as well.

Thanks for your help guys.

Chris

---

<div class="post-metadata">

**Author:** ![videotecaCNSU](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/videotecacnsu/32/17514_2.png) [@videotecaCNSU](https://forums.plex.tv/u/videotecaCNSU)\
**Post date:** [August 23, 2018, 1:38pm UTC](https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160/7 "2018-08-23T13:38:20Z")

</div>

try this command to see if you can force the ntpd update manually

`ntpd -p time.google.com`

---

<div class="post-metadata">

**Author:** ![guy165101](https://avatars.discourse-cdn.com/v4/letter/g/df788c/32.png) [@guy165101](https://forums.plex.tv/u/guy165101)\
**Post date:** [August 24, 2018, 1:23am UTC](https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160/8 "2018-08-24T01:23:53Z")

</div>

Thanks man, gave it a shot… No go, but I really appreciate the help! Any other suggestions?

 ![2018-08-23%2021_22_56-](https://global.discourse-cdn.com/plex/original/3X/5/7/57cb249714947f25042caa6ab94e04ac0adb01e5.png)

---

<div class="post-metadata">

**Author:** ![videotecaCNSU](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/videotecacnsu/32/17514_2.png) [@videotecaCNSU](https://forums.plex.tv/u/videotecaCNSU)\
**Post date:** [August 24, 2018, 12:51pm UTC](https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160/9 "2018-08-24T12:51:02Z")

</div>

I still bet my money its a network problem, something its blocking NTP comunications because Im testing it on the same build as you.

I dont know how its your network setup but you need to open both ways comunications in your firewall on UDP port 123 or build a local NTP server inside your network and have all RPI point to them.

---

<div class="post-metadata">

**Author:** ![guy165101](https://avatars.discourse-cdn.com/v4/letter/g/df788c/32.png) [@guy165101](https://forums.plex.tv/u/guy165101)\
**Post date:** [August 24, 2018, 10:55pm UTC](https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160/10 "2018-08-24T22:55:49Z")

</div>

Hello Sir, you were correct. I was looking at the time based solely from busy box, not the rasplex UI…

Wouldn’t you know as soon as I ssh’d into the box and ran  
ntpd -p [time.google.com](http://time.google.com)

That son of a gun connected…

So question… Any ideas on how I could get that to run automatically on boot?

Thank you again so much for your help. Was about to go out and buy a bunch of stuff I didn’t need. You rock man!

---

<div class="post-metadata">

**Author:** ![videotecaCNSU](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/videotecacnsu/32/17514_2.png) [@videotecaCNSU](https://forums.plex.tv/u/videotecaCNSU)\
**Post date:** [August 24, 2018, 11:12pm UTC](https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160/11 "2018-08-24T23:12:23Z")

</div>

I think you can edit the NTP servers and add google if you want… that is the clean way  
the dirty way its just to run it as a script as soon as it boots

Edit or create autostart.sh (default location at “/.config”) with

```auto
#!/bin/sh
(
sleep 10s;
ntpd -p time.google.com;
) &

```

and reboot

---

<div class="post-metadata">

**Author:** ![guy165101](https://avatars.discourse-cdn.com/v4/letter/g/df788c/32.png) [@guy165101](https://forums.plex.tv/u/guy165101)\
**Post date:** [August 26, 2018, 1:30pm UTC](https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160/12 "2018-08-26T13:30:58Z")

</div>

Hey man, can’t thank you enough… Making the autostart.sh file in /storage/.config/\* worked like a charm.

If you are in the Boston area, happy to buy you a beer.

For anyone else, follow the directions above, then run:  
**chmod +x /storage/.config/autostart.sh**

---

<div class="post-metadata">

**Author:** ![videotecaCNSU](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/videotecacnsu/32/17514_2.png) [@videotecaCNSU](https://forums.plex.tv/u/videotecaCNSU)\
**Post date:** [August 27, 2018, 5:27pm UTC](https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160/13 "2018-08-27T17:27:26Z")

</div>

You are welcome, but I’m a little far away for the invitation

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [November 25, 2018, 5:27pm UTC](https://forums.plex.tv/t/rasplex-displays-wrong-time-wont-connect-to-server/297160/14 "2018-11-25T17:27:27Z")

</div>

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