My site stopped due HTTP ERROR 500

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

1 Like

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.

6 Likes

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% /
2 Likes

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

2 Likes

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

https://aws.amazon.com/ar/premiumsupport/knowledge-center/expand-ebs-root-volume-windows/