Pandabear
(Pandabear)
August 19, 2023, 12:18pm
1
Every two months I usually follow these instructions for updating the forum.
This guide provides step-by-step instructions for manually updating Discourse, the Docker container, and the Ubuntu operating system on a self-hosted setup.
Required user level: System Administrator
SSH access to the server.
If you self-host Discourse, you occasionally need to run a manual update via the command line to get the latest security releases and newest libraries.
These updates are not picked up in admin/upgrade, which is why you’ll occa…
In the next step I get a warning message
As for Ubuntu updates, make sure you have automatic security updates enabled for your Ubuntu! The command is:
dpkg-reconfigure -plow unattended-upgrades
However, that just covers critical security updates. Every so often you should get all the OS updates like so:
apt-get update
apt-get dist-upgrade
When I run the following command apt-get dist-upgrade
I got the following message
What should I choose? Thank you.
Jagster
(Jakke Flemming)
August 19, 2023, 1:03pm
2
Keep the local, aka.your earlier edited version. There is no need to overwrite it just because of some minor editing of that template or because of changed version number.
That isn’t Discourse dependent thing, though. It is matter of servers.
Pandabear
(Pandabear)
August 20, 2023, 4:40pm
3
Thank you, I did what you recommended.