Install crapi for the first time(ERROR: for crapi-web Container "28eac0bf7569" is unhealthy.)
Open
Nobody has claimed this yet.
bug
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 645
- Avg merge
- 37m
- Merged PRs (30d)
- 1
Description
Describe the bug
$: sudo docker-compose -f docker-compose.yml --compatibility up -d
mongodb is up-to-date
mailhog is up-to-date
api.crapi.io is up-to-date
postgresdb is up-to-date
crapi-identity is up-to-date
crapi-community is up-to-date
Starting crapi-workshop ... done
ERROR: for crapi-web Container "28eac0bf7569" is unhealthy.
ERROR: Encountered errors while bringing up the project.
Runtime Environment
$: uname -a
Linux wg-virtual-machine 5.19.0-41-generic #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
$: sudo docker version
Client: Docker Engine - Community
Version: 24.0.2
API version: 1.43
Go version: go1.20.4
Git commit: cb74dfc
Built: Thu May 25 21:51:00 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 24.0.2
API version: 1.43 (minimum version 1.12)
Go version: go1.20.4
Git commit: 659604f
Built: Thu May 25 21:51:00 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
sudo docker-compose version
docker-compose version 1.29.2, build unknown
docker-py version: 5.0.3
CPython version: 3.10.6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with docker-compose.yml and reproduce the reported sudo docker-compose -f docker-compose.yml --compatibility up -d command. Inspect the crapi-web container health status and logs to identify why it is unhealthy; done means the full stack starts successfully with crapi-web healthy.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100