# Home Assistant configuration.yaml nuked during Umbrel restart?

**URL:** <https://community.umbrel.com/t/home-assistant-configuration-yaml-nuked-during-umbrel-restart/8204>\
**Category:** Support and Troubleshooting\
**Created:** [June 12, 2022, 4:34pm UTC](https://community.umbrel.com/t/home-assistant-configuration-yaml-nuked-during-umbrel-restart/8204 "2022-06-12T16:34:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![disuye](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@disuye](https://community.umbrel.com/u/disuye)\
**Post date:** [June 12, 2022, 4:34pm UTC](https://community.umbrel.com/t/home-assistant-configuration-yaml-nuked-during-umbrel-restart/8204/1 "2022-06-12T16:34:31Z")

</div>

Title says it all really.

Any changes made to `configuration.yaml` in the folder `~/umbrel/app-data/home-assistant/` are wiped each time the Umbrel node is restarted.

And any text added to `configuration.yaml` in the **sub-folder** `~/umbrel/app-data/home-assistant/data` are ignored by Home Assistant.

Can anyone point me towards some info about what the proper procedure is re: `configuration.yaml`? Many thanks, D

---

<div class="post-metadata">

**Author:** ![mssv](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@mssv](https://community.umbrel.com/u/mssv)\
**Post date:** [June 18, 2022, 5:25pm UTC](https://community.umbrel.com/t/home-assistant-configuration-yaml-nuked-during-umbrel-restart/8204/2 "2022-06-18T17:25:35Z")

</div>

Hi!  
I’ve just started using Home Assistant. Great app but that’s bad news if the configuration gets wiped out when you restart. So you had to configure everything again?

---

<div class="post-metadata">

**Author:** ![disuye](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@disuye](https://community.umbrel.com/u/disuye)\
**Post date:** [July 19, 2022, 8:21pm UTC](https://community.umbrel.com/t/home-assistant-configuration-yaml-nuked-during-umbrel-restart/8204/3 "2022-07-19T20:21:06Z")

</div>

There’s a workaround – make all the edits you want to `configuration.yaml` and make a duplicate of that file called `configuration.yaml.template` … everytime Umbrel/HA reboots, `configuration.yaml` is overwritten by the contents of `configuration.yaml.template` … I don’t know why this is necessary, but its working for me.

Now if anyone has managed to get Sonos integration working in Umbrel HA (possibly a firewall issue?) hit me up! Banging my head against that one right now.

---

<div class="post-metadata">

**Author:** ![mssv](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@mssv](https://community.umbrel.com/u/mssv)\
**Post date:** [July 20, 2022, 2:57pm UTC](https://community.umbrel.com/t/home-assistant-configuration-yaml-nuked-during-umbrel-restart/8204/4 "2022-07-20T14:57:26Z")

</div>

My solution to all my problems:buying another RaspPi4, install directly Home Assistant.  
Much simpler.

---

<div class="post-metadata">

**Author:** ![disuye](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@disuye](https://community.umbrel.com/u/disuye)\
**Post date:** [July 21, 2022, 11:58am UTC](https://community.umbrel.com/t/home-assistant-configuration-yaml-nuked-during-umbrel-restart/8204/5 "2022-07-21T11:58:20Z")

</div>

There is always that approach 🙂

I’ve mirrored my Umbrel HA on an ancient MacMini running HA w/ VirtualBox VM … which creates other issues (painfully slow reboot times).

---

<div class="post-metadata">

**Author:** ![Andre\_C](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@Andre\_C](https://community.umbrel.com/u/Andre_C)\
**Post date:** [September 22, 2024, 3:32pm UTC](https://community.umbrel.com/t/home-assistant-configuration-yaml-nuked-during-umbrel-restart/8204/6 "2024-09-22T15:32:17Z")

</div>

Thanks for the hint.  
Could you guide me please how to edit the files? i’m having trouble with it and can’t access the file. docker is new to me

by the way. i have sonos integration working. combined sonos beam and sonos era 300 for my tv setup.
