Unable to start mig via the cli using the setup documentation
mas-Avi opened this issue · 1 comments
mas-Avi commented
Description
When trying to start the informatics gateway on Windows 10, I get a config error.
Steps to reproduce
Please share a clear and concise description of the problem.
- Download and unzip the mig-cli from https://github.com/Project-MONAI/monai-deploy-informatics-gateway/releases/download/0.2.0/mig-cli-0.2.0-win-x64.zip
- Pull the mig docket image via
docker pull ghcr.io/project-monai/monai-deploy-informatics-gateway:latest
- Run commands
.\mig-cli.exe config init
.\mig-cli.exe start
Expected behavior
Expect the informatics gateway to start or at least get further than failing on config.
Actual behavior
Running the .\mig-cli.exe start
command results in the following output.
info: Creating container MONAI Deploy Informatics Gateway - ghcr.io/project-monai/monai-deploy-informatics-gateway:latest (30d1e6e8cea1)...
info: Port binding: 104/tcp
info: Port binding: 2575/tcp
info: Port binding: 5000/tcp
info: Mount (configuration file): C:\Users\Avais\.mig\appsettings.json => /opt/monai/ig\appsettings.json
info: Mount (database file): C:\Users\Avais/.mig/database => /database
Configuration
- Informatics Gateway version/commit: latest, docker image id = 30d1e6e8cea1
- OS and version (distro if applicable): Windows 10 x64
- Kubernetes version (if applicable):
- Docker version (if applicable): Docker version 24.0.2, build cb74dfc
- Installation source (NGC, Dockerhub, or something else):
- Hardware configuration (CPU, GPU, memory, storage, etc...):
CPU - Intel Core i5-7200U @ 2.50GHz
RAM - 8 GB
mocsharp commented
Thanks for reporting the issue!
It looks like the CLI wasn't updated after we've moved to NLog.
In the mean time, you may manually configure appsettings.json
and docker run the Informatics Gateway container.
Note: you will need to have RabbitMQ and MinIO in order to run MIG. If you don't have the services setup yet, it may be easier to bring up all services using MONAI Deploy Express.