Question


How can I unlock my admin account if it gets locked?


Environment


OnApp Control Panel server


Answer


To unlock your admin user account, open the Command Prompt window from the root user and enter:

su - onapp -c "cd /onapp/interface; RAILS_ENV=production rake onapp:unlockuser[admin]"
CODE

It can be changed to unlock other users as well.


Additional Information


It is preferable to unlock accounts via the email sent by the Control Panel server to the user's registered account.