Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Forget the admin user password in open project 3.0

Forget the admin user password in open project 3.0

Added by anuj teotia about 11 years ago

Hello guys,

i forget my admin password. can someone tell me how to reset admin password in open project. please help me


Replies (5)

RE: Forget the admin user password in open project 3.0 - Added by Christian Ratz about 11 years ago

Hi Anuj,

there are a few options to change your password:

1. check if you have enabled the ‘forget password’ function if activated you can find a link for password reset on the login page or in the login dropdown.

2. if not enabled you can enable this function in the rails console by running the following commands:

RAILS_ENV=production bundle exec rails c
Setting.lost_password="1"

3. Change the users password with rails console. This is not recommended because it is possible that the plain password is stored in the history of the console.

RAILS_ENV=production bundle exec rails c
u = User.find_by_login "your login name"     (eg. u = User.find_by_login "admin")
u.password=u.password_confirmation='my new password'
u.save

Than login with the new password.

Best
Ratzi

RE: Forget the admin user password in open project 3.0 - Added by anuj teotia about 11 years ago

thank you very much christian for help

i followed your 3 step now my open project is not running on 127.0.0.1:8080. i have restarted all services(httpd,postgres). it give me this error

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your OpenProject administrator for assistance.

If you are the OpenProject administrator, check your log files for details about the error.

RE: Forget the admin user password in open project 3.0 - Added by Christian Ratz about 11 years ago

You’re welcome.

That’s weird because option 2 and 3 only change a record in the database which work without a restart. I assumed also that you run OpenProject in production environment but now it looks like you run it in development.

Can you please check your log file for more information? (should be located in ‘log/development.log’)

Best
Ratzi

RE: Forget the admin user password in open project 3.0 - Added by anuj teotia about 11 years ago

thank you christian for the help. i will check log files

RE: RE: Forget the admin user password in open project 3.0 - Added by c.arpino M. Arpino over 6 years ago

How do I reset my admin password and login in open project 8.2? I tested what was recommended above and did not work. I installed the open project about 2 months ago. My computer was damaged now that I got it, I can not remember the admin login and password. I've never gotten in through my localhost, but right now it's very important for me to test LDAP integration.

  • (1 - 5/5)
Loading...