שגיאת בנייה מחדש: Errno::ENOENT: אין כזה קובץ או תיקייה @ rb_sysopen - /etc/postgresql/13/main/pg_hba.conf

are you upgrading after a really long time?
Looks like a failed database upgrade to me.