have you tried running
apt-get update apt-get upgrade
and then
cd /var/discourse/ ./launcher rebuild app