Docker issue? Hard drive? Please help!

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.

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.

Resolved it by following this:

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!

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.

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

No, I had to start over :rage: