./services sth-comet failed.
kenmasumitsu opened this issue · 0 comments
kenmasumitsu commented
The logs are
❯ ./services sth-comet
Stopping running containers
WARN[0000] The "MONGO_DB_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "MONGO_DB_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "MONGO_DB_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "host" variable is not set. Defaulting to a blank string.
WARN[0000] The "MONGO_DB_VERSION" variable is not set. Defaulting to a blank string.
WARN[0000] The "ORION_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "ORION_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "ORION_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "ORION_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "ORION_VERSION" variable is not set. Defaulting to a blank string.
WARN[0000] The "CYGNUS_API_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "CYGNUS_VERSION" variable is not set. Defaulting to a blank string.
WARN[0000] The "CYGNUS_MONGO_SERVICE_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "CYGNUS_MONGO_SERVICE_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "CYGNUS_API_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "CYGNUS_API_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "CYGNUS_MONGO_SERVICE_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "MONGO_DB_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "CYGNUS_MONGO_SERVICE_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "CYGNUS_API_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "CYGNUS_API_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "CYGNUS_MONGO_SERVICE_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "STH_COMET_VERSION" variable is not set. Defaulting to a blank string.
WARN[0000] The "STH_COMET_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "STH_COMET_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "STH_COMET_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "MONGO_DB_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "STH_COMET_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "ULTRALIGHT_VERSION" variable is not set. Defaulting to a blank string.
WARN[0000] The "ORION_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "IOTA_NORTH_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "MONGO_DB_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "IOTA_SOUTH_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "IOTA_NORTH_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "IOTA_NORTH_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "IOTA_NORTH_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "IOTA_SOUTH_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "IOTA_SOUTH_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "TUTORIAL_APP_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "TUTORIAL_DUMMY_DEVICE_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "TUTORIAL_APP_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "IOTA_SOUTH_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "TUTORIAL_DUMMY_DEVICE_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "ORION_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "STH_COMET_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "TUTORIAL_APP_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "TUTORIAL_APP_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "TUTORIAL_DUMMY_DEVICE_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "TUTORIAL_DUMMY_DEVICE_PORT" variable is not set. Defaulting to a blank string.
services.iot-agent.ports array items[0,1] must be unique
Also, services cygnus
failed with the same error.
The solution is to add the lines in services
"sth-comet")
+ export $(cat .env | grep "#" -v)
stoppingContainers
echo -e "Starting containers: \033[1;34mOrion\033[0m, \033[1;34mSTH-Comet\033[0m, \033[1;36mIoT-Agent\033[0m, \033[1mTutorial\033[0m and a \033[1mMongoDB\033[0m database."
"cygnus")
+ export $(cat .env | grep "#" -v)
stoppingContainers
echo -e "Starting containers: \033[1;34mOrion\033[0m, \033[1;34mCygnus\033[0m, \033[1;34mSTH-Comet\033[0m, \033[1;36mIoT-Agent\033[0m, \033[1mTutorial\033[0m and a \033[1mMongoDB\033[0m database."