This problem is little bit related to
Now when everytime discourse get updated because of Rebuild app or autoupdate. Error 502 start occuring, as my Database is very very big (1 million topics).
Steps i have to do to fix is
- Backup the Database. And reimport it.
- Backing up and reimporting is very painful as i have to do it Every week almost. It takes more than 4 hours.
How can i prevent the discourse the 502 error ? or autoupdate or update on running the rebuild app command.