Thanks for your help, I've tried using rs.initiate() however I'm getting the following I think because it's not running as a replicaset.
"ok" : 0.0,
"errmsg" : "This node was not started with the replSet option",
"code" : 76,
"codeName" : "NoReplicationEnabled"
I have read this on the MognoDB documentation https://docs.mongodb.com/manual/tutorial/convert-standalone-to-replica-set/ which from what I can tell essentially instructs Mongo DB to boot up with the
Because however on Bitnami, when SSH into server, all of the commands are mapped through the
sudo /opt/bitnami/ctlscript.sh restart
command I'm not sure how to edit this command to include the --replSet option