Open briankwest opened 1 year ago
Can you show the output of dokku report $APP
for that app?
I also have this same issue. Here's my dokku report:
root@ubuntu-s-1vcpu-1gb-nyc1-01:~# dokku report app
-----> uname: Linux ubuntu-s-1vcpu-1gb-nyc1-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 250 75 1 643 548
Swap: 2999 111 2888
-----> docker version:
Client: Docker Engine - Community
Version: 23.0.3
API version: 1.42
Go version: go1.19.7
Git commit: 3e7cbfd
Built: Tue Apr 4 22:05:48 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 23.0.3
API version: 1.42 (minimum version 1.12)
Go version: go1.19.7
Git commit: 59118bf
Built: Tue Apr 4 22:05:48 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.20
GitCommit: 2806fc1057397dbaeefbea0e4e17bddfbd388f38
runc:
Version: 1.1.5
GitCommit: v1.1.5-0-gf19387a
docker-init:
Version: 0.19.0
GitCommit: de40ad0
-----> docker daemon info:
Client:
Context: default
Debug Mode: true
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.10.4
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.17.2
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 2
Running: 2
Paused: 0
Stopped: 0
Images: 8
Server Version: 23.0.3
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 logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 2806fc1057397dbaeefbea0e4e17bddfbd388f38
runc version: v1.1.5-0-gf19387a
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-nyc1-01
ID: 16f361c7-502a-46fa-bad5-5becaae808c5
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
-----> git version: git version 2.34.1
-----> sigil version: 0.9.0build+bc921b7
@gamedevsam can you replace the word app
with your actual app name there?
It literally is called app
. I know it's terrible and there's a special place in hell waiting for me, but I'm lazy and unoriginal xD
Here's the app running in case you're curious: https://app.sambatista.com
There should be... more output to that command than where it stops?
I was hoping to avoid this lol. I worked hard to keep all herokuish stuff off my dropplet (I only care about docker), and running the report command installs the herokuish docker images (I created an issue in dokku repo for this).
I'll need to do some docker image cleanup after this...
root@ubuntu-s-1vcpu-1gb-nyc1-01:~# dokku report app
-----> uname: Linux ubuntu-s-1vcpu-1gb-nyc1-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 251 112 1 605 554
Swap: 2999 109 2890
-----> docker version:
Client: Docker Engine - Community
Version: 23.0.3
API version: 1.42
Go version: go1.19.7
Git commit: 3e7cbfd
Built: Tue Apr 4 22:05:48 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 23.0.3
API version: 1.42 (minimum version 1.12)
Go version: go1.19.7
Git commit: 59118bf
Built: Tue Apr 4 22:05:48 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.20
GitCommit: 2806fc1057397dbaeefbea0e4e17bddfbd388f38
runc:
Version: 1.1.5
GitCommit: v1.1.5-0-gf19387a
docker-init:
Version: 0.19.0
GitCommit: de40ad0
-----> docker daemon info:
Client:
Context: default
Debug Mode: true
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.10.4
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.17.2
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 2
Running: 2
Paused: 0
Stopped: 0
Images: 8
Server Version: 23.0.3
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 logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 2806fc1057397dbaeefbea0e4e17bddfbd388f38
runc version: v1.1.5-0-gf19387a
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-nyc1-01
ID: 16f361c7-502a-46fa-bad5-5becaae808c5
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
-----> git version: git version 2.34.1
-----> sigil version: 0.9.0build+bc921b7
-----> herokuish version:
Unable to find image 'gliderlabs/herokuish:latest-20' locally
latest-20: Pulling from gliderlabs/herokuish
06d39c85623a: Pulling fs layer
1aebbe1b55dc: Pulling fs layer
cbb9b6b01f72: Pulling fs layer
3d5ce0cd749c: Pulling fs layer
98cab72ffa42: Pulling fs layer
a786c984824a: Pulling fs layer
d66737854f1e: Pulling fs layer
6dba6e891c6b: Pulling fs layer
132bb2747060: Pulling fs layer
70f4c885c73c: Pulling fs layer
3d5ce0cd749c: Waiting
98cab72ffa42: Waiting
a786c984824a: Waiting
d66737854f1e: Waiting
6dba6e891c6b: Waiting
132bb2747060: Waiting
70f4c885c73c: Waiting
1aebbe1b55dc: Verifying Checksum
1aebbe1b55dc: Download complete
cbb9b6b01f72: Verifying Checksum
cbb9b6b01f72: Download complete
3d5ce0cd749c: Verifying Checksum
3d5ce0cd749c: Download complete
06d39c85623a: Verifying Checksum
06d39c85623a: Download complete
a786c984824a: Verifying Checksum
a786c984824a: Download complete
d66737854f1e: Verifying Checksum
d66737854f1e: Download complete
132bb2747060: Verifying Checksum
132bb2747060: Download complete
70f4c885c73c: Verifying Checksum
70f4c885c73c: Download complete
6dba6e891c6b: Verifying Checksum
6dba6e891c6b: Download complete
06d39c85623a: Pull complete
1aebbe1b55dc: Pull complete
cbb9b6b01f72: Pull complete
3d5ce0cd749c: Pull complete
98cab72ffa42: Verifying Checksum
98cab72ffa42: Download complete
98cab72ffa42: Pull complete
a786c984824a: Pull complete
d66737854f1e: Pull complete
6dba6e891c6b: Pull complete
132bb2747060: Pull complete
70f4c885c73c: Pull complete
Digest: sha256:2f46394d60dbf5839339b7f592596fbaed377201cfe63d37e434689424de6dfb
Status: Downloaded newer image for gliderlabs/herokuish:latest-20
herokuish: v0.5.41
buildpacks:
heroku-buildpack-multi v1.2.0
heroku-buildpack-ruby v252
heroku-buildpack-nodejs v203
heroku-buildpack-clojure v90
heroku-buildpack-python v226
heroku-buildpack-java v72
heroku-buildpack-gradle v39
heroku-buildpack-scala v96
heroku-buildpack-play v26
heroku-buildpack-php v231
heroku-buildpack-go v171
heroku-buildpack-nginx v22
buildpack-null v3
-----> dokku version: dokku version 0.30.2
-----> plugn version: plugn: 0.12.0build+3a27594
-----> dokku plugins:
00_dokku-standard 0.30.2 enabled dokku core standard plugin
20_events 0.30.2 enabled dokku core events logging plugin
app-json 0.30.2 enabled dokku core app-json plugin
apps 0.30.2 enabled dokku core apps plugin
builder 0.30.2 enabled dokku core builder plugin
builder-dockerfile 0.30.2 enabled dokku core builder-dockerfile plugin
builder-herokuish 0.30.2 enabled dokku core builder-herokuish plugin
builder-lambda 0.30.2 enabled dokku core builder-lambda plugin
builder-null 0.30.2 enabled dokku core builder-null plugin
builder-pack 0.30.2 enabled dokku core builder-pack plugin
buildpacks 0.30.2 enabled dokku core buildpacks plugin
caddy-vhosts 0.30.2 enabled dokku core caddy-vhosts plugin
certs 0.30.2 enabled dokku core certificate management plugin
checks 0.30.2 enabled dokku core checks plugin
common 0.30.2 enabled dokku core common plugin
config 0.30.2 enabled dokku core config plugin
cron 0.30.2 enabled dokku core cron plugin
docker-options 0.30.2 enabled dokku core docker-options plugin
domains 0.30.2 enabled dokku core domains plugin
enter 0.30.2 enabled dokku core enter plugin
git 0.30.2 enabled dokku core git plugin
haproxy-vhosts 0.30.2 enabled dokku core haproxy-vhosts plugin
letsencrypt 0.20.0 enabled Automated installation of let's encrypt TLS certificates
logs 0.30.2 enabled dokku core logs plugin
network 0.30.2 enabled dokku core network plugin
nginx-vhosts 0.30.2 enabled dokku core nginx-vhosts plugin
plugin 0.30.2 enabled dokku core plugin plugin
postgres 1.33.0 enabled dokku postgres service plugin
proxy 0.30.2 enabled dokku core proxy plugin
ps 0.30.2 enabled dokku core ps plugin
registry 0.30.2 enabled dokku core registry plugin
repo 0.30.2 enabled dokku core repo plugin
resource 0.30.2 enabled dokku core resource plugin
run 0.30.2 enabled dokku core run plugin
scheduler 0.30.2 enabled dokku core scheduler plugin
scheduler-docker-local 0.30.2 enabled dokku core scheduler-docker-local plugin
scheduler-null 0.30.2 enabled dokku core scheduler-null plugin
shell 0.30.2 enabled dokku core shell plugin
ssh-keys 0.30.2 enabled dokku core ssh-keys plugin
storage 0.30.2 enabled dokku core storage plugin
trace 0.30.2 enabled dokku core trace plugin
traefik-vhosts 0.30.2 enabled dokku core traefik-vhosts plugin
=====> app app-json information
App json computed selected: app.json
App json global selected: app.json
App json selected:
=====> app app information
App created at: 1681237959
App deploy source: git-push
App deploy source metadata: 674d77fa4b78213ff44cd311c8d4aaf20dd0eb7d
App dir: /home/dokku/app
App locked: false
=====> app builder information
Builder build dir:
Builder computed build dir:
Builder computed selected:
Builder global build dir:
Builder global selected:
Builder selected:
=====> app builder-dockerfile information
Builder dockerfile computed dockerfile path: Dockerfile
Builder dockerfile global dockerfile path: Dockerfile
Builder dockerfile dockerfile path:
=====> app builder-lambda information
Builder lambda computed lambdayml path: lambda.yml
Builder lambda global lambdayml path: lambda.yml
Builder lambda lambdayml path:
=====> app builder-pack information
Builder pack computed projecttoml path: project.toml
Builder pack global projecttoml path: project.toml
Builder pack projecttoml path:
=====> app buildpacks information
Buildpacks computed stack: gliderlabs/herokuish:latest-20
Buildpacks global stack:
Buildpacks list:
Buildpacks stack:
=====> app ssl information
Ssl dir: /home/dokku/app/tls
Ssl enabled: true
Ssl hostnames: app.sambatista.com
Ssl expires at: Jul 10 18:57:28 2023 GMT
Ssl issuer: C = US, O = Let's Encrypt, CN = R3
Ssl starts at: Apr 11 18:57:29 2023 GMT
Ssl subject: subject=CN = app.sambatista.com
Ssl verified: self signed
=====> app 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:
=====> app cron information
Cron task count: 0
=====> app docker options information
Docker options build:
Docker options deploy: --restart=on-failure:10
Docker options run:
=====> app domains information
Domains app enabled: true
Domains app vhosts: app.sambatista.com
Domains global enabled: false
Domains global vhosts:
=====> app git information
Git deploy branch: main
Git global deploy branch: master
Git keep git dir: false
Git rev env var: GIT_REV
Git sha:
Git source image:
Git last updated at: 1681264673
=====> app letsencrypt information
Letsencrypt active: true
Letsencrypt autorenew: false
Letsencrypt computed dns provider:
Letsencrypt global dns provider:
Letsencrypt dns provider:
Letsencrypt computed email: sambatista@pm.me
Letsencrypt global email: sambatista@pm.me
Letsencrypt email:
Letsencrypt expiration: 1689015448
Letsencrypt computed graceperiod: 2592000
Letsencrypt global graceperiod:
Letsencrypt graceperiod:
Letsencrypt computed lego docker args:
Letsencrypt global lego docker args:
Letsencrypt lego docker args:
Letsencrypt computed server: https://acme-v02.api.letsencrypt.org/directory
Letsencrypt global server:
Letsencrypt server:
=====> app logs information
Logs computed max size: 10m
Logs global max size: 10m
Logs global vector sink:
Logs max size:
Logs vector sink:
=====> app 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:5000
=====> app nginx information
Nginx access log format:
Nginx access log path: /var/log/nginx/app-access.log
Nginx bind address ipv4:
Nginx bind address ipv6: ::
Nginx client max body size:
Nginx disable custom config: false
Nginx error log path: /var/log/nginx/app-error.log
Nginx global hsts: true
Nginx computed hsts: true
Nginx hsts:
Nginx hsts include subdomains: true
Nginx hsts max age: 15724800
Nginx hsts preload: false
Nginx computed nginx conf sigil path: nginx.conf.sigil
Nginx global nginx conf sigil path: nginx.conf.sigil
Nginx nginx conf sigil path:
Nginx proxy buffer size: 4096
Nginx proxy buffering: on
Nginx proxy buffers: 8 4096
Nginx proxy busy buffers size: 8192
Nginx proxy read timeout: 60s
Nginx last visited at: 1681266207
Nginx x forwarded for value: $remote_addr
Nginx x forwarded port value: $server_port
Nginx x forwarded proto value: $scheme
Nginx x forwarded ssl:
=====> app proxy information
Proxy enabled: true
Proxy port map: http:80:5000 https:443:5000
Proxy type: nginx
=====> app 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: cb5a1ad421e)
=====> app registry information
Registry computed image repo: dokku/app
Registry computed push on release: false
Registry computed server:
Registry global push on release:
Registry global server:
Registry image repo:
Registry push on release:
Registry server:
Registry tag version:
=====> app resource information
=====> app scheduler information
Scheduler computed selected: docker-local
Scheduler global selected: docker-local
Scheduler selected:
=====> app scheduler-docker-local information
Scheduler docker local disable chown:
Scheduler docker local init process: true
Scheduler docker local parallel schedule count:
=====> app storage information
Storage build mounts:
Storage deploy mounts:
Storage run mounts:
It's honestly not a big deal, I just removed the one herokuish image and then run docker system prune
.
It runs an ephemeral container so you should only need to remove the herokuish image. That said, I've filed an MR upstream for your request.
What is the output of just:
dokku ps:report app
One thing to note is that this response is cached up to 3 minutes (I should make that configurable...) so if it was recently stopped, the page loaded, and then cached, you'll get a stale response. Thats being worked on, but I'm not sure if it applies in this case (and i'm not able to replicate the issue either on the latest dev release).
Does seem like it could be related to a caching issue. It says my app is running now, but it's been a few days since I last checked, here's the output in case its helpful:
root@ubuntu-s-1vcpu-1gb-nyc1-01:~# dokku ps:report app
=====> app 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: cb5a1ad421e)
I'm running in the same issue with dokku-pro 1.2.0
: The status of my app is Stopped
, even though it has been running for multiple days.
When I run sudo systemctl restart dokku-pro.service
, the stati are updated and correct.
Description of problem
I installed last night, started an app, woke up with it in stopped state, but its running fine.
Steps to reproduce
Unknown
dokku-pro version
None
dokku report
1.2.0
Additional information
No response