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 e91ed57DOCKER 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 e91ed57DOCKER 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
I, [2022-01-22T01:24:59.625446 #1] INFO -- :
I, [2022-01-22T01:24:59.625704 #1] INFO -- : > c