How long has it been since the last time you upgraded via the console? If it’s been a while, then I would suggest that you run the following after you SSH into your server and see if that fixes your problem.
cd /var/discourse
git pull
./launcher rebuild app
If it does not, then I would recommend removing all non-official plugins and trying another rebuild.