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. Migration from package installation to Docker

Migration from package installation to Docker

Added by Kristian Kirilov about 2 years ago

Hi there,

I tried to migrate my OpenProject setup from apt based installation to Docker container. I'm using all-in-one solution, and I have followed the migration process which includes:

  • Export the PostgreSQL data from the old container
  • Start new Docker PostgreSQL container and import the data
  • Mount the assets and pgdata to the OpenProject container

So it should work, but today I've tried to create new project and it gave me internal server error.
In the logs I see odd errors, please check it below:

E, [2023-04-07T12:55:24.910201 #303] ERROR -- : user=3 PG::UndefinedColumn: ERROR:  column "activity_type" of relation "journals" does not exist
LINE 187:     activity_type,
              ^
: PG::UndefinedColumn: ERROR:  column "activity_type" of relation "journals" does not exist
LINE 187:     activity_type,
              ^

The first though which came to my mind was to use openproject configure. But in the Docker container there is no such command.
Can you help me with that? Thanks.


Loading...