Rebuild error: Errno::ENOENT: No such file or directory @ rb_sysopen - /e tc/postgresql/13/main/pg_hba.conf

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