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
Support Installation & Updates
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. Support Installation & Updates
  5. openproject-ce on docker not creating a database

openproject-ce on docker not creating a database

Added by Christopher Caruk about 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...