Cannot restart or repair mongodb database after the crash (***aborting after invariant() failure)
After an unexpected crash, I can't restart ... the mongodb database

Time to exercise your Recovery Strategy, put your Recovery Plan into operation and get your database back from the Backups you've taken of it.
Your database is actually remarkably resilient.
Left to its own devices (and all other things being equal) it will recover from a server crash all by itself.  This is called Instance Recovery and all the &quot;real&quot; DBMSs do it completely automatically.
However, if your database can't recover on its own, then it's time to seriously consider putting that database out of it's misery and resurrecting it from Backup.  Blithely jumping with &quot;repair&quot; tools is a Sure-Fire(TM) way to lose Data.
Now, don't get me wrong - losing Data is not always bad ...   but only if it's written down in your Recovery Strategy, which would define, amongst other things:

How long you can take to recover your database, and
How much Data you're allowed to lose in doing so.

Your Backup plan should support your Recovery Strategy.
NB: No sensible Recovery Strategy should ever rely on being able to &quot;repair&quot; the database which, by that point, is basically broken.  Always make sure you can get back to a stable, known, Good State (i.e. the last Backup) and that you have practised performing that recovery work.