Yes, as I suspected it appears you got somehow stuck in an old image.
What is the output of
cd /var/discourse git pull
?