我的网站因 HTTP ERROR 500 停止运行

我的网站无法运行
我遇到了错误(HTTP ERROR 500),我认为可能是因为我的版本是:2.1.0.beta4
请告诉我如何将我的网站升级到最新版本

注意:我使用了 AWS
并且请提供清晰的解释,因为我是初学者

1 个赞

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 个赞

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 个赞

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 个赞

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/