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. Cannot login to admin

Cannot login to admin

Added by Nelu Tand over 8 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 over 8 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...