# Umbrel timezone?

**URL:** <https://community.umbrel.com/t/umbrel-timezone/8162>\
**Category:** Support and Troubleshooting\
**Created:** [June 10, 2022, 8:14pm UTC](https://community.umbrel.com/t/umbrel-timezone/8162 "2022-06-10T20:14:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoltan](https://avatars.discourse-cdn.com/v4/letter/z/ad7895/32.png) [@zoltan](https://community.umbrel.com/u/zoltan)\
**Post date:** [June 10, 2022, 8:14pm UTC](https://community.umbrel.com/t/umbrel-timezone/8162/1 "2022-06-10T20:14:34Z")

</div>

Does umbrel have a way to setup a timezone? I am having some issues with lncli that I believe are related to timezone.

For some reason “lncli fwdinghistory” shows my routings with a 6 hour delay. Both LNDg and RTL show the forwardings correctly, but when running from terminal “lncli fwdinghistory” I can only see routings with a 6 hour delay.  
I think it has something to do with the server timezone, umbrel timezone or lnd timezone.

Now, the server time is UTC and LND log file also logs in UTC. However, I changed in the past the server time from EEST to UTC and vice versa. Not sure if this caused the problem.

What is strange is that both LNDg and RTL shows real time data, I thought they also use lncli, so how do they get the data without the delay?

What should I do? Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![Aydo](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/aydo/32/3146_2.png) [@Aydo](https://community.umbrel.com/u/Aydo)\
**Post date:** [June 10, 2022, 11:54pm UTC](https://community.umbrel.com/t/umbrel-timezone/8162/2 "2022-06-10T23:54:00Z")

</div>

You must map timezone and localtime from host to the container. Edit the docker-compose file for lnd. In v0.5.0 the path to the file is `~/umbrel/app-data/lightning/docker-compose.yml` and add the following two lines under lnd service:

```auto
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro

```

docker-compose is strict with syntax so be careful with spaces, it should look exactly like this:

```auto
volumes:
  - /etc/timezone:/etc/timezone:ro
  - /etc/localtime:/etc/localtime:ro
  - "${APP_LIGHTNING_NODE_DATA_DIR}:/data/.lnd"

```

---

<div class="post-metadata">

**Author:** ![zoltan](https://avatars.discourse-cdn.com/v4/letter/z/ad7895/32.png) [@zoltan](https://community.umbrel.com/u/zoltan)\
**Post date:** [June 11, 2022, 7:18am UTC](https://community.umbrel.com/t/umbrel-timezone/8162/3 "2022-06-11T07:18:30Z")

</div>

> [@Aydo](#):
>
> ```auto
> - /etc/timezone:/etc/timezone:ro
> - /etc/localtime:/etc/localtime:ro
> 
> ```

Thanks. I am using umbrel version 0.14.8. I added to /home/umbrel/docker-compose.yml under lnd the volumes. Then restarted umbrel. Now, the delay is even bigger: 18 hours! What can be wrong?

Thank you.

---

<div class="post-metadata">

**Author:** ![Aydo](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/aydo/32/3146_2.png) [@Aydo](https://community.umbrel.com/u/Aydo)\
**Post date:** [June 11, 2022, 5:45pm UTC](https://community.umbrel.com/t/umbrel-timezone/8162/4 "2022-06-11T17:45:25Z")

</div>

run `sudo raspi-config` go to localization settings \> timezone \> set your timezone

---

<div class="post-metadata">

**Author:** ![zoltan](https://avatars.discourse-cdn.com/v4/letter/z/ad7895/32.png) [@zoltan](https://community.umbrel.com/u/zoltan)\
**Post date:** [June 11, 2022, 6:12pm UTC](https://community.umbrel.com/t/umbrel-timezone/8162/5 "2022-06-11T18:12:34Z")

</div>

I am not running umbrel on a raspi. I run it on a debian.  
date  
Sat 11 Jun 2022 06:11:41 PM UTC  
The date and time there is correct, and it is UTC.

---

<div class="post-metadata">

**Author:** ![Aydo](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/aydo/32/3146_2.png) [@Aydo](https://community.umbrel.com/u/Aydo)\
**Post date:** [June 11, 2022, 7:37pm UTC](https://community.umbrel.com/t/umbrel-timezone/8162/6 "2022-06-11T19:37:18Z")

</div>

It’s UTC so the docker container is using UTC now. run **`timedatectl list-timezones`** to find the exact timezone to use. For me it’s **`America/Los_Angeles`**.

To set your timezone (replace America/Los\_Angeles with your timezone)

```auto
sudo timedatectl set-timezone America/Los_Angeles
sudo reboot

```
