Unable to login into discourse suddenly

It looks like you might be missing some recent database migrations. I would suggest trying to rebuild from the command line again

cd /var/discourse
./launcher rebuild app

and see whether the problem is resolved. If not, please can you share the info and backtrace information from the logs.