2022년 2월 15일 버전으로 Discourse 인스턴스 업그레이드 실패

You need to add some swap. Looks like you have plenty of disk, so you could add 2G or even 3G for safety.

The discourse standard setup should, I think, have already set up the swap for you. Perhaps see Create a swapfile for your Linux server