Error: MONGO_URL must be set in environment

I deployed my app on galaxy. I have this error on the page : 502 Bad Gateway: Registered endpoints failed to handle the request. and this one in the logs : Error: MONGO_URL must be set in environment

When I go in the settings page, I can find my settings :

{
    "env": {
	"ROOT_URL": "...url...",
	"MONGO_URL": "...mongourl...",
	"MONGO_OPLOG_URL": "...mongourlforoplog..."
    }
}

I can access my database with the command line and robomongo… so it works.

What did I miss ?

You missed that the settings file needs a root object of:

{
  "galaxy.meteor.com": {
    "env": {
      // mongo urls go here
    }
  }
}

Oh… you’re right. Thanks.

Maybe we could change the settings without having to re-deploy.