502 Bad Gateway error after restarting server

We needed to reset our server and it seems that Mattermost has failed to restart itself, with all pages returning a 502 bad gateway error, and throws an out of memory error kill process 2028 when i try to restart it in console.

it was running fine before the restart, what can have caused this?

Hi AndyatFocallocal,

what does your log say? Would you copy/paste the related lines here?

Best regards

ah, it was my fault. i’ll post here my rookie error incase anyone else has the same. i was trying to restart ‘mattermost’ and not ‘mattermost-dev’