Here are the steps I’ve done when I lost my Adaptlearning admin password. Avoiding to reset the entire installation, I decided to dive in to the shell. Then, I found that the user and database are exist. Turns out, Adaptlearning uses Bcrypt for hashing the password. Oh ya, my condition was that I forgot my MongoDB’s admin password as well. XD
- Use the Robomongo.
- Create another admin on your MongoDB, then of course modify your former admin’s password. Example 1. Example 2.
- Learn BCrypt a bit. Then look at this.
- Use Robomongo to modify Bcrypt-ed password by filling it with a bcrypt string as we converted it through the calculator above.
If it is even still stucked on the server connection due to changes: http://stackoverflow.com/questions/12831939/couldnt-connect-to-server-127-0-0-127017
If it is error on $PATH environment: http://superuser.com/questions/488173/how-can-i-edit-the-path-on-linux
If there is a problem with lbssl.so.10 blabla : http://stackoverflow.com/questions/33693635/mongod-error-while-loading-shared-libraries-libssl-so-10-libcrypto-so-10
Of course you might need to install the compatible version of node in order to work with Adapt.
> . ~/.nvm/nvm.sh > nvm install 4.2.6 > nvm use 4.2.6