Summary
Quick steps to properly set HOST_IP environment variable to solve Grafana* server issues.
Description
Running into the following error after installing the reference implementation using the installation instructions.
itm_smartcity | 2021-08-15 :: Connecting grafana: Grafana container not up yet, retrying...
Resolution
Ensure the HOST_IP environment variable has been set correctly.
- In a new terminal, navigate to Intelligent_Traffic_Management_<version>/Intelligent_Traffic_Management/intelligent-traffic-management
- Export your current machine IP address. (You can look up your system IP address via ip a or ifconfig).
export HOST_IP=<System-IP-address>
- Verify that HOST_IP is correctly sourced into the environment
export | grep HOST_IP
- Run docker-compose up.
sudo -E docker-compose up