jord8on
(Jordan)
15 januari 2025 om 20:20
1
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:
“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
Canapin
(Coin-coin le Canapin)
15 januari 2025 om 20:31
2
There’s a similar topic with a solution here:
Hi, I updated Docker through the “Upgrade” section. After that, I tried to update Discourse via the terminal (I use DigitalOcean’s Droplet Console). However, when running the command ./launcher rebuild app, I get this error:
ERROR: Docker version 19.03.13 not supported, please upgrade to at least 20.10.0, or recommended 24.0.7.
But I had already done the update through the “Upgrade” admin interface on the website. Now nothing is working anymore. What could have gone wrong?
pfaffman
(Jay Pfaffman)
15 januari 2025 om 20:33
3
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
jord8on
(Jordan)
15 januari 2025 om 20:50
4
Yes! I get this:
Ubuntu 18.04.6 LTS \n \l
What’s the cleanest/safest way to move to a fresh new VM?
pfaffman
(Jay Pfaffman)
15 januari 2025 om 20:56
5
jord8on
(Jordan)
17 januari 2025 om 07:39
6
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!