Just updated to Ubuntu 22.04.1 LTS.
Then did:
cd /var/discourse
sudo git pull
sudo ./launcher rebuild app
It worked for some minutes then failed with an error (see below).
If I now do this again:
sudo ./launcher rebuild app
I immediately get the same error again:
$ sudo ./launcher rebuild app
x86_64 arch detected.
docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown.
ERRO[0000] error waiting for container: context canceled
Your Docker installation is not working correctly
See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam
I followed the steps in the linked article. They ran successfully.
Unfortunately when then doing
sudo ./launcher rebuild app
again, the error occurs again.
Update 1
One suggestion was to install cgroup-tools
:
sudo apt update
sudo apt -y install cgroup-tools
(Source)
Unfortunately, this did not work in my scenario, even after a reboot.
Update 2
I’ve also upgraded Docker from 19.x to 20.x.
Then, after a reboot, I tried this again:
sudo ./launcher rebuild app
This time, it succeeds.
My forum now works correctly again