Pi-Hole in the Getumbrel node does not install, it always stays on

I have the Umbrel node installed, I try to install Pi-hole but it never installs ,. I’ve been like this for days, is there any method to make it install?

I am facing the same issue, did you get further ?

I also notice this topic Pi-hole stuck on installation but we are both using a newever version so I am not sure if it applyies

1 Like

Hey Fierfek, sorry that Pi-hole seems stuck, have you tried just restarting the machine? (settings->restart).

Do any of you happen to be running Umbrel on Linux?

I have the same issue, and yes, I’m running Umbrel on Ubuntu 18.04.3 LTS.

I also have the same issue, and yes, I’m running Umbrel on Ubuntu as well. Did anyone figure this out? I would love to get pihole running thru umbrel instead of installing it manually.

I’m having the same issue. base system is ubuntu 20.04.4. Restart does not fix it.

This is what shows up in the docker compose logs after I tried to start it if I grep for pi-hole:

docker-compose logs | grep pi-hole
nginx                | 10.21.21.11 - - [03/Mar/2022:16:05:55 +0000] "POST /manager-api/v1/apps/pi-hole/install HTTP/1.1" 200 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36"
manager              | ::ffff:10.21.21.2 - - [Thu, 03 Mar 2022 16:05:55 GMT] "POST /v1/apps/pi-hole/install HTTP/1.0" 200 - "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36"

I’m new to Umbrel so I don’t know if this would be expected to work or not but if I try to bring up the
container manually then I get the following:

docker-compose --env-file .env -f apps/pi-hole/docker-compose.yml up
WARNING: The APP_DATA_DIR variable is not set. Defaulting to a blank string.
WARNING: The APP_DOMAIN variable is not set. Defaulting to a blank string.
WARNING: The APP_PASSWORD variable is not set. Defaulting to a blank string.
Creating network "pi-hole_default" with the default driver
Recreating pi-hole_server_1 ... error

ERROR: for pi-hole_server_1  user specified IP address is supported only when connecting to networks with user configured subnets

ERROR: for server  user specified IP address is supported only when connecting to networks with user configured subnets
ERROR: Encountered errors while bringing up the project.

happy to provide additional diagnostics if it will help.

from the umbrel log in the web UI:

Pulling images for app pi-hole...
Pulling server ... 
Pulling server ... pulling from pihole/pihole
Pulling server ... digest: sha256:a02faea91d505d0bfc...
Pulling server ... status: image is up to date for p...
Pulling server ... done
Starting app pi-hole...
Starting pi-hole_server_1 ... 
Starting pi-hole_server_1 ... error

ERROR: for pi-hole_server_1  Cannot start service server: network ba5e9913bee8c506476150519ba8e0d07d48cf0f97970ce2138bddf2a6f92c57 not found

ERROR: for server  Cannot start service server: network ba5e9913bee8c506476150519ba8e0d07d48cf0f97970ce2138bddf2a6f92c57 not found
Encountered errors while bringing up the project.
Got signal: debug
karen is getting triggered!

Seems like it might be related to the docker network I’ve got pi-hole_default appearing on my list when other apps using the default network don’t have similarly named networks not sure if that’s a by product of my attempt to start it up manually though

docker network ls
NETWORK ID     NAME                  DRIVER    SCOPE
6b249c8ecc35   bridge                bridge    local
d517aed0280f   compose_backend       bridge    local
58b22eee88a3   compose_default       bridge    local
82f9ded342ae   compose_frontend      bridge    local
17a7848934bd   host                  host      local
2c9b217998d4   none                  null      local
2f0c3b99226b   pi-hole_default       bridge    local
63cd36a52ebe   umbrel_main_network   bridge    local

Hey guys. Sorry about the issue and thanks for reporting with the logs. It looks like the issue is due to Pi-hole not being able to run its DNS server on port 53. This only happens on Ubuntu because Ubuntu has systemd-resolve listening on port 53.

Here’s a tutorial on how to free up this port, post which Pi-hole should be able to run fine.

2 Likes

LETS GOOOOOO!!! I’m going to test this now. Thanks Mayank!!

Unfortunately it still does not install. The command shows empty now so what you linked did work, but the app still wont install.

sudo lsof -i :53
Shows nothing now.

Logs:
Traceback (most recent call last):
File “urllib3/connectionpool.py”, line 677, in urlopen
File “urllib3/connectionpool.py”, line 392, in _make_request
File “http/client.py”, line 1277, in request
File “http/client.py”, line 1323, in _send_request
File “http/client.py”, line 1272, in endheaders
File “http/client.py”, line 1032, in _send_output
File “http/client.py”, line 972, in send
File “docker/transport/unixconn.py”, line 43, in connect
PermissionError: [Errno 13] Permission denied

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “requests/adapters.py”, line 449, in send
File “urllib3/connectionpool.py”, line 727, in urlopen
File “urllib3/util/retry.py”, line 410, in increment
File “urllib3/packages/six.py”, line 734, in reraise
File “urllib3/connectionpool.py”, line 677, in urlopen
File “urllib3/connectionpool.py”, line 392, in _make_request
File “http/client.py”, line 1277, in request
File “http/client.py”, line 1323, in _send_request
File “http/client.py”, line 1272, in endheaders
File “http/client.py”, line 1032, in _send_output
File “http/client.py”, line 972, in send
File “docker/transport/unixconn.py”, line 43, in connect
urllib3.exceptions.ProtocolError: (‘Connection aborted.’, PermissionError(13, ‘Permission denied’))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “docker/api/client.py”, line 214, in _retrieve_server_version
File “docker/api/daemon.py”, line 181, in version
File “docker/utils/decorators.py”, line 46, in inner
File “docker/api/client.py”, line 237, in _get
File “requests/sessions.py”, line 543, in get
File “requests/sessions.py”, line 530, in request
File “requests/sessions.py”, line 643, in send
File “requests/adapters.py”, line 498, in send
requests.exceptions.ConnectionError: (‘Connection aborted.’, PermissionError(13, ‘Permission denied’))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “docker-compose”, line 3, in
File “compose/cli/main.py”, line 81, in main
File “compose/cli/main.py”, line 200, in perform_command
File “compose/cli/command.py”, line 70, in project_from_options
File “compose/cli/command.py”, line 153, in get_project
File “compose/cli/docker_client.py”, line 43, in get_client
File “compose/cli/docker_client.py”, line 170, in docker_client
File “docker/api/client.py”, line 197, in init
File “docker/api/client.py”, line 222, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: (‘Connection aborted.’, PermissionError(13, ‘Permission denied’))
[5097] Failed to execute script docker-compose

Oh this seems like a completely different error. Which command’s output is it?

docker-compose logs | grep pi-hole

Here is the log as of now:
/Desktop/Umbrel$ docker-compose logs | grep pi-hole

Traceback (most recent call last):
File “urllib3/connectionpool.py”, line 677, in urlopen
File “urllib3/connectionpool.py”, line 392, in _make_request
File “http/client.py”, line 1277, in request
File “http/client.py”, line 1323, in _send_request
File “http/client.py”, line 1272, in endheaders
File “http/client.py”, line 1032, in _send_output
File “http/client.py”, line 972, in send
File “docker/transport/unixconn.py”, line 43, in connect
PermissionError: [Errno 13] Permission denied

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “requests/adapters.py”, line 449, in send
File “urllib3/connectionpool.py”, line 727, in urlopen
File “urllib3/util/retry.py”, line 410, in increment
File “urllib3/packages/six.py”, line 734, in reraise
File “urllib3/connectionpool.py”, line 677, in urlopen
File “urllib3/connectionpool.py”, line 392, in _make_request
File “http/client.py”, line 1277, in request
File “http/client.py”, line 1323, in _send_request
File “http/client.py”, line 1272, in endheaders
File “http/client.py”, line 1032, in _send_output
File “http/client.py”, line 972, in send
File “docker/transport/unixconn.py”, line 43, in connect
urllib3.exceptions.ProtocolError: (‘Connection aborted.’, PermissionError(13, ‘Permission denied’))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “docker/api/client.py”, line 214, in _retrieve_server_version
File “docker/api/daemon.py”, line 181, in version
File “docker/utils/decorators.py”, line 46, in inner
File “docker/api/client.py”, line 237, in _get
File “requests/sessions.py”, line 543, in get
File “requests/sessions.py”, line 530, in request
File “requests/sessions.py”, line 643, in send
File “requests/adapters.py”, line 498, in send
requests.exceptions.ConnectionError: (‘Connection aborted.’, PermissionError(13, ‘Permission denied’))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “docker-compose”, line 3, in
File “compose/cli/main.py”, line 81, in main
File “compose/cli/main.py”, line 200, in perform_command
File “compose/cli/command.py”, line 70, in project_from_options
File “compose/cli/command.py”, line 153, in get_project
File “compose/cli/docker_client.py”, line 43, in get_client
File “compose/cli/docker_client.py”, line 170, in docker_client
File “docker/api/client.py”, line 197, in init
File “docker/api/client.py”, line 222, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: (‘Connection aborted.’, PermissionError(13, ‘Permission denied’))
[233918] Failed to execute script docker-compose

This looks to be an issue with how Docker is configured. Can you follow these steps here and then try restarting your Umbrel?

In case you’ve already configured Docker properly, are you seeing this error with any other apps too or just Pi-hole?

I was able to install mempool and it works fantastic.

I will try a few other apps as well.

Ok instructions followed. We are making progress but it still is stuck. I am running it on a mac mini but I have no idea why/how it knows that… This is a standard install of latest ubuntu desktop.

Current output:

docker-compose logs | grep pi-hole
manager | ::ffff:10.21.21.2 - - [Sat, 05 Mar 2022 17:28:48 GMT] “POST /v1/apps/pi-hole/install HTTP/1.0” 200 - “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36”
nginx | 10.21.21.11 - - [05/Mar/2022:17:28:48 +0000] “POST /manager-api/v1/apps/pi-hole/install HTTP/1.1” 200 5 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36”

I was able to add every other app I tried. Worked fantastic about 30 seconds or less each install. I tried to install one app from every category just to give it a more broad base. Hope this info helps. See attached photo.

Ah, got it. Can you try installing Pi-hole from the command line?

In your Umbrel installation directory, run:

sudo scripts/app install pi-hole

If the installation goes smoothly and there’s no error thrown by the above command, and if you’re still not able to access Pi-hole, can you get me Pi-hole’s logs by running:

sudo scripts/app compose pi-hole logs --tail=100

Setting up data dir for app pi-hole…
sending incremental file list

sent 138 bytes received 15 bytes 306.00 bytes/sec
total size is 654 speedup is 4.27
Pulling images for app pi-hole…
Pulling server … done
Starting app pi-hole…
Starting pi-hole_server_1 … error

ERROR: for pi-hole_server_1 Cannot start service server: network 96c4aac4d294c4e6cdc145e0f073fb7788d5faa97841c7d47d3b4de05f502259 not found

ERROR: for server Cannot start service server: network 96c4aac4d294c4e6cdc145e0f073fb7788d5faa97841c7d47d3b4de05f502259 not found
ERROR: Encountered errors while bringing up the project.

sudo scripts/app compose pi-hole logs --tail=100
Attaching to pi-hole_server_1

Thats it.

Hmm this is weird, but we’re definitely making progress. Can you try:

  1. Stop Umbrel: sudo scripts/stop
  2. Reboot your system: sudo reboot
  3. Start Umbrel: sudo scripts/start
  4. Uninstall Pi-hole: sudo scripts/app uninstall pi-hole
  5. Install Pi-hole: sudo scripts/app install pi-hole

Hey gotta run to work, but I think we are all set!! It showed up and I was able to see the splash page.

sudo scripts/app install pi-hole
Setting up data dir for app pi-hole…
sending incremental file list
./
docker-compose.yml
data/
data/dnsmasq/
data/pihole/

sent 855 bytes received 54 bytes 1,818.00 bytes/sec
total size is 654 speedup is 0.72
Pulling images for app pi-hole…
Pulling server … done
Starting app pi-hole…
Creating pi-hole_server_1 … done
Saving app pi-hole in DB…
Successfully installed app pi-hole

Once I try to launch it I get this now. I’m going to whitelist it with pihole -w when I get home.

It works perfectly on the local ip. THANK YOU! We areeeeeee liiiiiiiiiiive :slight_smile:

1 Like

This is what I get, even after following the two tutorials (port 53 & docker):
Setting up data dir for app pi-hole…
sending incremental file list

sent 227 bytes  received 15 bytes  484.00 bytes/sec
total size is 2,034  speedup is 8.40
Pulling images for app pi-hole...
Pulling tor_server ... done
Pulling server     ... done
Pulling app_proxy  ... done
Starting app pi-hole...
Starting pi-hole_app_proxy_1 ...
Starting pi-hole_server_1    ...
Starting pi-hole_tor_server_1 ... error
Starting pi-hole_app_proxy_1  ... error
ERROR: for pi-hole_tor_server_1  Cannot start service tor_server: network 306c0b2d634e914ec5de81413b66714216f56988b4abd3564af0d3366fa1c7e5 not found

Starting pi-hole_server_1     ... error
1413b66714216f56988b4abd3564af0d3366fa1c7e5 not found

Other thoughts on what I could try, to get pi-hole working? Other apps are working A-OK.