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. Container stops in docker

Container stops in docker

Added by Henry Madsen Jensen about 2 years ago

this is the last lines in my log file before the container stops running

Tasks: TOP => db:migrate
      (See full trace by running task with --trace)
      
         -> 0.0024s
      == 20220831073113 WorkPackageProjectForeignKey: migrated (0.0051s) ============
      
      I, [2023-04-08T12:47:28.123228 #85]  INFO -- : Migrating to MigrateTimestampsToWithTimezone (20220831081937)
      == 20220831081937 MigrateTimestampsToWithTimezone: migrating ==================
      -- execute("DO $$ DECLARE t record; BEGIN FOR t IN SELECT column_name, table_name, data_type FROM information_schema.columns WHERE table_schema = ANY (SELECT unnest(string_to_array(replace(setting, '\"$user\"', CURRENT_USER), ', ')) FROM pg_settings WHERE name = 'search_path') AND data_type = 'timestamp without time zone' LOOP EXECUTE 'ALTER TABLE ' || t.table_name || ' ALTER COLUMN ' || t.column_name || ' TYPE timestamp with time zone USING ' || t.column_name || ' AT TIME ZONE ''UTC'''; END LOOP; END$$;")

I use this command to install OP in docker

docker run -d --name openproject \
-p 7890:80 \
-e SERVER_HOSTNAME=nas.mydomain.xxx \
-e SECRET_KEY_BASE=secret \
-e OPENPROJECT_EDITION="bim" \
-e OPENPROJECT_HTTPS=false \
-v /volume1/docker/openproject/pgdata:/var/openproject/pgdata \
-v /volume1/docker/openproject/assets:/var/openproject/assets \
openproject/community:12

what am i doing wrong, i tried install on my older nas, but was told it could not run on linux kernel 3


Replies (1)

RE: Container stops in docker - Added by Henry Madsen Jensen about 2 years ago

I found that when i dont add the variable - OPENPROJECT_HOST__NAME=, then the container runs fine, but i cant access it

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