Docker manager 'old image' message is showing raw HTML

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…

2 Likes

I am super confused about this cause I thought I fixed it:

https://github.com/discourse/docker_manager/commit/7570b371aec81c76089b0c016c9cfa7eeb35e52b

1 Like

This has been reported like 10+ times so I am closing this. We don’t need 10 copies of this.

This is now properly fixed by @david per:

https://github.com/discourse/docker_manager/pull/38

6 Likes