Hi all!
The first step with similar cases is to check the latest messages from the server's error log file. Usually, the 500 error leaves the traces about it there.