You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] PM2 进程守护注册的启动命令缺少 --profile web 参数,崩溃自动重启机制完全失效
#2749
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
一句话说明问题
dsh 的 PM2 进程守护配置生成时丢失了
--profile web参数,导致宣传的"崩溃自动重启"完全失效:应用启动即报错退出,16 次不稳定重启后被 PM2 标记 errored 并静默停止。详情
复现步骤:
@deepseek-ai/dsh(0.1.0-rc.6)后,进程守护模式(PM2)注册的 dsh-web 应用启动命令为node .../dsh/lib/bin.js,不带任何参数(pm2 describe dsh-web中 script args 为 N/A)pm2 start(或触发 PM2 重启)→ 应用启动即报error: --profile <name> is required退出实际结果:崩溃后服务无法自动恢复;错误日志分散在
~/.pm2/logs/dsh-web-error.log,且无任何面向用户的提示(页面、日志均无指引)。用户只会发现"服务打不开"。预期结果:
--profile web(等价于dsh web)环境:
~/.pm2下 dump.pm2 中存在 dsh-web 应用)截图:无(命令行场景);
pm2 describe dsh-web显示 script args: N/A 可复现All reactions