Blue screen on deployed app
Closed this issue · 1 comments
pheel commented
Description of problem
Node app deploys, but what is exposed is a blue screen with "We're sorry, but something went wrong. If you are the application owner check the logs for more information."
Output of curl 172.17.0.3:4173
on the dokku machine:
curl: (7) Failed to connect to 172.17.0.3 port 4173 after 0 ms: Connection refused
Output of docker exec 6068d7be08ba curl localhost:4173
:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 455 100 455 0 0 2<!doctype html>--:-- --:--:-- --:--:-- 0
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/chaud.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chaleur</title>
<script type="module" crossorigin src="/assets/index-1c2sZHgO.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-7YK66KaK.css">
</head>
<body>
<div id="root"></div>
</body>
</html>
6986 0 --:--:-- --:--:-- --:--:-- 28437
dokku report $APP_NAME
-----> uname: Linux ubuntu-s-1vcpu-1gb-nyc3-01 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
-----> memory:
total used free shared buff/cache available
Mem: 969 291 125 4 552 510
Swap: 0 0 0
-----> disk utilization:
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 25G 4.8G 20G 20% /
/dev/vda15 105M 6.1M 99M 6% /boot/efi
-----> disk inode utilization:
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/vda1 3.1M 145K 3.0M 5% /
/dev/vda15 0 0 0 - /boot/efi
-----> docker version:
Client: Docker Engine - Community
Version: 26.1.0
API version: 1.45
Go version: go1.21.9
Git commit: 9714adc
Built: Mon Apr 22 17:06:41 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 26.1.0
API version: 1.45 (minimum version 1.24)
Go version: go1.21.9
Git commit: c8af8eb
Built: Mon Apr 22 17:06:41 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.31
GitCommit: e377cd56a71523140ca6ae87e30244719194a521
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
-----> docker daemon info:
Client: Docker Engine - Community
Version: 26.1.0
Context: default
Debug Mode: true
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.14.0
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.26.1
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 2
Running: 1
Paused: 0
Stopped: 1
Images: 8
Server Version: 26.1.0
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
Swarm: inactive
Runtimes: runc io.containerd.runc.v2
Default Runtime: runc
Init Binary: docker-init
containerd version: e377cd56a71523140ca6ae87e30244719194a521
runc version: v1.1.12-0-g51d5e94
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 5.15.0-67-generic
Operating System: Ubuntu 22.04.2 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 969.4MiB
Name: ubuntu-s-1vcpu-1gb-nyc3-01
ID: f417cd91-9c47-4158-a5af-1db1a4a782e1
Docker Root Dir: /var/lib/docker
Debug Mode: false
File Descriptors: 31
Goroutines: 46
System Time: 2024-04-26T16:04:49.566051849Z
EventsListeners: 0
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
-----> herokuish version:
herokuish: v0.9.1
buildpacks:
heroku-buildpack-multi v1.2.0
heroku-buildpack-ruby v267
heroku-buildpack-nodejs v240
heroku-buildpack-clojure v91
heroku-buildpack-python v246
heroku-buildpack-java v73
heroku-buildpack-gradle v39
heroku-buildpack-scala v98
heroku-buildpack-play v26
heroku-buildpack-php v248
heroku-buildpack-go v189
heroku-buildpack-nginx v25
buildpack-null v3
-----> dokku version: dokku version 0.34.4
-----> dokku-event-listener version: 0.15.0build+5268732
-----> dokku-update version: dokku-update 0.8.0
-----> docker-container-healthchecker version: 0.9.0
-----> docker-image-labeler version: 0.6.1build+c6e15a9
-----> git version: git version 2.34.1
-----> lambda-builder version: 0.6.0
-----> netrc version: 0.8.0build+0751c1b
! pack binary is not available
-----> plugn version: plugn: 0.13.0build+fd5297a
-----> sigil version: 0.10.1build+e443be0
-----> sshcommand version: sshcommand 0.17.1
-----> dokku plugins:
00_dokku-standard 0.34.4 enabled dokku core standard plugin
20_events 0.34.4 enabled dokku core events logging plugin
app-json 0.34.4 enabled dokku core app-json plugin
apps 0.34.4 enabled dokku core apps plugin
builder 0.34.4 enabled dokku core builder plugin
builder-dockerfile 0.34.4 enabled dokku core builder-dockerfile plugin
builder-herokuish 0.34.4 enabled dokku core builder-herokuish plugin
builder-lambda 0.34.4 enabled dokku core builder-lambda plugin
builder-nixpacks 0.34.4 enabled dokku core builder-nixpacks plugin
builder-null 0.34.4 enabled dokku core builder-null plugin
builder-pack 0.34.4 enabled dokku core builder-pack plugin
buildpacks 0.34.4 enabled dokku core buildpacks plugin
caddy-vhosts 0.34.4 enabled dokku core caddy-vhosts plugin
certs 0.34.4 enabled dokku core certificate management plugin
checks 0.34.4 enabled dokku core checks plugin
common 0.34.4 enabled dokku core common plugin
config 0.34.4 enabled dokku core config plugin
cron 0.34.4 enabled dokku core cron plugin
docker-options 0.34.4 enabled dokku core docker-options plugin
domains 0.34.4 enabled dokku core domains plugin
enter 0.34.4 enabled dokku core enter plugin
git 0.34.4 enabled dokku core git plugin
haproxy-vhosts 0.34.4 enabled dokku core haproxy-vhosts plugin
logs 0.34.4 enabled dokku core logs plugin
network 0.34.4 enabled dokku core network plugin
nginx-vhosts 0.34.4 enabled dokku core nginx-vhosts plugin
openresty-vhosts 0.34.4 enabled dokku core openresty-vhosts plugin
plugin 0.34.4 enabled dokku core plugin plugin
ports 0.34.4 enabled dokku core ports plugin
proxy 0.34.4 enabled dokku core proxy plugin
ps 0.34.4 enabled dokku core ps plugin
registry 0.34.4 enabled dokku core registry plugin
repo 0.34.4 enabled dokku core repo plugin
resource 0.34.4 enabled dokku core resource plugin
run 0.34.4 enabled dokku core run plugin
scheduler 0.34.4 enabled dokku core scheduler plugin
scheduler-docker-local 0.34.4 enabled dokku core scheduler-docker-local plugin
scheduler-k3s 0.34.4 enabled dokku core scheduler-k3s plugin
scheduler-null 0.34.4 enabled dokku core scheduler-null plugin
shell 0.34.4 enabled dokku core shell plugin
ssh-keys 0.34.4 enabled dokku core ssh-keys plugin
storage 0.34.4 enabled dokku core storage plugin
trace 0.34.4 enabled dokku core trace plugin
traefik-vhosts 0.34.4 enabled dokku core traefik-vhosts plugin
=====> chaleur app-json information
App json computed selected: app.json
App json global selected: app.json
App json selected:
=====> chaleur app information
App created at: 1714139352
App deploy source: git-push
App deploy source metadata: 3c86ae64a0e2a14a44ed3e2927fffc23c4adaded
App dir: /home/dokku/chaleur
App locked: false
=====> chaleur builder information
Builder build dir:
Builder computed build dir:
Builder computed selected:
Builder global build dir:
Builder global selected:
Builder selected:
=====> chaleur builder-dockerfile information
Builder dockerfile computed dockerfile path: Dockerfile
Builder dockerfile global dockerfile path: Dockerfile
Builder dockerfile dockerfile path:
=====> chaleur builder-herokuish information
Builder herokuish computed allowed: true
Builder herokuish global allowed: true
Builder herokuish allowed:
=====> chaleur builder-lambda information
Builder lambda computed lambdayml path: lambda.yml
Builder lambda global lambdayml path: lambda.yml
Builder lambda lambdayml path:
=====> chaleur builder-nixpacks information
Builder nixpacks computed nixpackstoml path: nixpacks.toml
Builder nixpacks global nixpackstoml path: nixpacks.toml
Builder nixpacks nixpackstoml path:
Builder nixpacks computed no cache: false
Builder nixpacks global no cache: false
Builder nixpacks no cache:
=====> chaleur builder-pack information
Builder pack computed projecttoml path: project.toml
Builder pack global projecttoml path: project.toml
Builder pack projecttoml path:
=====> chaleur buildpacks information
Buildpacks computed stack: gliderlabs/herokuish:latest-22
Buildpacks global stack:
Buildpacks list:
Buildpacks stack:
=====> chaleur caddy information
Caddy image: lucaslorentz/caddy-docker-proxy:2.8
Caddy letsencrypt email:
Caddy letsencrypt server: https://acme-v02.api.letsencrypt.org/directory
Caddy log level: ERROR
Caddy polling interval: 5s
Caddy tls internal: false
=====> chaleur ssl information
Ssl dir: /home/dokku/chaleur/tls
Ssl enabled: false
Ssl hostnames:
Ssl expires at:
Ssl issuer:
Ssl starts at:
Ssl subject:
Ssl verified:
=====> chaleur checks information
Checks disabled list: none
Checks skipped list: none
Checks computed wait to retire: 60
Checks global wait to retire: 60
Checks wait to retire:
=====> chaleur docker options information
Docker options build:
Docker options deploy:
Docker options run:
=====> chaleur domains information
Domains app enabled: true
Domains app vhosts: chaleur.xxx.yyy
Domains global enabled: true
Domains global vhosts: xxx.yyy
=====> chaleur git information
Git deploy branch: master
Git global deploy branch: master
Git keep git dir: false
Git rev env var: GIT_REV
Git sha: 3c86ae64a0e2a14a44ed3e2927fffc23c4adaded
Git source image:
Git last updated at: 1714140505
=====> chaleur haproxy information
Haproxy image: byjg/easy-haproxy:4.4.0
Haproxy letsencrypt email:
Haproxy letsencrypt server: https://acme-v02.api.letsencrypt.org/directory
Haproxy log level: ERROR
=====> chaleur logs information
Logs computed max size: 10m
Logs global max size: 10m
Logs global vector sink:
Logs max size:
Logs vector global image: timberio/vector:0.36.1-debian
Logs vector sink:
=====> chaleur network information
Network attach post create:
Network attach post deploy:
Network bind all interfaces: false
Network computed attach post create:
Network computed attach post deploy:
Network computed bind all interfaces: false
Network computed initial network:
Network computed tld:
Network global attach post create:
Network global attach post deploy:
Network global bind all interfaces: false
Network global initial network:
Network global tld:
Network initial network:
Network static web listener:
Network tld:
Network web listeners: 172.17.0.3:4173
=====> chaleur nginx information
Nginx access log format:
Nginx computed access log format:
Nginx global access log format:
Nginx access log path:
Nginx computed access log path: /var/log/nginx/chaleur-access.log
Nginx global access log path: /var/log/nginx/chaleur-access.log
Nginx bind address ipv4:
Nginx computed bind address ipv4:
Nginx global bind address ipv4:
Nginx bind address ipv6:
Nginx computed bind address ipv6: ::
Nginx global bind address ipv6: ::
Nginx client max body size:
Nginx computed client max body size: 1m
Nginx global client max body size: 1m
Nginx disable custom config:
Nginx computed disable custom config: false
Nginx global disable custom config: false
Nginx error log path:
Nginx computed error log path: /var/log/nginx/chaleur-error.log
Nginx global error log path: /var/log/nginx/chaleur-error.log
Nginx hsts include subdomains:
Nginx computed hsts include subdomains: true
Nginx global hsts include subdomains: true
Nginx hsts max age:
Nginx computed hsts max age: 15724800
Nginx global hsts max age: 15724800
Nginx hsts preload:
Nginx computed hsts preload: false
Nginx global hsts preload: false
Nginx hsts:
Nginx computed hsts: true
Nginx global hsts: true
Nginx last visited at:
Nginx nginx conf sigil path:
Nginx computed nginx conf sigil path: nginx.conf.sigil
Nginx global nginx conf sigil path: nginx.conf.sigil
Nginx proxy buffer size:
Nginx computed proxy buffer size: 4k
Nginx global proxy buffer size: 4k
Nginx proxy buffering:
Nginx computed proxy buffering: on
Nginx global proxy buffering: on
Nginx proxy buffers:
Nginx computed proxy buffers: 8 4k
Nginx global proxy buffers: 8 4k
Nginx proxy busy buffers size:
Nginx computed proxy busy buffers size: 8k
Nginx global proxy busy buffers size: 8k
Nginx proxy read timeout:
Nginx computed proxy read timeout: 60s
Nginx global proxy read timeout: 60s
Nginx underscore in headers:
Nginx computed underscore in headers: off
Nginx global underscore in headers: off
Nginx x forwarded for value:
Nginx computed x forwarded for value: $remote_addr
Nginx global x forwarded for value: $remote_addr
Nginx x forwarded port value:
Nginx computed x forwarded port value: $server_port
Nginx global x forwarded port value: $server_port
Nginx x forwarded proto value:
Nginx computed x forwarded proto value: $scheme
Nginx global x forwarded proto value: $scheme
Nginx x forwarded ssl:
Nginx computed x forwarded ssl:
Nginx global x forwarded ssl:
=====> chaleur openresty information
Openresty access log format:
Openresty access log path: /var/log/nginx/chaleur-access.log
Openresty allowed letsencrypt domains func base64: cmV0dXJuIHRydWUK
Openresty bind address ipv4:
Openresty bind address ipv6: ::
Openresty client max body size:
Openresty error log path: /var/log/nginx/chaleur-error.log
Openresty global hsts: true
Openresty computed hsts: true
Openresty hsts:
Openresty hsts include subdomains: true
Openresty hsts max age: 15724800
Openresty hsts preload: false
Openresty image: dokku/openresty-docker-proxy:0.7.0
Openresty letsencrypt email:
Openresty letsencrypt server: https://acme-v02.api.letsencrypt.org/directory
Openresty proxy buffer size: 4k
Openresty proxy buffering: on
Openresty proxy buffers: 8 4k
Openresty proxy busy buffers size: 8k
Openresty proxy read timeout: 60s
Openresty underscore in headers: off
Openresty x forwarded for value: $remote_addr
Openresty x forwarded port value: $server_port
Openresty x forwarded proto value: $scheme
Openresty x forwarded ssl:
=====> chaleur ports information
Ports map: http:80:4173
Ports map detected: http:80:5000
=====> chaleur proxy information
Proxy computed type: nginx
Proxy enabled: true
Proxy global type: nginx
Proxy type:
=====> chaleur ps information
Deployed: true
Processes: 1
Ps can scale: true
Ps computed procfile path: Procfile
Ps global procfile path: Procfile
Ps procfile path:
Ps restart policy: on-failure:10
Restore: true
Running: true
Status web 1: running (CID: e101a63fa0f)
=====> chaleur registry information
Registry computed image repo: dokku/chaleur
Registry computed push on release: false
Registry computed server:
Registry global image repo template:
Registry global push on release:
Registry global server:
Registry image repo:
Registry push extra tags:
Registry push on release:
Registry server:
Registry tag version:
=====> chaleur resource information
=====> chaleur scheduler information
Scheduler computed selected: docker-local
Scheduler global selected: docker-local
Scheduler selected:
=====> chaleur scheduler-docker-local information
Scheduler docker local init process: true
Scheduler docker local parallel schedule count:
=====> chaleur scheduler-k3s information
Scheduler k3s computed deploy timeout: 300s
Scheduler k3s computed image pull secrets:
Scheduler k3s computed letsencrypt server: prod
Scheduler k3s computed namespace: default
Scheduler k3s computed rollback on failure: false
Scheduler k3s deploy timeout:
Scheduler k3s global deploy timeout: 300s
Scheduler k3s global image pull secrets:
Scheduler k3s global ingress class: nginx
Scheduler k3s global kube context:
Scheduler k3s global kubeconfig path: /etc/rancher/k3s/k3s.yaml
Scheduler k3s global letsencrypt email prod:
Scheduler k3s global letsencrypt email stag:
Scheduler k3s global letsencrypt server: prod
Scheduler k3s global namespace: default
Scheduler k3s global network interface: eth0
Scheduler k3s global rollback on failure: false
Scheduler k3s image pull secrets:
Scheduler k3s letsencrypt server:
Scheduler k3s namespace:
Scheduler k3s rollback on failure:
=====> chaleur storage information
Storage build mounts:
Storage deploy mounts:
Storage run mounts:
=====> chaleur traefik information
Traefik api enabled: false
Traefik api vhost: traefik.dokku.me
Traefik basic auth password:
Traefik basic auth username:
Traefik dashboard enabled: false
Traefik image: traefik:2.11.0
Traefik letsencrypt email:
Traefik letsencrypt server: https://acme-v02.api.letsencrypt.org/directory
Traefik log level: ERROR
Additional information
dokku nginx:show-config chaleur
server {
listen [::]:80;
listen 80;
server_name chaleur.xxx.yyy;
access_log /var/log/nginx/chaleur-access.log;
error_log /var/log/nginx/chaleur-error.log;
underscores_in_headers off;
location / {
gzip on;
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/css text/javascript text/xml text/plain text/x-component application/javascript application/x-javascript application/wasm application/json application/xml application/rss+xml font/truetype application/x-font-ttf font/opentype application/vnd.ms-fontobject image/svg+xml;
gzip_vary on;
gzip_comp_level 6;
proxy_pass http://chaleur-4173;
proxy_http_version 1.1;
proxy_read_timeout 60s;
proxy_buffer_size 4k;
proxy_buffering on;
proxy_buffers 8 4k;
proxy_busy_buffers_size 8k;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Request-Start $msec;
}
client_max_body_size 1m;
error_page 400 401 402 403 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 422 423 424 426 428 429 431 444 449 450 451 /400-error.html;
location /400-error.html {
root /var/lib/dokku/data/nginx-vhosts/dokku-errors;
internal;
}
error_page 404 /404-error.html;
location /404-error.html {
root /var/lib/dokku/data/nginx-vhosts/dokku-errors;
internal;
}
error_page 500 501 502 503 504 505 506 507 508 509 510 511 /500-error.html;
location /500-error.html {
root /var/lib/dokku/data/nginx-vhosts/dokku-errors;
internal;
}
include /home/dokku/chaleur/nginx.conf.d/*.conf;
}
upstream chaleur-4173 {
server 172.17.0.3:4173;
}
dokku ps:inspect chaleur
[
{
"AppArmorProfile": "docker-default",
"Args": [
"web"
],
"Config": {
"AttachStderr": true,
"AttachStdin": false,
"AttachStdout": true,
"Cmd": [
"/start",
"web"
],
"Domainname": "",
"Entrypoint": null,
"Env": [
"PORT=4173",
"USER=herokuishuser",
"CURL_CONNECT_TIMEOUT=XXXXXX",
"CURL_TIMEOUT=XXXXXX",
"DOKKU_APP_RESTORE=1",
"NPM_CONFIG_PRODUCTION=XXXXXX",
"DOKKU_APP_TYPE=herokuish",
"DOKKU_PROXY_PORT=80",
"GIT_REV=XXXXXX",
"DYNO=web.1",
"CACHE_PATH=/cache",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"STACK=XXXXXX",
"DEBIAN_FRONTEND=XXXXXX",
"BASH_BIN=XXXXXX",
"HEROKUISH_DISABLE_CHOWN=XXXXXX",
"HEROKUISH_SETUIDGUID=XXXXXX"
],
"Hostname": "e101a63fa0f7",
"Image": "dokku/chaleur:latest",
"Labels": {
"com.dokku.app-name": "chaleur",
"com.dokku.builder-type": "herokuish",
"com.dokku.container-type": "deploy",
"com.dokku.dyno": "web.1",
"com.dokku.image-stage": "release",
"com.dokku.process-type": "web",
"com.gliderlabs.herokuish/stack": "heroku-22",
"dokku": "",
"openresty.access-log-path": "/var/log/nginx/chaleur-access.log",
"openresty.bind-address-ipv6": "::",
"openresty.domains": "chaleur.xxx.yyy",
"openresty.error-log-path": "/var/log/nginx/chaleur-error.log",
"openresty.hsts": "true",
"openresty.hsts-include-subdomains": "true",
"openresty.hsts-max-age": "15724800",
"openresty.hsts-preload": "false",
"openresty.https-port": "443",
"openresty.letsencrypt": "false",
"openresty.port-mapping": "http:80:4173",
"openresty.proxy-buffer-size": "4k",
"openresty.proxy-buffering": "on",
"openresty.proxy-buffers": "8 4k",
"openresty.proxy-busy-buffer-size": "8k",
"openresty.proxy-connect-timeout": "60s",
"openresty.proxy-read-timeout": "60s",
"openresty.proxy-send-timeout": "60s",
"openresty.send-timeout": "60s",
"openresty.underscore-in-headers": "off",
"openresty.x-forwarded-for-value": "$remote_addr",
"openresty.x-forwarded-port-value": "$server_port",
"openresty.x-forwarded-proto-value": "$scheme",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vendor": "dokku",
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.version": "22.04"
},
"OnBuild": null,
"OpenStdin": false,
"StdinOnce": false,
"Tty": false,
"User": "herokuishuser",
"Volumes": null,
"WorkingDir": "/app"
},
"Created": "2024-04-26T16:01:54.384072508Z",
"Driver": "overlay2",
"ExecIDs": null,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/1416153e058f98d4c4c0ee7ac69e4d3bcbc789e304e03115237f80cb51cb6f5f-init/diff:/var/lib/docker/overlay2/32pd8qy623venckhtsiq7anc0/diff:/var/lib/docker/overlay2/yeuvwpj4r8sf0wv4ghfnj6vwo/diff:/var/lib/docker/overlay2/vmlmc45l5qbl2yiszuje5gsu6/diff:/var/lib/docker/overlay2/19440264ca42c9f526de905ea48aec0ab5c57ea4acc022de87b3a5f199eececa/diff:/var/lib/docker/overlay2/jjqxzcrei48mnuwb1tc801h00/diff:/var/lib/docker/overlay2/s05h7zhrgce0mxusfc9yz1aba/diff:/var/lib/docker/overlay2/3xv6pbi9ert6jytclb32vyr9b/diff:/var/lib/docker/overlay2/uxpwkuqoqkuf6n5tcvhr7i7j3/diff:/var/lib/docker/overlay2/hh56m3d0qgg7r8en16y3i9wwk/diff:/var/lib/docker/overlay2/f5aae39ca8e8c2668bc39c5d11304dd18366fc4111e5e90087e7b69623fdf217/diff:/var/lib/docker/overlay2/4788b845aa3c995c39d80d0cc899a33d99b2112a35be7345b0ba33705d87cdf8/diff:/var/lib/docker/overlay2/54c77982d1ec4cdeb9aff2fdfab505d3b4a74632d3beac1d72755a3391ca54e1/diff:/var/lib/docker/overlay2/5b9d64e13d5e23c2edaa5bbedd95075d0bc97fb52286bc2505f4088a27152809/diff:/var/lib/docker/overlay2/7c59feab61d1398e452c0873ab2e42553e2387b9a50c0646c833a8702a91d2a4/diff:/var/lib/docker/overlay2/8d8131879b4c743aed3a79e768bd42445a5ba8ea660c2e708c9750e13244506d/diff:/var/lib/docker/overlay2/fd657715a7c87c189567c0e3fef462351b06db5b7f4be82789f84fb9bf3f4713/diff:/var/lib/docker/overlay2/f33983c511654787b92d509186c48f3d9e2ed9507527b089b592a43d2557d8ca/diff:/var/lib/docker/overlay2/11d7a3cb5703b4b972907e6405497ae3ca7f6a404e7f3f34d967e517c3c79421/diff:/var/lib/docker/overlay2/41bc669e3dbba41189cb833ee8a347c05d8d40c150017de24d47e68572b12135/diff",
"MergedDir": "/var/lib/docker/overlay2/1416153e058f98d4c4c0ee7ac69e4d3bcbc789e304e03115237f80cb51cb6f5f/merged",
"UpperDir": "/var/lib/docker/overlay2/1416153e058f98d4c4c0ee7ac69e4d3bcbc789e304e03115237f80cb51cb6f5f/diff",
"WorkDir": "/var/lib/docker/overlay2/1416153e058f98d4c4c0ee7ac69e4d3bcbc789e304e03115237f80cb51cb6f5f/work"
},
"Name": "overlay2"
},
"HostConfig": {
"AutoRemove": false,
"Binds": null,
"BlkioDeviceReadBps": [],
"BlkioDeviceReadIOps": [],
"BlkioDeviceWriteBps": [],
"BlkioDeviceWriteIOps": [],
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"CapAdd": null,
"CapDrop": null,
"Cgroup": "",
"CgroupParent": "",
"CgroupnsMode": "private",
"ConsoleSize": [
0,
0
],
"ContainerIDFile": "",
"CpuCount": 0,
"CpuPercent": 0,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpuShares": 0,
"CpusetCpus": "",
"CpusetMems": "",
"DeviceCgroupRules": null,
"DeviceRequests": null,
"Devices": [],
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IOMaximumBandwidth": 0,
"IOMaximumIOps": 0,
"Init": true,
"IpcMode": "private",
"Isolation": "",
"Links": null,
"LogConfig": {
"Config": {
"max-size": "10m"
},
"Type": "json-file"
},
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware",
"/sys/devices/virtual/powercap"
],
"Memory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"NanoCpus": 0,
"NetworkMode": "bridge",
"OomKillDisable": null,
"OomScoreAdj": 0,
"PidMode": "",
"PidsLimit": null,
"PortBindings": {},
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
],
"ReadonlyRootfs": false,
"RestartPolicy": {
"MaximumRetryCount": 0,
"Name": "no"
},
"Runtime": "runc",
"SecurityOpt": null,
"ShmSize": 67108864,
"UTSMode": "",
"Ulimits": [],
"UsernsMode": "",
"VolumeDriver": "",
"VolumesFrom": null
},
"HostnamePath": "/var/lib/docker/containers/e101a63fa0f7a924e7feed01e58b2a1fb7e73a63713a80ecd911c425d0f88f62/hostname",
"HostsPath": "/var/lib/docker/containers/e101a63fa0f7a924e7feed01e58b2a1fb7e73a63713a80ecd911c425d0f88f62/hosts",
"Id": "e101a63fa0f7a924e7feed01e58b2a1fb7e73a63713a80ecd911c425d0f88f62",
"Image": "sha256:8a33b9d9bc449eb9f84c4d1af51cbb95ade3894bfd11d6578e74b36a00bdfbbf",
"LogPath": "/var/lib/docker/containers/e101a63fa0f7a924e7feed01e58b2a1fb7e73a63713a80ecd911c425d0f88f62/e101a63fa0f7a924e7feed01e58b2a1fb7e73a63713a80ecd911c425d0f88f62-json.log",
"MountLabel": "",
"Mounts": [],
"Name": "/chaleur.web.1",
"NetworkSettings": {
"Bridge": "",
"EndpointID": "3037294b0ce8e1d9f27fccaef5b0c47a3d229638fb93c95e6016365e73ea63c2",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"HairpinMode": false,
"IPAddress": "172.17.0.3",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:03",
"Networks": {
"bridge": {
"Aliases": null,
"DNSNames": [
"chaleur.web.1",
"e101a63fa0f7"
],
"DriverOpts": null,
"EndpointID": "3037294b0ce8e1d9f27fccaef5b0c47a3d229638fb93c95e6016365e73ea63c2",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAMConfig": null,
"IPAddress": "172.17.0.3",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"Links": null,
"MacAddress": "02:42:ac:11:00:03",
"NetworkID": "46d134301c7c742b50812dddcd0c80bc65d8001009b4bb6d966d81a0eb95d710"
}
},
"Ports": {},
"SandboxID": "e86c6f0d0a9ffe45586e36760a11f0472a4ea8e1795f33b7896082c05bd4d987",
"SandboxKey": "/var/run/docker/netns/e86c6f0d0a9f",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null
},
"Path": "/start",
"Platform": "linux",
"ProcessLabel": "",
"ResolvConfPath": "/var/lib/docker/containers/e101a63fa0f7a924e7feed01e58b2a1fb7e73a63713a80ecd911c425d0f88f62/resolv.conf",
"RestartCount": 0,
"State": {
"Dead": false,
"Error": "",
"ExitCode": 0,
"FinishedAt": "0001-01-01T00:00:00Z",
"OOMKilled": false,
"Paused": false,
"Pid": 200462,
"Restarting": false,
"Running": true,
"StartedAt": "2024-04-26T16:01:54.856012931Z",
"Status": "running"
}
}
]
Output of failing deploy after running: dokku trace:off
(Passes)
-----> Deploying web (count=1)
Attempting pre-flight checks (web.1)
-----> Executing 2 healthchecks
Running healthcheck name='default' type='uptime' uptime=10
Running healthcheck name='port listening check' attempts=3 port=4173 retries=2 timeout=5 type='listening' wait=5
Healthcheck succeeded name='port listening check'
Healthcheck succeeded name='default'
All checks successful (web.1)
=====> Start of chaleur container output (web.1)
npm warn config production Use `--omit=dev` instead.
> chaleur@0.0.0 start
> npm run preview
npm warn config production Use `--omit=dev` instead.
> chaleur@0.0.0 preview
> vite preview
➜ Local: http://localhost:4173/
➜ Network: use --host to expose
=====> End of chaleur container output (web.1)
Scheduling old container shutdown in 60 seconds (web.1)
=====> Triggering early nginx proxy rebuild
-----> Ensuring network configuration is in sync for chaleur
-----> Configuring chaleur.xxx.yyy...(using built-in template)
-----> Creating http nginx.conf
Reloading nginx
-----> Running post-deploy
! Detected IPv4 domain name with nginx proxy enabled.
! Ensure the default nginx site is removed before continuing.
-----> Ensuring network configuration is in sync for chaleur
-----> Configuring chaleur.xxx.yyy...(using built-in template)
-----> Creating http nginx.conf
Reloading nginx
-----> Renaming containers
Found previous container(s) (e101a63fa0f7) named chaleur.web.1
Renaming container (e101a63fa0f7) chaleur.web.1 to chaleur.web.1.1714147924
Renaming container chaleur.web.1.upcoming-4081 (6068d7be08ba) to chaleur.web.1
-----> Checking for postdeploy task
No postdeploy task found, skipping
-----> Shutting down old containers in 60 seconds
Output of failing deploy after running: dokku trace:on
(Passes)
pheel commented
I was listening to localhost inside container. Listening to 0.0.0.0 solved it!