-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
Description
Trying to run a local instance of Codabench gives me the following error:
codabench-createbuckets-1 | mc: <ERROR> `config` is not a recognized command. Get help using `--help` flag.
codabench-createbuckets-1 | + echo ...waiting...
codabench-createbuckets-1 | + sleep 5
codabench-createbuckets-1 | ...waiting...
codabench-createbuckets-1 | + /usr/bin/mc config host add minio_docker http://minio:9000 testkey testsecret
codabench-createbuckets-1 |
codabench-createbuckets-1 | mc: <ERROR> `config` is not a recognized command. Get help using `--help` flag.
codabench-createbuckets-1 | + echo ...waiting...
codabench-createbuckets-1 | + sleep 5
codabench-createbuckets-1 | ...waiting...
This is triggered by the following line:
Line 81 in dc19e4a
| until /usr/bin/mc config host add minio_docker http://minio:$MINIO_PORT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY && break; do |
Looks like the mc config syntax is outdated (since 2022). mc config host add should be replaced by mc alias set. I will try this and give an update.
Not sure why this problem is only happening now in my local instance.