I’ve seen this mentioned a few times on Meta, but I can’t find a specific topic for it. If there is one, apologies!
When I visit /admin/upgrade
the page looks like this:
Doing a “view source” reveals this:
<html><head></head><body>
<h2>You are running an old version of the Discourse image.</h2>
<p>
Upgrades via the web UI are disabled until you run the latest image.
</p>
<p>
To do so log in to your server using SSH and run:
</p>
<pre>
cd /var/discourse
git pull
./launcher rebuild app
</pre>
<p>
<a href='https://meta.discourse.org/t/how-do-i-update-my-docker-image-to-latest/23325'>More info on our support site</a>
</p>
</body>
</html>
So it looks like the HTML is being converted into html entities somewhere along the line…