fassert() failure MongoDB error occurs due to the existence of the temporary #socket file /tmp/mongodb-27017. sock or if #MongoDB eats a lot of #disk space in the server.
It is caused by a corrupted file.
More info >>
https://ibmimedia.com/blog/80/solve-fassert-failure-error-in-mongodb