MongoDB 5.0 starts only as root

So somehow the permission of some data file and the mongo.log file had been changed to root user. Changing them back fixed my issue. Weird that it broke for 5.0 and not for 4.2.

Thanks for the help @Doug_Duncan

1 Like