whyour / qinglong

支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台(Timed task management platform supporting Python3, JavaScript, Shell, Typescript)
https://qinglong.online
Apache License 2.0
16.26k stars 2.98k forks source link

docker 容器重启后无法打开 qinglong #2148

Closed can4hou6joeng4 closed 1 year ago

can4hou6joeng4 commented 1 year ago

Qinglong version

2.16.3

Steps to reproduce

docker compose up -d 运行后 qinglong状态为 unhealthy

What is expected?

docker compose up -d 运行后 qinglong 正常情况状态是 healthy

What is actually happening?

网页中出现错误:Failed to load resource: the server responded with a status of 502 (Bad Gateway)

容器内部日志错误: node:internal/modules/cjs/loader:1080 throw err; ^

Error: Cannot find module '/root/.local/share/pnpm/global/5/node_modules/pm2/bin/pm2' at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }

System Info

No response

Any additional comments?

No response

Leerc0825 commented 1 year ago

你最近重装python环境了吗?

whyour commented 1 year ago

镜像是最新的吗

Leerc0825 commented 1 year ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。