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

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Got open project 3.0 running on windows with postgres, but having trouble now logging in

Got open project 3.0 running on windows with postgres, but having trouble now logging in

Added by Julie Miller almost 11 years ago

Guys, im quite the newbie when it comes to ruby on rails in general… so excuse me if im doing something completely wrong here.

I just set up this environment on windows 2012 R2 by mostly following the windows installation guide. I had to add in a step because the bundler wasn’t working, so i edited the lib/bundler/cli/install.rb to skip the check for windows and everything seemed to go OK after that.

But my question is…

I couldnt find where to configure mysql or launch mysql from the command line by just following the guide, so I chose to go the postgres route.

I installed postgres and using pgadmin i followed all of the steps in the guide and i got to the point where i edit the database.yml file.

I made my database.yml file look like this

development:
adapter: postgresql
encoding: unicode
database: openproject
pool: 5
username: openproject
password: ****

I then ran

bundle exec rake db:create:all
bundle exec rake db:migrate
bundle exec rails server

and although i got a few errors, the website is running. The issue im seeing now, is I try to log on using admin/admin and it tells me the password is incorrect or the account is locked out.

Why doesn’t admin/admin work? Where in postgres can i go to fix this? Should i be using a different default username and password?

Thanks.


Replies (1)

RE: Got open project 3.0 running on windows with postgres, but having trouble now logging in - Added by Christian Ratz almost 11 years ago

Hello Juile,

you just missed one step after rake db:migrate run the following to create the the default admin user and some other needed stuff:

bundle exec rake db:seed

Best
Ratzi

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