我大约有一年没有更新网站了。我点击了“全部更新”按钮,然后出现了一个错误。它写着:
ERR_PNPM_UNSUPPORTED_ENGINE 不受支持的环境(pnpm 和/或 Node.js 版本错误)
您的 pnpm 版本与“/var/www/discourse”不兼容。
期望版本:^10
得到:9.15.4
我在命令行中输入了 ./launcher rebuild app,现在出现了这些错误:
root@qkpcatruux:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
623f74362681 local_discourse/app “/sbin/boot” 12 months ago Up 36 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp app
root@qkpcatruux:~# docker logs -f -n0 623f74362681
./config/unicorn_launcher: line 93: kill: (24549) - No such process
./config/unicorn_launcher: line 13: kill: (24549) - No such process
(24543) exiting
ok: run: redis: (pid 577) 2179s
ok: run: postgres: (pid 583) 2179s
supervisor pid: 24608 unicorn pid: 24614
./config/unicorn_launcher: line 93: kill: (24614) - No such process
./config/unicorn_launcher: line 13: kill: (24614) - No such process
(24608) exiting
ok: run: redis: (pid 577) 2184s
ok: run: postgres: (pid 583) 2184s
supervisor pid: 24671 unicorn pid: 24677
./config/unicorn_launcher: line 93: kill: (24677) - No such process
./config/unicorn_launcher: line 13: kill: (24677) - No such process
(24671) exiting
ok: run: redis: (pid 577) 2190s
ok: run: postgres: (pid 583) 2190s
supervisor pid: 24735 unicorn pid: 24741
还有这个:
root@qkpcatruux-app:/var/log/nginx# tail -f -n0 error.log
2026/02/11 04:32:25 [error] 594#594: *68 connect() failed (111: Connection refused) while connecting to upstream, client: 5.101.158.122, server: _, request: “GET / HTTP/2.0”, upstream: “http://127.0.0.1:3000/”, host: “comfymovement.ru”
我该怎么做才能修复网站?