The website crashed after I tried to update it

I haven’t updated the site for about a year. I clicked the “update all” button, and I got an error. It was written:

ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)

Your pnpm version is incompatible with "/var/www/discourse".

Expected version: ^10
Got: 9.15.4

I entered ./launcher rebuild app on the command line and now I get these errors:

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

And this:

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"

What can I do to fix the website?

Try a one-off git pull in /var/discourse (outside the container) … then just a ./launcher rebuild app

Could you tell me what to write on the command line and how? How do I write something outside the container? I don’t really understand it.

/var/discourse is outside the container :slight_smile:

Everything is working! Thank you very much! However, now I’m afraid to make updates. :sweat_smile:

1 Like

As you get more used to it, you will get more confidence :+1:

Please mark my post as the solution.