Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • 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

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

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

Content

Expand project menu
General discussion
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. General discussion
  5. Cannot login to admin

Cannot login to admin

Added by Nelu Tand about 9 years ago

Hello,

I had installed the openproject and I was able to login for the first time. After that I always get

“Invalid user or password or the account is blocked due to multiple failed login attempts. If so, it will be unblocked automatically in a short time.
”
I had found on forum to run the command bundle exec rake db:seed but the output is

Could not locate Gemfile

any ideea ?


Replies (1)

RE: Cannot login to admin - Added by Oliver Günther about 9 years ago

After your first login, the admin user is forced to choose a new password. I assume that you did suceed to login the first time and changed the password?

However, changing the password from command line is easy.

Spawn a irb shell (Manual installation)

cd </path/to/openproject>
RAILS_ENV=production bundle exec rails c

Spawn a irb shell (Packaged installation)

openproject run console

In that console, execute:

admin = User.find_by(login: 'admin')
admin.password = 'mynewpassword1234' # Must confirm to the password rules you defined!
admin.password_confirmation = 'mynewpassword1234'

admin.save! # Watch the output for errors

And then login with the new credentials.

Best,
Oliver

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