Content
You are here:
Docker Error: Could not spawn process for application /app
Added by Thomas Sloan about 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)
Any update on how this one was fixed, I am facing the same issue
Hi I´ve got the exact same error starting from a fresh installation. So the images seem to be corrupt.
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
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
Cyril Rohr wrote:
Same error with using image "10". I am using docker-compose as shown below:
Since that didn't work I also tried a simple docker run command (shown below) with no luck either (same error as before)
Here is the error that I see
Hi,
Any update on that issue ?
I'm having it too, i don't know which way to go to resolve it.
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!!!
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.