Skip to content

Basic installer script not working, leaves a fresh node unreachable on port 80/443 #657

@timjrobinson

Description

@timjrobinson

❗️ Fresh script install leaves node unreachable on port 80/443

Item Value
Script URL / commit installer.dappnode.io (fetched 2025-06-03)
Host OS Ubuntu 24.04.2
Chosen LAN domain dappnode.local
Broken core pkg DAppNodeCore-https.dnp.dappnode.eth 0.1.3
Working backend dappmanager.dnp.dappnode.eth 0.2.99 (listens on :80 in-container)

What happens

  1. Run the script on a clean box → installer finishes.
  2. All core containers show Up, but any of
    http://my.dappnode · http://dappnode.local · http://<IP> · https://<…>
    fails with the symptoms below.
Client symptom Container log
curl: (52) Empty reply or SSL_ERROR_SYSCALL https log: undefined local variable or method 'dappnode_domain_once' for NAConfig:Module
508 Loop Detected Traefik (query by IP)
403 Forbidden Nginx default v-host (query by IP)
502 Bad Gateway Any DIY proxy pointing at dappmanager:8080

Root cause

  • DNP_HTTPS 0.1.x crashes during entry-point → Nginx never binds 80/443 → kernel RSTs every inbound connection.
  • Even if you patch the crash, the proxy template still points at :8080 while current dappmanager actually listens on :80.

Quick work-around

# 0. Ensure LAN DNS resolves dappnode.local ➜ <node ip>

# 1. Remove the crashing HTTPS package
docker rm -f DAppNodeCore-https.dnp.dappnode.eth

# 2. Drop in a tiny reverse proxy on port 80
sudo mkdir -p /opt/dappnode-proxy

sudo tee /opt/dappnode-proxy/dappnode.conf >/dev/null <<'EOF'
server {
  listen 80 default_server;
  server_name dappnode.local;
  location / {
    proxy_pass http://dappmanager.dnp.dappnode.eth:80;
    proxy_set_header Host $host;
  }
}
EOF

docker run -d --name dappnode-proxy \
  --restart unless-stopped \
  --network dncore_network \
  --network-alias dappmanager.dnp.dappnode.eth \
  -p 80:80 \
  -v /opt/dappnode-proxy/dappnode.conf:/etc/nginx/conf.d/dappnode.conf:ro \
  nginx:alpine

After that, http://dappnode.local loads the installer/dashboard fine.

Other possible fix?

Looks like after I got this running, I got a notification that there is a new version of the https package. When trying to fix the issue before I wasn't able to download this for some reason. So the script needs to be updated to use the new package.

Image

DAppNode version

<Core DAppNode Packages versions

bind.dnp.dappnode.eth: 0.2.11
dappmanager.dnp.dappnode.eth: 0.2.99, commit: 2596c7f9
https.dnp.dappnode.eth: 0.1.3
ipfs.dnp.dappnode.eth: 0.2.23
wifi.dnp.dappnode.eth: 0.2.9
wireguard.dnp.dappnode.eth: 0.1.3

System info

dockerComposeVersion: 2.36.2
dockerServerVersion: 28.2.2
dockerCliVersion: 28.2.2
os: ubuntu
versionCodename: noble
architecture: amd64
kernel: 6.11.0-26-generic

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions