Both advices use
cd /var/discourse
./launcher rebuild app
However, this runs for a few minutes, then fails with
docker: Error response from daemon: driver failed programming external connectivity on endpoint app (a472c81b9b5....): Bind for 0.0.0.0:443 failed: port is already allocated.
I don’t see any effect on my forum site. What am I missing? For updates that need a the docker containers to be updates, I found that instead of launcher rebuild app I have to run
cd /var/discourse/
./launcher stop web_only && ./launcher rebuild data && ./launcher rebuild web_only
But this does not resolve the deprecated discourse-sitemap.