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. Docker Error: Could not spawn process for application /app

Docker Error: Could not spawn process for application /app

Added by Thomas Sloan over 5 years ago

Upgraded from a working 9.0.3 version to "latest" (10.0.2?) in Docker and now getting the following error when trying to navigate to OpenProject (seeing the "We're sorry, but something went wrong." page)

[ N 2019-10-10 01:00:38.4197 370/T5 age/Cor/SecurityUpdateChecker.h:519 ]: Security update check: no update found (next check in 24 hours)
Forcefully loading the application. Use :environment to avoid eager loading.
hook registered
App 402 output: hook registered
Creating scope :order_by_name. Overwriting existing method Sprint.order_by_name.
App 402 output: Creating scope :order_by_name. Overwriting existing method Sprint.order_by_name.
2019-10-10 01:02:16.042 UTC [440] openproject@openproject LOG:  could not receive data from client: Connection reset by peer
[ E 2019-10-10 01:02:17.7066 370/Tc age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /app: A timeout occurred while starting a preloader process.
  Error ID: 89e9b405
  Error details saved to: /tmp/passenger-error-1pJJ4k.html

[ E 2019-10-10 01:02:17.7223 370/T7 age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the error is 89e9b405. Please see earlier logs for details about the error.
[ E 2019-10-10 01:02:17.8692 370/T7 age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 1-2] Cannot checkout session because a spawning error occurred. The identifier of the error is 89e9b405. Please see earlier logs for details about the error.
[Worker(host:8416036a7682 pid:135)] Starting job worker
2019-10-10T01:03:17+0000: [Worker(host:8416036a7682 pid:135)] Starting job worker
App 459 output: hook registered
App 459 output: Creating scope :order_by_name. Overwriting existing method Sprint.order_by_name.
[ E 2019-10-10 01:05:00.6208 370/Th age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /app: A timeout occurred while starting a preloader process.
  Error ID: c22d62f4
  Error details saved to: /tmp/passenger-error-8jCQPq.html

[ E 2019-10-10 01:05:00.6559 370/T7 age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 1-3] Cannot checkout session because a spawning error occurred. The identifier of the error is c22d62f4. Please see earlier logs for details about the error.


Replies (8)

RE: Docker Error: Could not spawn process for application /app - Added by venkat swaminathan over 5 years ago

Any update on how this one was fixed, I am facing the same issue

RE: Docker Error: Could not spawn process for application /app - Added by Matze Aschi about 5 years ago

Hi I´ve got the exact same error starting from a fresh installation. So the images seem to be corrupt.

RE: Docker Error: Could not spawn process for application /app - Added by Cyril Rohr about 5 years ago

Hello, images are tagged, can you try with openproject/community:10 ? And possibly send the exact command line you're using to launch the image?

Thank you,

Cyril

RE: Docker Error: Could not spawn process for application /app - Added by Matze Aschi about 5 years ago

seems that the error occures after mounting the volumes. if you leave a / after for example assets it will not work.

Got it running now

Cheers

RE: Docker Error: Could not spawn process for application /app - Added by Thomas Sloan about 5 years ago

Cyril Rohr wrote:

Hello, images are tagged, can you try with openproject/community:10 ? And possibly send the exact command line you're using to launch the image?

Thank you,

Cyril

Same error with using image "10". I am using docker-compose as shown below:

version: '3'
services:
  openproject:
    container_name: openproject
    #image: openproject/community:latest
    image: openproject/community:10
    ports:
      - 8091:80
    volumes:
      - openproject-assets:/var/openproject/assets
      - openproject-sup:/var/log/supervisor
      - openproject-data:/var/lib/postgresql/9.6/main
#      - ./openproject/tmp:/tmp
    environment:
      - SECRET_KEY_BASE=secret
      #- OPENPROJECT_WEB_WORKERS=4

volumes:
  openproject-data:
    driver: local
  openproject-assets:
    driver: local
  openproject-sup:
    driver: local

Since that didn't work I also tried a simple docker run command (shown below) with no luck either (same error as before)

docker run -d -p 8089:80 --name openproject -e SECRET_KEY_BASE=secret -v /home/thomas/docker-openproject/pgdata:/var/openproject/pgdata -v /home/thomas/docker-openproject/static:/var/openproject/assets openproject/community:10

Here is the error that I see

[ N 2020-02-16 18:54:45.7096 403/T5 age/Cor/SecurityUpdateChecker.h:519 ]: Security update check: no update found (next check in 24 hours)
Forcefully loading the application. Use :environment to avoid eager loading.
[DEPRECATED] Bundler.environment has been removed in favor of Bundler.load (called at /app/lib/open_project/plugins/acts_as_op_engine.rb:178)
hook registered
Creating scope :order_by_name. Overwriting existing method Sprint.order_by_name.
2020-02-16 18:56:21.992 UTC [475] openproject@openproject LOG:  could not receive data from client: Connection reset by peer
[ E 2020-02-16 18:56:22.0673 403/Tc age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /app: A timeout occurred while starting a preloader process.
  Error ID: de41fe99
  Error details saved to: /tmp/passenger-error-r1JneE.html

[ E 2020-02-16 18:56:22.1134 403/T7 age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the error is de41fe99. Please see earlier logs for details about the error.

RE: Docker Error: Could not spawn process for application /app - Added by Adrien THOMAS about 5 years ago

Hi,

Any update on that issue ?

I'm having it too, i don't know which way to go to resolve it.

RE: Docker Error: Could not spawn process for application /app - Added by Michaela Barto almost 5 years ago

I also have this problem. OpenProject wont load and I am not able to fix that. Our complete project documentation is stucked now and we cant get our project management files in any way out of the system.

Please help!!!

RE: Docker Error: Could not spawn process for application /app - Added by 一樹 小堀 over 4 years ago

On creating docker container, add PASSENGER_START_TIMEOUT=3000 to environment variable like below:

docker run -d -p 8080:80 --name openproject -e SECRET_KEY_BASE=secret -e PASSENGER_START_TIMEOUT=3000 -v ...:/var/openproject/pgdata -v ...:/var/openproject/assets openproject/community:10

This works for me.

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