ENOENT no such file or directory error during upgrade

You might try

cd /var/discourse
git pull
./launcher rebuild app