My site stopped due HTTP ERROR 500

AI-generated summary

A user, MohammedBakheet, reports an HTTP ERROR 500 on their Discourse site hosted on AWS, suspecting it’s due to using an outdated version (2.1.0.beta4). They seek guidance on upgrading. itsbhanusharma advises using SSH commands to pull and rebuild the app, but MohammedBakheet encounters permission and disk space issues. The error ‘No space left on device’ is confirmed, and merefield suggests expanding the EBS volume via AWS EC2, recommending the official AWS guide. MohammedBakheet requests clarification on the AWS steps, indicating a need for more detailed assistance.

my website is not running
I have error (HTTP ERROR 500) i think because my version: 2.1.0.beta4
please tell my how i can upgrade my website to last version

note: I used AWS
and please I want a clear explanation because I am a beginner

Did You install it Yourself or did someone install it to You?

In case You installed Yourself, the easiest way to upgrade is to SSH into Your server that is hosting discourse and run the following set of commands:

cd /var/discourse
git pull
./launcher rebuild app

Otherwise, contact the person who did the installation part as they may be able to help You.

I installed with someone togather before 1 year ago but now I didn’t found him

when I follow your step
i get this errorr

error: cannot open .git/FETCH_HEAD: Permission denied

Are you performing this as root?

oh I forget this step
I do it now but this problem appeared to me

remote: Enumerating objects: 285, done.
remote: Counting objects: 100% (285/285), done.
remote: Compressing objects: 100% (11/11), done.
fatal: write error: No space left on device
fatal: index-pack failed

I exceeded the permissible limit. Do you know possible way to expand?

df -h
Filesystem      Size  Used     Avail   Use% Mounted on
/......         20G   20G      0       100% /

You should be able to do that. You would need to stop the instance first, amend the storage and then reboot.

That’s a little off topic for Discourse Meta though and you should refer to Amazon’s EC2 documentation.

If you need more help I’d recommend posting for a freelancer experienced with EC2 in Marketplace

I followed this lesson and applied until I got to step number (7)
I didn’t understand it.
can you explain the last 3 steps please