Top Menu

Jump to content
Home
    • Projects
    • Activity
    • Work packages
    • 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
    • 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?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • Forums
  • Feature tour
    Feature tour
You are here:
  • Forums
  • General discussion

Content

Migration from package installation to Docker

Added by Kristian Kirilov 6 months 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...