# 500 error on upgrade page

(Theron Boerner) #1

I don’t know where to find the log but when I got to blahblah.com/admin/ugprade I get a blank page and the console shows a 500 error.

(Sam Saffron) #2
``````cd /var/discourse
git pull
./launcher rebuild app
``````

(Theron Boerner) #3

Ok, I’ll do that. Where can I find the logs though?

(Sam Saffron) #4

logs are in `sitename.com/logs` but there are more as well.

(Theron Boerner) #5

I meant on the server, where I can tail them.

(Sam Saffron) #6

have a look in `/var/discourse/shared/logs` and `/var/discourse/shared/var-logs/`

#7

I had the same issue, and a rebuild fixed it.

(Theron Boerner) #8

Yep. Rebuild worked. Thanks for the help. @sam you can close this topic.

(Sam Saffron) #9