I think I was able to solve. I changed: # nano /etc/mongodb.conf
#auth = true
to
auth = true
and added to config.json
{
"url": "http://x.x",
"secret": "x",
"database": "mongo",
"port": 4567,
"mongo": {
"host": "127.0.0.1",
"port": "27017",
"password": "XXX",
"username": "x",
"database": "x"
}
}
if everything done correctly?