When you created the new data directory, MongoDB didn't automatically migrate the existing data from the old directory. This is because MongoDB stores its data in a specific directory, and it expects the data to be in the correct format.
mongod --repair
mongodump -d your_database_name
mongorestore -d your_database_name /path/to/backup