added more contitionals on root pw change. In case the server gets rebuild...
added more contitionals on root pw change. In case the server gets rebuild but the existing db was re-attached as a volume
added more contitionals on root pw change. In case the server gets rebuild but the existing db was re-attached as a volume