在阿里云上Create Discourse forum 论坛 2 -- 不能访问Git导致失败

Blow error when install the Discourse: 

root@iZ2ze472xetukni84zf7l3Z:/var/discourse# ./discourse-doctor
DISCOURSE DOCTOR Sat 22 Jan 2022 08:37:26 AM CST
OS: Linux iZ2ze472xetukni84zf7l3Z 5.4.0-92-generic #103-Ubuntu SMP Fri Nov 26 16:13:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux


Found containers/app.yml

==================== YML SETTINGS ====================
DISCOURSE_HOSTNAME=bbs.bigdatasmallteam.com
SMTP_ADDRESS=smtp.mailgun.org
DEVELOPER_EMAILS=zhao.liang.meng@hotmail.com
SMTP_PASSWORD=f8a7492a482a728d6b3aee46eee73fe1-ef80054a-52b70214
SMTP_PORT=587
SMTP_USER_NAME=postmaster@ms.ruhetouzi.com
LETSENCRYPT_ACCOUNT_EMAIL=zhao.liang.meng@hotmail.com

==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 20.10.12, build e91ed57

DOCKER PROCESSES (docker ps -a)

CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES

==================== SERIOUS PROBLEM!!!! ====================
app not running!
Attempting to rebuild
==================== REBUILD LOG ====================
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/discourse/pups.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
1b162a4758f6cf89e7a3934f2fcf15c278b264774a8e82a8e03ccdcd1b480091
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
==================== END REBUILD LOG ====================
Failed to rebuild app.

Try to use Agent:

Adding the Server port 8080 in Aliyun Server, '添加安全组规则'

Check Linux all port command:# netstat -tunlp

root@iZ2ze472xetukni84zf7l3Z:~# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      444/systemd-resolve
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      579/sshd: /usr/sbin
udp        0      0 127.0.0.53:53           0.0.0.0:*                           444/systemd-resolve
udp        0      0 172.21.180.6:68         0.0.0.0:*                           423/systemd-network
udp        0      0 127.0.0.1:323           0.0.0.0:*                           525/chronyd
udp6       0      0 ::1:323                 :::*                                525/chronyd
root@iZ2ze472xetukni84zf7l3Z:~#
 

root@iZ2ze472xetukni84zf7l3Z:~# git config --global http.proxy
root@iZ2ze472xetukni84zf7l3Z:~# env|grep -I proxy
root@iZ2ze472xetukni84zf7l3Z:~# git config --global http.https://github.com.proxy http://127.0.0.1:8080
root@iZ2ze472xetukni84zf7l3Z:~# cd /var/discourse/
root@iZ2ze472xetukni84zf7l3Z:/var/discourse# ./discourse-doctor
DISCOURSE DOCTOR Sat 22 Jan 2022 09:24:50 AM CST
OS: Linux iZ2ze472xetukni84zf7l3Z 5.4.0-92-generic #103-Ubuntu SMP Fri Nov 26 16:13:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux


Found containers/app.yml

==================== YML SETTINGS ====================
DISCOURSE_HOSTNAME=bbs.bigdatasmallteam.com
SMTP_ADDRESS=smtp.mailgun.org
DEVELOPER_EMAILS=zhao.liang.meng@hotmail.com
SMTP_PASSWORD=f8a7492a482a728d6b3aee46eee73fe1-ef80054a-52b70214
SMTP_PORT=587
SMTP_USER_NAME=postmaster@ms.ruhetouzi.com
LETSENCRYPT_ACCOUNT_EMAIL=zhao.liang.meng@hotmail.com

==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 20.10.12, build e91ed57

DOCKER PROCESSES (docker ps -a)

CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES

==================== SERIOUS PROBLEM!!!! ====================
app not running!
Attempting to rebuild
==================== REBUILD LOG ====================
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
fatal: unable to access 'https://github.com/discourse/discourse_docker.git/': Failed to connect to 127.0.0.1 port 8080: Connection refused
error: Could not fetch origin
Launcher is up-to-date
cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
Already up to date.
Note: checking out 'v1.0.3'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at d1db030 cut a new version
I, [2022-01-22T01:24:59.570120 #1]  INFO -- : Loading --stdin
I, [2022-01-22T01:24:59.576715 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2022-01-22T01:24:59.616485 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

I, [2022-01-22T01:24:59.616732 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2022-01-22T01:24:59.621550 #1]  INFO -- :
I, [2022-01-22T01:24:59.622037 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值