Admin/Update screen is blank. How to manually updtate docker via SSH Console?

Today when I went into our Admin Dashboard we had the notification:

Your Discourse installation is out of date. Click here to update.

I first clicked the button to Update Docker.

When the completed, from the Admin Dashboard, I again visited admin/update again, only to find that screen was blank within the “Admin/Update” frame.

Screenshot

I tried clearing browser cache/cookies and also disabling some theme components, etc.

I logged in via root to my server console and tried to run ./launcher rebuild app and got this error:

:warning: “ERROR: Docker version 18.09.6 not supported, please upgrade to at least 20.10.0, or recommended 24.0.7”

Our site is still working just fine… but I can’t upgrade Docker via the UI.

Is there a way to safely upgrade docker via SSH Console, and try to rebuild the app after that?

Some other points to consider:

We are currently on Docker version 18.09.6, build 481bc77

While Docker was updating via the Admin interface, I was logged into my console and attempting to add a plugin via nano containers/app.yml so maybe that caused some kind of conflict?? I have since deleted the two apps that I was attempting to add: - https://github.com/discourse/discourse-akismet.git and https://github.com/discourse/discourse-ai.git

1 Like

There’s a similar topic with a solution here:

5 Likes

There’s a good chance your OS is out of date and that you should move to a fresh new VM. Does cat /etc/issue suggest that you have 18.04?

You can try

apt update;apt install docker-ce

Another way, that prints a scary message, but is probably safe if you installed docker with apt

wget -qO- https://get.docker.com/ | sh
6 Likes

Yes! I get this:

Ubuntu 18.04.6 LTS \n \l

What’s the cleanest/safest way to move to a fresh new VM?

3 Likes

Move a Discourse site to another VPS with rsync

3 Likes

You were right. Getting a new Ubuntu OS was probably the best way to go. I just went through the process of creating another install on a Digital Ocean droplet. then updated my DNS records and uploaded a backup from our old community. Everything is working great now!

Thanks!

2 Likes