The command needs to be run on the admin database. Change the db.runCommand(.... to db.adminCommand(...
Hope this helps.
The command needs to be run on the admin database. Change the db.runCommand(.... to db.adminCommand(...
Hope this helps.