Added by Patrick Regan almost 9 years ago
I cannot log in with the default admin:admin. I’ve tried the rake db:seed suggestion (running as user openproject), too, but that returns the error
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
@ @
(See full trace by running task with --trace)
What am I missing? How do I log in so I can start configuring projects?
Replies (3)
Follow-up: the output from
[openprojecthost] RAILS_ENV=“production” ./bin/rake db:seed@ yields:*** Seeding admin user@ ***** No need to seed an admin as there already is one.@
Still no luck getting a login. How can I either delete the existing admin account, or find some other way to log in?
Followed the directions in this post https://community.openproject.com/topics/1052, but discovered a typo:
To reset the admin (or any user) password from the command line:
RAILS_ENV=production bundle exec rails cSetting.lost_password="1"RAILS_ENV=production bundle exec rails cu = User.find_by_login "your login name"(eg.u = User.find_by_login "admin")u.password=u.password_confirmation='my new password'u.save!<— note the “!”. The post linked above omits the “!”, and the console will return “false”.How to start a rails console ? I install Openproject with bitnami in Google Cloud Platform
When i connect with ssh, i have this :
I Need my admin password :-(