Without knowing the error message when updating, it’s hard to know.
You better try is to do a manual update, by:
cd /var/discourse ./launcher rebuild app