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. openproject-ce on docker not creating a database

openproject-ce on docker not creating a database

Added by Christopher Caruk almost 8 years ago

Hello,

OpenProject looks pretty interesting. I am keen to see how it improves on Redmine.

I’ve been trying all morning to get openproject-ce up and running in a container.

After some experimentation I realised that I needed to copy the databse.docker.yml file to database.yml so I know that I have a configuration in place.

“docker-compose up” seems to do it’s thing but no database is created in the db container so I tried creating my own on a local database. Even after adjusting my.cnf to include:

sql_mode = “NO_AUTO_VALUE_ON_ZERO,STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION”

and creating a database called openproject_development…

The containers are not creating any tables.

I’m sure that I’m connecting to my own instance of mysql because the mode errors went away after configuring my.cnf on my local machine.

Is there something special that I need to do to create and populate the initial database when running openproject with docker?

Thanks
Chris


Loading...