Installed without error but site wont come up

I’m thinking of a triage command. The default should be for the output to indicate something like “All systems normal”, “Updates available”, “Faults detected”, running with --detail should give specifics.

A rough boilerplate:

HOST_INFO:
hostname: (hostname)
Linux Version: (uname -a, lsb_release -a)
status of updates: (apt-get -u upgrade)
Storage: (df -h)
Memory: (free -h)
Network: not sure of what would be useful here

DOCKER_INFO
Docker Install: (docker info)
Docker images: (docker images)
Docker containers: (docker ps)

DISCOURSE_INFO
app file: (sanitized content of %app.yml%)
disk use: (du -h /var/discourse/shared)
log fatal: (docker logs %container id%|grep FATAL)
log tail: (docker logs %container id% --tail 25)
What would be useful from the other logs, unicorn, prod, prod errors, nginx ?

I’m sure there is a way to filter the output of docker logs to be a bit more germain, my grep foo isn’t very strong.

What other info would be useful from a support viewpoint? AFAIK you can’t get user or post/thread count from outside the container, but the “disk use” in DISCOURSE_INFO gives you a rough idea of how much space the forum occupies.