Rails - 乘客 RubyApps 在以前工作的 Ubuntu/apache 系统上消失了

Rails - passenger RubyApps disappeared on a previously working Ubuntu/apache system

Passenger 应用程序已停止且不会重新启动。我不再能够通过 capistrano 或 passenger-config 重新启动我的 Rails 应用程序。服务器之前已设置并且运行良好。我认为问题是在 apt 更新和重启后引入的。

01 passenger-config restart-app /var/www/inventory/development --ignore-app-not-running
01 There are no Phusion Passenger(R)-served applications running whose paths begin with '/var/www/inventory/development'.

Apache 和 passenger 是 运行,但是没有 Passenger RubyApps 也没有列出应用程序组。

# passenger-status
Version : 6.0.11
Date    : 2021-10-28 23:26:15 +0000
Instance: PDzzKrq3 (Apache/2.4.29 (Ubuntu) Phusion_Passenger/6.0.11)

----------- General information -----------
Max pool size : 6
App groups    : 0
Processes     : 0
Requests in top-level queue : 0

----------- Application groups -----------
# passenger-memory-stats
Version: 6.0.11
Date   : 2021-10-28 23:06:38 +0000

--------- Apache processes ---------
PID   PPID  VMSize    Private  Name
------------------------------------
1025  1     429.2 MB  1.8 MB   /usr/sbin/apache2 -k start
1072  1025  431.5 MB  0.2 MB   /usr/sbin/apache2 -k start
1073  1025  431.5 MB  0.2 MB   /usr/sbin/apache2 -k start
1074  1025  431.5 MB  0.3 MB   /usr/sbin/apache2 -k start
1075  1025  431.5 MB  0.2 MB   /usr/sbin/apache2 -k start
1076  1025  431.5 MB  0.2 MB   /usr/sbin/apache2 -k start
3833  1025  431.5 MB  0.2 MB   /usr/sbin/apache2 -k start
### Processes: 7
### Total private dirty RSS: 3.23 MB


-------- Nginx processes --------

### Processes: 0
### Total private dirty RSS: 0.00 MB


---- Passenger processes -----
PID   VMSize    Private  Name
------------------------------
1028  390.4 MB  2.8 MB   Passenger watchdog
1031  947.0 MB  3.9 MB   Passenger core
### Processes: 2
### Total private dirty RSS: 6.64 MB

如何重新初始化这些丢失的乘客应用程序?

这似乎是一个错误或与 passenger 6.0.11 不兼容。我降级回 6.0.10,它又开始工作了。您可以在 passenger github.

上关注该问题