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 Docker data on Windows

OpenProject Docker data on Windows

Added by Nuno Marques over 6 years ago

Hi all.

I am currently playing around with OpenProject. I found the Docker container and thought this might be one of the easiest ways to  test it out. I can get the container to run, yet I have not found a way to make my changes stick.

The existing documentation seems to be for linux and states i should:

sudo mkdir -p /var/lib/openproject/{pgdata,logs,static}

docker run -d -p 8080:80 --name openproject -e SECRET_KEY_BASE=secret \
  -v /var/lib/openproject/pgdata:/var/lib/postgresql/9.6/main \
  -v /var/lib/openproject/logs:/var/log/supervisor \
  -v /var/lib/openproject/static:/var/db/openproject \
  openproject/community:8

I assume that I need to change at least the paths so I tried:

docker run -d -p 8080:80 --name openproject -e SECRET_KEY_BASE=secret \ -v d:/temp/docker/pgdata:/var/lib/postgresql/9.6/main \ -v d:/temp/docker/logs:/var/log/supervisor \ -v d:/temp/docker/static:/var/db/openproject \ openproject/community:8

No joy. All i get is an "invalid reference format" error and I can't figure out why. Can anyone offer some insight as to what's wrong and how to make changes stick with Docker?

Any and all help greatly appreciated.


Replies (5)

RE: OpenProject Docker data on Windows - Added by mark mark about 6 years ago

did you found how to do it in windows?

RE: OpenProject Docker data on Windows - Added by jh arphow about 6 years ago

I figured out to remove the "\" chars.

docker run -it -p 8080:80 --name openproject -e SECRET_KEY_BASE=secret -v c:/temp/docker/openprojectTest/pgdata:/var/lib/postgr esql/9.6/main -v c:/temp/docker/openprojectTest/logs:/var/log/supervisor -v c:/temp/docker/static:/var/db/openproject openpr oject/community:8

After starting the container in my windows file system in directory "pgdata/" lot of file are created. Perfect!

But the container do not start and failed with the following error message:

 Starting PostgreSQL 9.6 database server: mainError: Config owner (postgres:102) and data owner (root:0) do not match, and config owner is not root ... failed!
        failed!

RE: OpenProject Docker data on Windows - Added by mark mark about 6 years ago

i have the same error message and haven't found a solution yet :(

RE: OpenProject Docker data on Windows - Added by Max Witzker about 5 years ago

Hi

Yes dear Mr. & Ms. Openproject

Pls be so kind and pulish the comands for Docker Desktop for Windows to get a persistant container running.

And how to access it from internet for other users.

Hope for Help!

THX

RE: OpenProject Docker data on Windows - Added by preap chanoudom almost 5 years ago

Any update on this issues?

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