# 502 error on nginx

**URL:** https://meta.discourse.org/t/502-error-on-nginx/160592
**Category:** Self-hosting
**Created:** [August 12, 2020, 6:05am UTC](https://meta.discourse.org/t/502-error-on-nginx/160592 "2020-08-12T06:05:04Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![elopio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elopio/32/218413_2.png) [@elopio](https://meta.discourse.org/u/elopio)
#### Post date: [August 13, 2020, 2:54am UTC](https://meta.discourse.org/t/502-error-on-nginx/160592/12 "2020-08-13T02:54:17Z")

</div>

Wooo, looking at the rails logs I found that the unicorn log was huge, complaining about some permission errors. I deleted `rm -rf tmp/cache/bootsnap-compile-cache/`, and now I see the congratulations screen!!!

Thank you friends. I’ll play with this a little more before deciding to recreate it in an SSD server.

---

_[View the full topic](https://meta.discourse.org/t/502-error-on-nginx/160592)._
