שברתי את ההתקנה שלי עם עדכון כושל - איך אפשר לשחזר?

You can try

cd /var/discourse
./launcher rebuild app

That might do the trick. If not, it’ll likely be hard to guess.