On a sandbox server that we manage, a Mongodb based application that we manage was affected by an unexpected shutdown. While I have these notes in another location, they are, unfortunately, behind a login and therefore not easy for others on the internet to access. I'm dumping these logs here for the benefit of my future self.
In summary:
The WiredTiger.turtle file was owned by root when it should have been owned by the user associated with MongoDB
ls -l db/data/WiredTiger.turtle
-rw-r--r-- 1 root root 1011 Dec 21 10:48 db/data/WiredTiger.turtle
As the root user I ran the following command (note.. my setup uses a user user called 'godata', this will vary for others)
chown -R godata:godata /home/godata/db/
I was then able to succesfully launch the standard Go.Data scripts.
I'm looking in db/logs/db.log and seeing the following
2020-12-21T14:23:52.569+0000 I CONTROL [initandlisten] options: { net: { port: 6001 }, processManagement: { fork: true }, storage: { dbPath: "db/data" }, systemLog: { destination: "file", path: "db/logs/db.log" } }