My discourse forum crashed after upgrade to 3.5.0.beta8

Yesterday, I casually updated discourse to 3.5.0.beta8 on the web ui , but the website crashed. Today, I execute./launcher rebuild app in the terminal, but it still doesn’t work

what i have tried

  • I tried to delete lots of plugin mentioned here. I have deleted the relevant plugins in app.yml and tried rebuilding the app again. There are no errors or compilation failures now

  • it’s seemd caused by docker? i have executeapt upgrade docker, and ./launcher rebuild app, but it doesn’t work too

    docker: "specify mac-address per network" requires API version 1.44, but the Docker daemon API version is 1.43.
    See 'docker run --help'.
    Failed to restart the container.
    

other

I am very sure that I haven’t changed any other settings during this period. At least the last time I upgraded the editor days ago

My machine performance should be sufficient to cope with the upgrade

logs from discourse-doctor

discourse-doctor-v2.txt (93.7 KB)

2 Likes

Seeing this

This version of discourse_docker is not compatible with the chosen Discourse version.

Are you able to upgrade discourse_docker first?

2 Likes

i have executeapt upgrade docker , it doesn’t work

root@was:/var/discourse# docker -v
Docker version 27.5.1, build 27.5.1-0ubuntu3~22.04.2

Ah discourse_docker is not docker. It’s this repo: GitHub - discourse/discourse_docker: A Docker image for Discourse

You can try the following

cd /var/discourse
git pull origin main --autostash
6 Likes

it worked! thanks!

:heart::heart::heart::heart::heart:

1 Like

I wanted to add a quick additional detail to this closed topic. I experienced a similar issue on a Digital Ocean Discourse droplet I’ve had running for about 5 years with the exact same errors. I tried to upgrade from the admin interface in Discourse and it went fine until updating the Discourse app.

My only addition here is that after updating my server, for whatever reason, I still needed to run apt upgrade docker-ce to get Docker to go from v18 to v24. I then was able to run ./launcher rebuild app

1 Like