What is the backtrace and error for the 500?
My suspicion is you may not have run migrations, have you?