# Docker issue? Hard drive? Please help!

**URL:** <https://community.umbrel.com/t/docker-issue-hard-drive-please-help/9353>\
**Category:** Support and Troubleshooting\
**Created:** [September 7, 2022, 4:23pm UTC](https://community.umbrel.com/t/docker-issue-hard-drive-please-help/9353 "2022-09-07T16:23:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![BitcoinZAR](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/bitcoinzar/32/3216_2.png) [@BitcoinZAR](https://community.umbrel.com/u/BitcoinZAR)\
**Post date:** [September 7, 2022, 4:23pm UTC](https://community.umbrel.com/t/docker-issue-hard-drive-please-help/9353/1 "2022-09-07T16:23:10Z")

</div>

I cannot seem to get Umbrel to boot properly.

I have tried reflashing the card with latest version of umbrel, I have rebooted, etc. and tried to restart docker, and that is where I saw some errors such as: ERROR: The Compose file ‘./docker-compose.yml’ is invalid and Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

I am not an expert and not sure what to do. I have tried to start and stop docker but that does not work properly. I tried to unmount the drive and get an error that its busy.  
I see some other people here had similar problems so I followed the instructions they gave but none has worked for me so far.

I also have assigned a local IP address to the Pi using my router, so that is how I use Putty to access it.

Here is the log file:

# ===================== = Umbrel debug info =

## Umbrel version

0.5.1

## Flashed OS version

v0.5.0

## Raspberry Pi Model

Revision : d03115  
Serial : 10000000517f374b  
Model : Raspberry Pi 4 Model B Rev 1.5

## Firmware

Dec 1 2021 15:01:54  
Copyright © 2012 Broadcom  
version 71bd3109023a0c8575585ba87cbb374d2eeb038f (clean) (release) (start)

## Temperature

temp=39.4’C

## Throttling

throttled=0x0

## Memory usage

```
          total used free shared buff/cache available

```

Mem: 7.8G 140M 7.4G 8.0M 311M 7.5G  
Swap: 4.1G 0B 4.1G

total: 1.8%  
system: 1.8%  
tor: 0%  
pi-hole: 0%  
lnd: 0%  
lightning: 0%  
electrs: 0%  
btcpay-server: 0%  
bitcoin: 0%  
bitcoin: 0%

## Memory monitor logs

2022-09-07 16:12:09 Memory monitor running!  
2022-09-07 16:12:21 Memory monitor running!  
2022-09-07 16:12:33 Memory monitor running!  
2022-09-07 16:12:45 Memory monitor running!  
2022-09-07 16:12:57 Memory monitor running!  
2022-09-07 16:13:08 Memory monitor running!  
2022-09-07 16:13:20 Memory monitor running!  
2022-09-07 16:13:32 Memory monitor running!  
2022-09-07 16:13:44 Memory monitor running!  
2022-09-07 16:13:55 Memory monitor running!

## Filesystem information

Filesystem Size Used Avail Use% Mounted on  
/dev/root 15G 1.8G 12G 13% /  
/dev/sda1 1.8T 508G 1.3T 30% /home/umbrel/umbrel

## Startup service logs

Sep 07 16:13:55 umbrel umbrel startup[25117]: Starting karen…  
Sep 07 16:13:55 umbrel umbrel startup[25117]: Starting status monitors…  
Sep 07 16:13:55 umbrel umbrel startup[25117]: Starting memory monitor…  
Sep 07 16:13:55 umbrel umbrel startup[25117]: Starting backup monitor…  
Sep 07 16:13:55 umbrel umbrel startup[25117]: Starting decoy backup trigger…  
Sep 07 16:13:55 umbrel umbrel startup[25117]: Starting Docker services…  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The TOR\_PROXY\_PORT variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The TOR\_PROXY\_IP variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The NGINX\_PORT variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The NGINX\_IP variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The DASHBOARD\_IP variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The UMBREL\_AUTH\_SECRET variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The BITCOIN\_P2P\_PORT variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The BITCOIN\_RPC\_PORT variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The BITCOIN\_RPC\_USER variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The BITCOIN\_RPC\_PASS variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The BITCOIN\_NETWORK variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The MANAGER\_IP variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The AUTH\_PORT variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The AUTH\_IP variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The NETWORK\_IP variable is not set. Defaulting to a blank string.  
Sep 07 16:13:57 umbrel umbrel startup[25117]: The Compose file ‘./docker-compose.yml’ is invalid because:  
Sep 07 16:13:57 umbrel umbrel startup[25117]: networks.default.ipam.config.subnet is invalid: should use the CIDR format  
Sep 07 16:13:57 umbrel umbrel startup[25117]: services.tor\_proxy.ports contains an invalid type, it should be a number, or an object  
Sep 07 16:13:57 umbrel umbrel startup[25117]: services.auth.ports contains an invalid type, it should be a number, or an object  
Sep 07 16:13:57 umbrel umbrel startup[25117]: services.nginx.ports contains an invalid type, it should be a number, or an object  
Sep 07 16:13:57 umbrel umbrel startup[25117]: Failed to start containers  
Sep 07 16:13:57 umbrel systemd[1]: umbrel-startup.service: Control process exited, code=exited, status=1/FAILURE  
Sep 07 16:13:57 umbrel systemd[1]: umbrel-startup.service: Failed with result ‘exit-code’.  
Sep 07 16:13:57 umbrel systemd[1]: Failed to start Umbrel Startup Service.

## External storage service logs

– Logs begin at Wed 2022-09-07 16:01:57 UTC, end at Wed 2022-09-07 16:13:57 UTC. –  
Sep 07 16:02:02 umbrel systemd[1]: Starting External Storage Mounter…  
Sep 07 16:02:02 umbrel external storage mounter[486]: Running external storage mount script…  
Sep 07 16:02:02 umbrel external storage mounter[486]: Found device “TOSHIBA External USB 3.0”  
Sep 07 16:02:02 umbrel external storage mounter[486]: Blacklisting USB device IDs against UAS driver…  
Sep 07 16:02:02 umbrel external storage mounter[486]: Rebinding USB drivers…  
Sep 07 16:02:02 umbrel external storage mounter[486]: Checking USB devices are back…  
Sep 07 16:02:02 umbrel external storage mounter[486]: Waiting for USB devices…  
Sep 07 16:02:03 umbrel external storage mounter[486]: Waiting for USB devices…  
Sep 07 16:02:04 umbrel external storage mounter[486]: Waiting for USB devices…  
Sep 07 16:02:05 umbrel external storage mounter[486]: Checking if the device is ext4…  
Sep 07 16:02:05 umbrel external storage mounter[486]: Yes, it is ext4  
Sep 07 16:02:05 umbrel external storage mounter[486]: Checking if device contains an Umbrel install…  
Sep 07 16:02:05 umbrel external storage mounter[486]: Yes, it contains an Umbrel install  
Sep 07 16:02:06 umbrel external storage mounter[486]: Bind mounting external storage over local Umbrel installation…  
Sep 07 16:02:06 umbrel external storage mounter[486]: Bind mounting external storage over local Docker data dir…  
Sep 07 16:02:06 umbrel external storage mounter[486]: Bind mounting external storage to /swap  
Sep 07 16:02:06 umbrel external storage mounter[486]: Bind mounting SD card root at /sd-card…  
Sep 07 16:02:06 umbrel external storage mounter[486]: Checking Umbrel root is now on external storage…  
Sep 07 16:02:07 umbrel external storage mounter[486]: Checking /var/lib/docker is now on external storage…  
Sep 07 16:02:07 umbrel external storage mounter[486]: Checking /swap is now on external storage…  
Sep 07 16:02:07 umbrel external storage mounter[486]: Setting up swapfile  
Sep 07 16:02:13 umbrel external storage mounter[486]: Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)  
Sep 07 16:02:13 umbrel external storage mounter[486]: no label, UUID=a0be8aed-0de6-46f9-8b8e-56ae9f26bfbc  
Sep 07 16:02:13 umbrel external storage mounter[486]: Checking SD Card root is bind mounted at /sd-root…  
Sep 07 16:02:13 umbrel external storage mounter[486]: Starting external drive mount monitor…  
Sep 07 16:02:13 umbrel external storage mounter[486]: Mount script completed successfully!  
Sep 07 16:02:13 umbrel systemd[1]: Started External Storage Mounter.

## External storage SD card update service logs

– Logs begin at Wed 2022-09-07 16:01:57 UTC, end at Wed 2022-09-07 16:13:57 UTC. –  
Sep 07 16:02:16 umbrel systemd[1]: Starting External Storage SDcard Updater…  
Sep 07 16:02:16 umbrel external storage updater[730]: Checking if SD card Umbrel is newer than external storage…  
Sep 07 16:02:16 umbrel external storage updater[730]: No, SD version is not newer, exiting.  
Sep 07 16:02:16 umbrel systemd[1]: Started External Storage SDcard Updater.

## Karen logs

karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events  
karen is running in /home/umbrel/umbrel/events

## Docker containers

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

## Umbrel logs

ERROR: The Compose file ‘./docker-compose.yml’ is invalid because:  
networks.default.ipam.config.subnet is invalid: should use the CIDR format  
services.tor\_proxy.ports contains an invalid type, it should be a number, or an object  
services.auth.ports contains an invalid type, it should be a number, or an object  
services.nginx.ports contains an invalid type, it should be a number, or an object

## Tor logs

ERROR: The Compose file ‘./docker-compose.yml’ is invalid because:  
networks.default.ipam.config.subnet is invalid: should use the CIDR format  
services.tor\_proxy.ports contains an invalid type, it should be a number, or an object  
services.auth.ports contains an invalid type, it should be a number, or an object  
services.nginx.ports contains an invalid type, it should be a number, or an object

## App logs

bitcoin

./scripts/app: line 82: NETWORK\_IP: unbound variable

btcpay-server

./scripts/app: line 82: NETWORK\_IP: unbound variable

lightning

./scripts/app: line 82: NETWORK\_IP: unbound variable

pi-hole

# ./scripts/app: line 82: NETWORK\_IP: unbound variable

# ==== Result ====

The debug script did not automatically detect any issues with your Umbrel.

---

<div class="post-metadata">

**Author:** ![sleepingsexton](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@sleepingsexton](https://community.umbrel.com/u/sleepingsexton)\
**Post date:** [September 9, 2022, 2:03pm UTC](https://community.umbrel.com/t/docker-issue-hard-drive-please-help/9353/2 "2022-09-09T14:03:46Z")

</div>

I am having the same issue. Its as if there is a circular issue - environment variables are not available or not loaded correctly so docker cannot start. None of the troubleshooting steps suggested work, as they rely on docker to be running. Re-flashed SD card twice and tried a new one. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![sleepingsexton](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@sleepingsexton](https://community.umbrel.com/u/sleepingsexton)\
**Post date:** [September 9, 2022, 2:52pm UTC](https://community.umbrel.com/t/docker-issue-hard-drive-please-help/9353/3 "2022-09-09T14:52:40Z")

</div>

Resolved it by following this:

> **[How I fixed docker panic: assertion failed: write: circular dependency...](https://techoverflow.net/2022/01/05/how-i-fixed-docker-panic-assertion-failed-write-circular-dependency-occurred/)**
>
> Problem: When starting docker on a VM that got suddenly turned off before during a power outage, the docker daemon failed to start up with the following error log: Jan 05 15:15:14 CoreOS-Haar dockerd\[5333\]: time="2022-01-05T15:15:14.946815577Z"...

Then I was able to start docker. Once docker was back up, I could follow the suggested troubleshooting tips (rm .env && sudo ./scripts/configure + the update procedure) to get back up and running!

---

<div class="post-metadata">

**Author:** ![BitcoinZAR](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/bitcoinzar/32/3216_2.png) [@BitcoinZAR](https://community.umbrel.com/u/BitcoinZAR)\
**Post date:** [October 13, 2022, 10:10am UTC](https://community.umbrel.com/t/docker-issue-hard-drive-please-help/9353/4 "2022-10-13T10:10:46Z")

</div>

None of that worked for me, I had to restart everything from the beginning including format hard drive etc. and wait a week for the blockchain to download again. This umbrel node seems very sketchy and unstable.

---

<div class="post-metadata">

**Author:** ![unclematic](https://avatars.discourse-cdn.com/v4/letter/u/9e8a1a/32.png) [@unclematic](https://community.umbrel.com/u/unclematic)\
**Post date:** [October 14, 2022, 8:37pm UTC](https://community.umbrel.com/t/docker-issue-hard-drive-please-help/9353/5 "2022-10-14T20:37:29Z")

</div>

did you ever figure out why your ssd got “write-only” ? i have tried everything and am about to clear everything and redownload blockchain and umbrel, etc

---

<div class="post-metadata">

**Author:** ![BitcoinZAR](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/bitcoinzar/32/3216_2.png) [@BitcoinZAR](https://community.umbrel.com/u/BitcoinZAR)\
**Post date:** [October 15, 2022, 8:25am UTC](https://community.umbrel.com/t/docker-issue-hard-drive-please-help/9353/6 "2022-10-15T08:25:33Z")

</div>

No, I had to start over 😡
