2

在 Docker 中将 OpenProject 的社区版从工作版 9.0.3 升级到“最新”(10.0.2?),现在在尝试导航到 OpenProject 时出现以下错误(看到“我们很抱歉,但出了点问题。“ 页)

日志如下,但看起来错误可能是:

[ 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.

不知道从哪里开始解决这个问题......

[ 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.
4

2 回答 2

0

在 openproject Docker 映像中,添加PASSENGER_START_TIMEOUT=200到环境变量。

docker run -d -e PASSENGER_START_TIMEOUT=200 ...add any options... openproject/community:10

这对我有用。

于 2020-09-18T00:15:15.690 回答
0

问题可能可以通过将 PassengerStartTimeout 从 90(默认)增加到 200 来解决。

我通过添加行来完成

PassengerStartTimeout 200

到 /opt/openproject-10.3.1-1/apache2/conf/bitnami/passenger.conf

并重新启动 apache 服务器

希望这可以帮助

于 2020-04-12T16:34:21.003 回答