I cannot find a solution for this. I now plan to solve it by making a dump of the mongo db, erase .meteor/local/db, restart meteor (which works, I tried it) and import the dump into the databbase.
But how do I make a dump from a database which I cannot start? Is it possible to extract some json or something like that, from .meteor/local/db? Or can I access the db in .meteor/local/db with mongo cli?
But I think the issue is that the database was created by either an older or a newer version of meteor & now the current version can’t run or open it.
If you can guesstimate from which era the database is originally you could change the projects version to that, temporarily.
I’d advise to first make a copy of the db as a backup in any case!
→ The second tip would be to create a second meteor app with basically nothing to go through the different meteor major versions with & copy the db to to check whether it can read it. Once you have it running you can connect with a normal MongoDB UI app to access your data.
You just need to use the built-in tool from mongo to dump it. It’s json data and easy to work with.
Or can I access the db in .meteor/local/db with mongo cli?
Yes you can with mongodump although you may need to get the server started for it to authenticate because you start it with mongodump --uri="mongodb://localhost:3001" so you need to figure why mongo isn’t coming up. First look at your settings file and check nothing is out of place. If you can revert to an older commit where it was working it would be best