Error: Failed to start containers - Likely Pi-hole related

RPi 4 8gb with 1TB ssd connected via ethernet. I have no funds on it, so no issue reflashing sd. Just trying to learn a bit.

Been messing with Pi-hole recently. Made no configuration changes today, but ended up attempting a reboot with the below (previously was doing ./scripts/stop and start, but I see it’s advised not to do so. Reason why? RPi issue?)

sudo systemctl stop umbrel-startup && docker system prune -f && sudo systemctl start umbrel-startup

When I try to run sudo rm -f .env && sudo ./scripts/configure , I get below which further makes me think it’s with pihole

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

Generating auth credentials

Generating Tor password

Unable to find image 'getumbrel/tor:v0.4.1.9' locally
docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 192.168.254.250:53: read udp 192.168.254.250:35439->192.168.254.250:53: read: connection refused.
See 'docker run --help'.

Attempted everything applicable in troubleshooting guide.

Because the removing the env, I also see a bunch of errors for that. I tried to upload via CLI anf it went through, but gave same errors as shown below in the debug at the end.

Not a super big issue because no funds involved, but just trying to learn more about docker and such. Thanks!

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

Umbrel version
--------------
0.4.10

Flashed OS version
-----------------
v0.4.9

Raspberry Pi Model
------------------
Revision        : d03114
Serial          : 10000000b1e89fef
Model           : Raspberry Pi 4 Model B Rev 1.4

Firmware
--------
Oct 29 2021 10:47:33
Copyright (c) 2012 Broadcom
version b8a114e5a9877e91ca8f26d1a5ce904b2ad3cf13 (clean) (release) (start)

Temperature
-----------
temp=44.8'C

Throttling
----------
throttled=0x0

Memory usage
------------
              total        used        free      shared  buff/cache   available
Mem:           7.8G        134M        7.2G        8.0M        459M        7.5G
Swap:          4.1G          0B        4.1G

total: 1.7%
system: 1.7%
vaultwarden: 0%
tor: 0%
pi-hole: 0%
photoprism: 0%
nextcloud: 0%
mempool: 0%
lnd: 0%
electrs: 0%
btc-rpc-explorer: 0%
bitcoin: 0%

Memory monitor logs
-------------------
2022-01-10 22:43:13 Memory monitor running!
2022-01-10 22:43:25 Memory monitor running!
2022-01-10 22:43:37 Memory monitor running!
2022-01-10 22:43:49 Memory monitor running!
2022-01-10 22:44:01 Memory monitor running!
2022-01-10 22:44:13 Memory monitor running!
2022-01-10 22:44:25 Memory monitor running!
2022-01-10 22:44:37 Memory monitor running!
2022-01-10 22:44:49 Memory monitor running!
2022-01-10 22:45:01 Memory monitor running!

Filesystem information
----------------------
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        59G  3.0G   53G   6% /
/dev/sda1       916G  565G  306G  65% /home/umbrel/umbrel

Startup service logs
--------------------
Jan 10 22:45:02 umbrel umbrel startup[6063]: The NGINX_PORT variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The NGINX_IP variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The BITCOIN_P2P_PORT variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The BITCOIN_IP variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The LND_REST_PORT variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The LND_GRPC_PORT variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The LND_IP variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The DASHBOARD_IP variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The MIDDLEWARE_IP variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The BITCOIN_RPC_PORT variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The BITCOIN_RPC_USER variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The BITCOIN_RPC_PASS variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The BITCOIN_NETWORK variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The MANAGER_IP variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The NEUTRINO_SWITCHER_IP variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The ELECTRUM_PORT variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The ELECTRUM_IP variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The NETWORK_IP variable is not set. Defaulting to a blank string.
Jan 10 22:45:02 umbrel umbrel startup[6063]: The Compose file './docker-compose.yml' is invalid because:
Jan 10 22:45:02 umbrel umbrel startup[6063]: networks.default.ipam.config.subnet is invalid: should use the CIDR format
Jan 10 22:45:02 umbrel umbrel startup[6063]: services.tor.ports contains an invalid type, it should be a number, or an object
Jan 10 22:45:02 umbrel umbrel startup[6063]: services.bitcoin.ports contains an invalid type, it should be a number, or an object
Jan 10 22:45:02 umbrel umbrel startup[6063]: services.electrs.ports contains an invalid type, it should be a number, or an object
Jan 10 22:45:02 umbrel umbrel startup[6063]: services.lnd.ports contains an invalid type, it should be a number, or an object
Jan 10 22:45:02 umbrel umbrel startup[6063]: services.nginx.ports contains an invalid type, it should be a number, or an object
Jan 10 22:45:02 umbrel umbrel startup[6063]: services.lnd.ports value ['9735:9735', ':', ':'] has non-unique elements
Jan 10 22:45:03 umbrel umbrel startup[6063]: Failed to start containers
Jan 10 22:45:03 umbrel systemd[1]: umbrel-startup.service: Control process exited, code=exited, status=1/FAILURE
Jan 10 22:45:03 umbrel systemd[1]: umbrel-startup.service: Failed with result 'exit-code'.
Jan 10 22:45:03 umbrel systemd[1]: Failed to start Umbrel Startup Service.

External storage service logs
-----------------------------
-- Logs begin at Mon 2022-01-10 22:41:42 EST, end at Mon 2022-01-10 22:45:03 EST. --
Jan 10 22:41:47 umbrel systemd[1]: Starting External Storage Mounter...
Jan 10 22:41:47 umbrel external storage mounter[481]: Running external storage mount script...
Jan 10 22:41:47 umbrel external storage mounter[481]: Found device "WDC WDB NCE0010PNC"
Jan 10 22:41:47 umbrel external storage mounter[481]: Blacklisting USB device IDs against UAS driver...
Jan 10 22:41:47 umbrel external storage mounter[481]: Rebinding USB drivers...
Jan 10 22:41:47 umbrel external storage mounter[481]: Checking USB devices are back...
Jan 10 22:41:47 umbrel external storage mounter[481]: Waiting for USB devices...
Jan 10 22:41:48 umbrel external storage mounter[481]: Waiting for USB devices...
Jan 10 22:41:49 umbrel external storage mounter[481]: Checking if the device is ext4...
Jan 10 22:41:50 umbrel external storage mounter[481]: Yes, it is ext4
Jan 10 22:41:50 umbrel external storage mounter[481]: Checking if device contains an Umbrel install...
Jan 10 22:41:50 umbrel external storage mounter[481]: Yes, it contains an Umbrel install
Jan 10 22:41:50 umbrel external storage mounter[481]: Bind mounting external storage over local Umbrel installation...
Jan 10 22:41:50 umbrel external storage mounter[481]: Bind mounting external storage over local Docker data dir...
Jan 10 22:41:50 umbrel external storage mounter[481]: Bind mounting external storage to /swap
Jan 10 22:41:50 umbrel external storage mounter[481]: Bind mounting SD card root at /sd-card...
Jan 10 22:41:50 umbrel external storage mounter[481]: Checking Umbrel root is now on external storage...
Jan 10 22:41:51 umbrel external storage mounter[481]: Checking /var/lib/docker is now on external storage...
Jan 10 22:41:51 umbrel external storage mounter[481]: Checking /swap is now on external storage...
Jan 10 22:41:51 umbrel external storage mounter[481]: Setting up swapfile
Jan 10 22:41:51 umbrel external storage mounter[481]: Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
Jan 10 22:41:51 umbrel external storage mounter[481]: no label, UUID=b1c48f9f-b8fb-4bfd-9577-9c29308ebabf
Jan 10 22:41:51 umbrel external storage mounter[481]: Checking SD Card root is bind mounted at /sd-root...
Jan 10 22:41:51 umbrel external storage mounter[481]: Starting external drive mount monitor...
Jan 10 22:41:51 umbrel external storage mounter[481]: Mount script completed successfully!
Jan 10 22:41:51 umbrel systemd[1]: Started External Storage Mounter.

External storage SD card update service logs
--------------------------------------------
-- Logs begin at Mon 2022-01-10 22:41:42 EST, end at Mon 2022-01-10 22:45:03 EST. --
Jan 10 22:41:59 umbrel systemd[1]: Starting External Storage SDcard Updater...
Jan 10 22:41:59 umbrel external storage updater[881]: Checking if SD card Umbrel is newer than external storage...
Jan 10 22:41:59 umbrel external storage updater[881]: No, SD version is not newer, exiting.
Jan 10 22:41:59 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
-----------------
NAMES     STATUS

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.ports contains an invalid type, it should be a number, or an object
services.bitcoin.ports contains an invalid type, it should be a number, or an object
services.electrs.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.lnd.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
services.lnd.ports value ['9735:9735', ':', ':'] has non-unique elements

Bitcoin Core 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.ports contains an invalid type, it should be a number, or an object
services.bitcoin.ports contains an invalid type, it should be a number, or an object
services.electrs.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.lnd.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
services.lnd.ports value ['9735:9735', ':', ':'] has non-unique elements

LND 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.ports contains an invalid type, it should be a number, or an object
services.bitcoin.ports contains an invalid type, it should be a number, or an object
services.electrs.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.lnd.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
services.lnd.ports value ['9735:9735', ':', ':'] has non-unique elements

electrs 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.ports contains an invalid type, it should be a number, or an object
services.bitcoin.ports contains an invalid type, it should be a number, or an object
services.electrs.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.lnd.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
services.lnd.ports value ['9735:9735', ':', ':'] has non-unique elements

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.ports contains an invalid type, it should be a number, or an object
services.bitcoin.ports contains an invalid type, it should be a number, or an object
services.electrs.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.lnd.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
services.lnd.ports value ['9735:9735', ':', ':'] has non-unique elements

App logs
--------

btc-rpc-explorer

ERROR: Couldn't find env file: /home/umbrel/umbrel/.env

mempool

ERROR: Couldn't find env file: /home/umbrel/umbrel/.env

nextcloud

ERROR: Couldn't find env file: /home/umbrel/umbrel/.env

photoprism

ERROR: Couldn't find env file: /home/umbrel/umbrel/.env

pi-hole

ERROR: Couldn't find env file: /home/umbrel/umbrel/.env

vaultwarden

ERROR: Couldn't find env file: /home/umbrel/umbrel/.env
================
==== Result ====
================
The debug script did not automatically detect any issues with your Umbrel.

Hah! Seconds after posting that, I realised I didn’t ./configure after attempting Umbrel redownload via CLI (initially to 4.8 due to just c/p of command and being half asleep and then again to 4.10). After running sudo rm -f .env && sudo ./scripts/configure and then ./start, it’s all good.

Would still appreciate if someone would tell me why I can’t use ./start and stop on RPi. Can I just create my own file with systemctl commands and chmod +x it to have a saved ‘easy’ button?

1 Like

I’ve used start and stop and it was fine