/ Website Development

Fixing a 502 Bad Gateway after a Ghost update

When i tried to update my ghost blog to latest, suddenly i had a 502 Bad Gateway Error. Tried to check ghost service, but it is running and no error.
Tried to read some nginx logs, it said it can not reach my site.

To solve this i just run:

ghost update --force

And then my site is running well again (lost a day to figure out what happened :( ).