# Error: Failed to start containers

**URL:** <https://community.umbrel.com/t/error-failed-to-start-containers/4704>\
**Category:** Support and Troubleshooting\
**Created:** [November 15, 2021, 6:54pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704 "2021-11-15T18:54:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ocap](https://avatars.discourse-cdn.com/v4/letter/o/b77776/32.png) [@ocap](https://community.umbrel.com/u/ocap)\
**Post date:** [November 15, 2021, 6:54pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/1 "2021-11-15T18:54:51Z")

</div>

Hello

I am getting the following error: **Error: Failed to start containers**  
Tried reflashing the OS, but no succes.  
also tried  
sudo systemctl stop umbrel-startup.service && docker system prune --force --all && sudo systemctl start umbrel-startup.service

and  
sudo systemctl stop docker.service && sudo systemctl stop docker.socket && sudo rm -rf /var/lib/docker/\* && sudo umount /var/lib/docker || true && sudo rm -rf /mnt/data/docker/\* && sudo reboot

no luck

any suggestions?

> **[Error: Failed to start containers - Pastebin.com](https://pastebin.com/iNmvrQYw)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Many thanks!

---

<div class="post-metadata">

**Author:** ![DarthCoin](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/darthcoin/32/1628_2.png) [@DarthCoin](https://community.umbrel.com/u/DarthCoin)\
**Post date:** [November 15, 2021, 6:59pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/2 "2021-11-15T18:59:17Z")

</div>

after that command, did you update again umbrelOS to latest version?  
Try reflashing the mSD card now after you did that.  
Those startup strings doesn’t sound good.  
variable is not set. Defaulting to a blank string.

---

<div class="post-metadata">

**Author:** ![ocap](https://avatars.discourse-cdn.com/v4/letter/o/b77776/32.png) [@ocap](https://community.umbrel.com/u/ocap)\
**Post date:** [November 15, 2021, 7:02pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/3 "2021-11-15T19:02:30Z")

</div>

Did the OS flash first. then the commands. Will do a reflash. Keep you posted. Thanks for the fast reply

---

<div class="post-metadata">

**Author:** ![ocap](https://avatars.discourse-cdn.com/v4/letter/o/b77776/32.png) [@ocap](https://community.umbrel.com/u/ocap)\
**Post date:** [November 20, 2021, 4:28pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/4 "2021-11-20T16:28:45Z")

</div>

Dear DarthCoin

Bought a new SD card because I was having some trouble reflashing the OS on the SD card.  
Flashed the OS on the new SD card, no issues there with the new card.  
But I am still getting the same errors when trying to start umbrel  
Any further suggestions or does this not look good…

> **[Error: Failed to start containers - Pastebin.com](https://pastebin.com/gQLZBnnz)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

ocap.

---

<div class="post-metadata">

**Author:** ![21isenough](https://avatars.discourse-cdn.com/v4/letter/2/41988e/32.png) [@21isenough](https://community.umbrel.com/u/21isenough)\
**Post date:** [November 20, 2021, 4:38pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/5 "2021-11-20T16:38:31Z")

</div>

I find myself in the same situation. I`ve rebooted the system, have already also tried " sudo systemctl stop umbrel-startup.service && docker system prune --force --all && sudo systemctl start umbrel-startup.service" and reflashed the SD card.

Still stuck in the /start page, loading…

---

<div class="post-metadata">

**Author:** ![DarthCoin](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/darthcoin/32/1628_2.png) [@DarthCoin](https://community.umbrel.com/u/DarthCoin)\
**Post date:** [November 20, 2021, 4:47pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/6 "2021-11-20T16:47:11Z")

</div>

If you already reset those services and reflashed the mSD, sincerely, I don’t have other idea what could be. I’ve looked into the logs and seems that is the same error with not starting the docker containers.  
Maybe is something corrupted on your SSD.  
If you do not have funds in that node wallet (onchain and/or LN) I sugest to start over from scratch with erasing the SSD disk also, maybe the drive have some bad sectors.

@louneskmt do you have any other idea?

---

<div class="post-metadata">

**Author:** ![21isenough](https://avatars.discourse-cdn.com/v4/letter/2/41988e/32.png) [@21isenough](https://community.umbrel.com/u/21isenough)\
**Post date:** [November 20, 2021, 8:41pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/7 "2021-11-20T20:41:01Z")

</div>

I managed to restart my node completely following these steps:

You have error that a specific Umbrel App do not start or it keeps staying in “installing”, maybe the docker container for that app it wasn’t installed correctly or it hangs.

**Step 1 - Enter using SSH into your Umbrel node:**

**Step 2 - stop Umbrel node with:**

cd umbrel

sudo ./scripts/stop

**Step 3 - clean / reconfigure the broken container:**

sudo rm -f .env && sudo ./scripts/configure

**Step 4 - Restart your node:**

sudo ./scripts/start

---

<div class="post-metadata">

**Author:** ![louneskmt](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/louneskmt/32/13_2.png) [@louneskmt](https://community.umbrel.com/u/louneskmt)\
**Post date:** [November 20, 2021, 11:16pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/8 "2021-11-20T23:16:12Z")

</div>

Gad you could sort it out by yourself. And you @ocap?

> [@21isenough](#):
>
> sudo ./scripts/start

Also, on UmbrelOS, you should use `sudo systemctl <start | stop> umbrel-startup` instead of those scripts.

---

<div class="post-metadata">

**Author:** ![ocap](https://avatars.discourse-cdn.com/v4/letter/o/b77776/32.png) [@ocap](https://community.umbrel.com/u/ocap)\
**Post date:** [November 22, 2021, 10:36am UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/9 "2021-11-22T10:36:26Z")

</div>

Hi @louneskmt

No I haven’t had any luck.  
I run into error while stopping service --\> Couldn’t find env file: /home/umbrel/umbrel/.env  
as well as sudo rm .env --\> cannot remove ‘.env’: No such file or directory

pastebin with sudo ./scripts/stop

> **[umbrel@umbrel:~ $ cd umbrelumbrel@umbrel:~/umbrel $ sudo ./scripts/stop\[su -...](https://pastebin.com/jv898vwr)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

pastebin with logs is in the above messages

any help is greatly appreciated.

ocap

---

<div class="post-metadata">

**Author:** ![louneskmt](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/louneskmt/32/13_2.png) [@louneskmt](https://community.umbrel.com/u/louneskmt)\
**Post date:** [November 22, 2021, 1:03pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/10 "2021-11-22T13:03:45Z")

</div>

Please try again, I’ve updated @21isenough message to fix this.

---

<div class="post-metadata">

**Author:** ![ocap](https://avatars.discourse-cdn.com/v4/letter/o/b77776/32.png) [@ocap](https://community.umbrel.com/u/ocap)\
**Post date:** [November 22, 2021, 7:39pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/11 "2021-11-22T19:39:11Z")

</div>

Hello @louneskmt

These modified pieces of code work like magic 😉  
Node is back up and running. Bitcoin core is already 100% synced. BTC wallet and lightning wallet are still not showing the transactions and balance. But i guess this can take a while?

Many thanks! Is there a place where I can send the umbrel team some sats? (once my lightning wallet comes back online)

ocap

---

<div class="post-metadata">

**Author:** ![louneskmt](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/louneskmt/32/13_2.png) [@louneskmt](https://community.umbrel.com/u/louneskmt)\
**Post date:** [November 22, 2021, 7:46pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/12 "2021-11-22T19:46:38Z")

</div>

> [@ocap](#):
>
> BTC wallet and lightning wallet are still not showing the transactions and balance. But i guess this can take a while?

If nothing appears within the next 24 hours, please send me a DM.

> [@ocap](#):
>
> Many thanks! Is there a place where I can send the umbrel team some sats? (once my lightning wallet comes back online)

No worries! We do not accept donations, but we really appreciate your continuous support 😁

---

<div class="post-metadata">

**Author:** ![Micha110](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@Micha110](https://community.umbrel.com/u/Micha110)\
**Post date:** [December 8, 2021, 1:50pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/13 "2021-12-08T13:50:14Z")

</div>

Hi @louneskmt, I am having the same issue after a short power out. My node is currently running the configure script and is stuck at ‘Generating Tor Password’. How long does the reconfiguration usually take?

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![Micha110](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@Micha110](https://community.umbrel.com/u/Micha110)\
**Post date:** [December 8, 2021, 9:12pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/14 "2021-12-08T21:12:40Z")

</div>

I continued playing around… it worked now. Thanks for this threat and the help!

---

<div class="post-metadata">

**Author:** ![brianoflondon](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/brianoflondon/32/1595_2.png) [@brianoflondon](https://community.umbrel.com/u/brianoflondon)\
**Post date:** [December 9, 2021, 6:33am UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/15 "2021-12-09T06:33:12Z")

</div>

I had an uncontrolled power down last night and had the broken container screen after powering Raspberry Pi Umbrel back on.

In case it helps anyone I only needed to do:

```auto
cd umbrel
sudo ./scripts/stop

```

and after that the front end came back to life and everything was there. Posting in case that helps someone else.

---

<div class="post-metadata">

**Author:** ![louneskmt](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/louneskmt/32/13_2.png) [@louneskmt](https://community.umbrel.com/u/louneskmt)\
**Post date:** [December 12, 2021, 11:06am UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/16 "2021-12-12T11:06:28Z")

</div>

Hey! Please do not use this command on Umbrel OS. You should use instead:

```auto
sudo systemctl restart umbrel-startup

```

---

<div class="post-metadata">

**Author:** ![josferr19](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@josferr19](https://community.umbrel.com/u/josferr19)\
**Post date:** [December 17, 2021, 4:49pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/17 "2021-12-17T16:49:46Z")

</div>

Hi, I have seen your post here.  
I am still getting the error: Failed to start container…  
I have tried:  
1.-sudo systemctl stop umbrel-startup  
2.-sudo rm -f .env && sudo ./scripts/configure. here I am getting the below:

```
======================================
=========== RECONFIGURING ============
========= UMBREL (mainnet) ===========
======================================

Generating auth credentials

Generating Tor password

docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.

```

I have tried to re-flash the sd-card, but same issue. I think I have an issue with the SSD disk. Any recommendation for unmounting and fixing it?

I am trying to unmount it using the command:

```
sudo umount /dev/sda1
umount: /swap: umount failed: Operation not permitted.

sudo umount -f /dev/sda1
umount: /swap: target is busy.

```

Thanks in advance

Regards

---

<div class="post-metadata">

**Author:** ![Woodpecker](https://avatars.discourse-cdn.com/v4/letter/w/5e9695/32.png) [@Woodpecker](https://community.umbrel.com/u/Woodpecker)\
**Post date:** [March 9, 2022, 12:54pm UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/18 "2022-03-09T12:54:00Z")

</div>

I’m also getting the “Failed to start containers” error after several months of trouble-free operation. I’ve tried the steps above and end up with the following:

Job for umbrel-startup.service failed because the control process exited with error code.  
See “systemctl status umbrel-startup.service” and “journalctl -xe” for details.

I suspect the SD card has got corrupted somehow. Is there something else worth trying before I flash a new card and start from scratch with a backup?

---

<div class="post-metadata">

**Author:** ![Woodpecker](https://avatars.discourse-cdn.com/v4/letter/w/5e9695/32.png) [@Woodpecker](https://community.umbrel.com/u/Woodpecker)\
**Post date:** [March 11, 2022, 9:41am UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/19 "2022-03-11T09:41:37Z")

</div>

Turns out that a new SD card was all that was required. I flashed the new card with the latest version of the OS and turned it on again. All is back to normal, just waiting for blocks to resync. All funds and channels still there. Phew.

---

<div class="post-metadata">

**Author:** ![Catoshi](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/catoshi/32/7429_2.png) [@Catoshi](https://community.umbrel.com/u/Catoshi)\
**Post date:** [March 13, 2022, 10:11am UTC](https://community.umbrel.com/t/error-failed-to-start-containers/4704/20 "2022-03-13T10:11:10Z")

</div>

I think I have the same problem. Did you just purchase a new SD card and reflash it? Mine was working fine for months too, but recently I had to reflash several times, looks like the SD card got corrupt. Thanks for posting

[Next page](https://community.umbrel.com/t/error-failed-to-start-containers/4704.md?page=2)
