Astro
2018-06-30 19:52:02 UTC
This command from the documentation for Ubuntu is failing:
docker exec -it \
$(docker container ls --filter name=_charts -q) \
charts-cli add-user --first-name "<First>" --last-name "<Last>" \
--email "<***@example.com>" --password "<Password>" \
--role "<UserAdmin|User>"
add-user command error: An error occurred creating a user: An error
occurred setting up the StitchMongoDBService: request to
http://localhost:8080/api/admin/v3.0/auth/providers/local-userpass/login
failed, reason: connect ECONNREFUSED 127.0.0.1:8080
When checked using:
sudo docker service logs mongodb-charts_charts.1.m3bgt3z2dunzqwv57e2pzhwma
mongodb-***@thinkpad | â encryptionKeyPath
mongodb-***@thinkpad | â tokens
mongodb-***@thinkpad | â stitchConfigTemplate
mongodb-***@thinkpad | â stitchConfig
mongodb-***@thinkpad | â stitchConfigWritten
(true)
mongodb-***@thinkpad | â mongoDBReachable
failure: Can't connect to MongoDB at mongodb://thinkpad:27017. Too many
failed attempts. Last error: failed to connect to server [thinkpad:27017]
on first connect [MongoNetworkError: getaddrinfo ENOTFOUND thinkpad
thinkpad:27017]
Not sure which 127.0.0.1:8080 and mongodb://thinkpad:27017 it is referring
to.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/e71a9071-7239-4a1a-9feb-fd2907463860%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
docker exec -it \
$(docker container ls --filter name=_charts -q) \
charts-cli add-user --first-name "<First>" --last-name "<Last>" \
--email "<***@example.com>" --password "<Password>" \
--role "<UserAdmin|User>"
add-user command error: An error occurred creating a user: An error
occurred setting up the StitchMongoDBService: request to
http://localhost:8080/api/admin/v3.0/auth/providers/local-userpass/login
failed, reason: connect ECONNREFUSED 127.0.0.1:8080
When checked using:
sudo docker service logs mongodb-charts_charts.1.m3bgt3z2dunzqwv57e2pzhwma
mongodb-***@thinkpad | â encryptionKeyPath
mongodb-***@thinkpad | â tokens
mongodb-***@thinkpad | â stitchConfigTemplate
mongodb-***@thinkpad | â stitchConfig
mongodb-***@thinkpad | â stitchConfigWritten
(true)
mongodb-***@thinkpad | â mongoDBReachable
failure: Can't connect to MongoDB at mongodb://thinkpad:27017. Too many
failed attempts. Last error: failed to connect to server [thinkpad:27017]
on first connect [MongoNetworkError: getaddrinfo ENOTFOUND thinkpad
thinkpad:27017]
Not sure which 127.0.0.1:8080 and mongodb://thinkpad:27017 it is referring
to.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/e71a9071-7239-4a1a-9feb-fd2907463860%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.