Unable to login into discourse suddenly

Try running ./launcher start app first:

cd /var/discourse
./launcher start app
./launcher enter app
su -c 'psql discourse' postgres