GitHubに接続できないインストール

使用している環境はaliyun ECS (1Core 2 GiB Ubuntu 20.04 64bit)で、source.listもaliyunのデフォルトのものです。過去2日間、discourseの初心者向けインストールチュートリアルに従ってN回インストールしましたが、エラーが発生しました。

サーバーがgithubに接続できないようです。

「いいね!」 2

Vultrサーバーを置き換えましたが、まだ問題があります。

この問題の解決方法を教えてください。どうもありがとうございます!

2022-02-10 00:27:20.146 UTC [46] LOG:  shutting down
103:M 10 Feb 2022 00:27:20.149 # User requested shutdown...
103:M 10 Feb 2022 00:27:20.149 * Saving the final RDB snapshot before exiting.
103:M 10 Feb 2022 00:27:20.153 * DB saved on disk
103:M 10 Feb 2022 00:27:20.154 # Redis is now ready to exit, bye bye...
2022-02-10 00:27:20.172 UTC [42] LOG:  database system is shut down


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse & git fetch --depth 1 origin tests-passed failed with return #<Process::Status: pid 140 exit 128>
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'

このサーバーで

git clone --depth 1 https://github.com/discourse/discourse.git /tmp/discourse

を実行すると動作しますか?

「いいね!」 1
root@discourse-test:/var/discourse# git clone --depth 1 https://github.com/discourse/discourse.git /tmp/discourse2
Cloning into '/tmp/discourse2'...
remote: Enumerating objects: 28129, done.
remote: Counting objects: 100% (28129/28129), done.
remote: Compressing objects: 100% (27176/27176), done.
remote: Total 28129 (delta 1121), reused 22444 (delta 711), pack-reused 0
Receiving objects: 100% (28129/28129), 51.38 MiB | 13.16 MiB/s, done.
Resolving deltas: 100% (1121/1121), done.
Updating files: 100% (30974/30974), done.
root@discourse-test:/var/discourse# cd /tmp/
root@discourse-test:/tmp# ls
changelog.3296
discourse2
snap.lxd
systemd-private-6f378bfba50846da9f3f3f5f005acd1f-fwupd.service-iwMMuj
systemd-private-6f378bfba50846da9f3f3f5f005acd1f-systemd-logind.service-hc3qui
systemd-private-6f378bfba50846da9f3f3f5f005acd1f-systemd-resolved.service-b9CiHh
systemd-private-6f378bfba50846da9f3f3f5f005acd1f-systemd-timesyncd.service-FWfr2g
systemd-private-6f378bfba50846da9f3f3f5f005acd1f-upower.service-1KnWUg
root@discourse-test:/tmp# 

hey @vsiryxm

ログイン情報をメッセージで送っていただけますか。確認します。

ログインして、以下のコマンドを実行しました。

  1. apt-get update
  2. apt-get upgrade
  3. apt-get dist-upgrade (このコマンドは頻繁に使用する必要はありません)

その後、再構築を行い、すべて成功しました。

ドメインで表示されているのは以下の通りです。

「いいね!」 3

中国のユーザーですか?ネットワークの問題でインストールに失敗しました。解決策は、香港サーバー(トラフィック課金制で、使用後に破棄しても課金は継続されません)を使用することです。インストールが成功したら、ミラーを作成し、国内サーバーでこのミラーを使用してインストールできます。私の現在のウェブサイトは1年間アップグレードできず、これがアップグレードに使用した方法です。私のサーバーはTencentサーバーです。

「いいね!」 1

どうもありがとうございます!

「いいね!」 1

はい、ありがとうございます

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.