The answer on this question is always the same, follow the recommendation in the displayed message and open the Nextcloud server log file where you should find detailed information about the root cause of the problem. Most likely you’ve forgotten to install a required php module which now prevents you from logging in to Nextcloud.