How to fix «database system was interrupted» / «the database system is starting up» PostgreSQL failure on `./launcher rebuild`?

01

I have fixed it by increasing the sleep value from 5 to 60 in templates/postgres.template.yml:

I have found the solution here: meta.discourse.org/t/52806/5