服务器重装后频繁出现500错误

How did you install Discourse itself? Was it following [Discourse official Standard Installation](Install Discourse in production with the official, supported instructions)?

Can you link the site?