Pups::ExecError: su postgres -c ‘psql discourse -c “alter schema public owner to discourse;”’ がリターン #\u003cProcess::Status: pid 54 exit 2\u003e で失敗しました
ディレクトリ「/shared/postgres_data」のパーミッションが無効です
my app.yml ファイル
## Plugins go here ## see https://meta.discourse.org/t/19157 for deta$hooks: after_code: - exec: cd: $home/plugins cmd: - git clone https://github.com/discourse$ - git clone https://github.com/Ebsy/disc$ - git clone https://github.com/discourse$ - git clone https://github.com/discourse$ - git clone https://github.com/discourse$ - git clone https://github.com/discourse$ - git clone https://github.com/discourse$ - git clone https://github.com/discourse$ - git clone https://github.com/davidtayl$ - git clone https://github.com/discourse$## - git clone https://github.com/pavilio$## Official Plugins ## - git clone https://github.com/discour$ - git clone https://github.com/discourse$ - git clone https://github.com/discourse$ - git clone https://github.com/discourse$ - git clone https://github.com/discourse$ - git clone https://github.com/discourse$ - git clone https://github.com/discourse$ - git clone https://github.com/discourse$ - git clone https://github.com/discourse$## New Pluguns installed - git clone https://github.com/Ahmedgaga$## - git clone https://github.com/gdpelic$ - git clone https://github.com/paviliond$## Any custom commands to run after building
run: - exec: echo \"Beginning of custom commands\" ## If you want to set the 'From' email address f$ ## After getting the first signup email, re-comm$ #- exec: rails r \"SiteSetting.notification_email$ - exec: echo \"End of custom commands\"
フォーマットエラーがないか確認するために、これをコピーして貼り付けてください。
リストとして表示する方法がわかりません…
2023-02-11 19:55:35.034 GMT [42] LOG: “/shared/postgres_data/postgresql.auto.conf” の設定ファイルが見つかりません\n2023-02-11 19:55:35.035 UTC [42] FATAL: “/shared/postgres_data” ディレクトリのパーミッションを読み取れませんでした: Permission denied
サーバーのバックアップや Discourse のバックアップを定期的に実行している場合は、その方法でも復旧できます。ただし、バックアップ後に作成された投稿は失われると思います。
ラトナムさん、こんにちは。
現在、何を達成しようとしているのか、どのようなソフトウェアを使用しているのかを説明していただけると、より分かりやすくなるかと思います。現状では、エラーメッセージがほとんどで、文脈が不足しているため、完全に理解することが困難です。
まず、以下の質問に回答していただけますでしょうか。それから、ここから進めていきましょう ![]()
-
こちら discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub に記載されている手順に従って、通常のDockerインストールで本番環境のDiscourseをインストールしようとしていますか?
-
オペレーティングシステムは何ですか?
-
サーバーのスペックを教えてください。
これが問題のようですが、プラグインを変更したことで postgres の権限に問題が発生したとは想像できません。他に何か変更しましたか?これは標準的なインストールですよね?
サイトが機能していないため、セーフモードは役に立ちません。
postgres のデータ権限を変更して問題を解決しました @Canapin @Heliosurge サポートありがとうございました
以下のSlackを使用しました
GitHub - discourse/discourse_docker: A Docker image for Discourse /var/discoursed
オペレーティングシステム - ubuntu 20.04 LTS
サーバー - 8GB RAM 30GB
よろしくお願いいたします。
おめでとうございます。解決したとのこと、よかったです。プラグインのインストールを試すのであれば、サーバーのバックアップを取ることをお勧めします。
もっとも、プラグインのインストールを正しく行えば問題ないはずです。今インストールしようとしていたプラグインは、アップデートが必要かもしれません。私の記憶が正しければ、最後にアクティビティがあったのは2022年2月だったはずです。もしそうなら、1年近く古い可能性があり、それ以降の変更でプラグインが壊れているかもしれません。
確認済み
Plugin カテゴリを見て、興味を引くプラグインがないか探すことをお勧めします。
Discourse Reactions
- 単純な「いいね」を超えて拡張できるため、非常にクールです。
National Flags
- メンバーが投稿に国旗を表示するオプションを提供します。
Discourse Docs
- ナレッジベースの検索設定に最適です。Solvedの良い仲間となります。
Discourse Solved
- ユーザーが質問できるカテゴリを設定します。Opは最も効果的だった解決策を選択できます。カテゴリを常に最初の投稿を表示するように設定すると良いでしょう。解決策はOpの投稿で引用され、解決済みとしてマークされます。Solvedの引用をよりきれいに表示するためのテーマコンポーネントがあります。
Discourse Who’s Online
- 異なるページで誰がオンラインかを表示します。ユーザーがオンラインであれば、投稿を読んでいるときにプロフィール写真の周りに光る円が表示されます。
Discourse Templates
- テンプレート返信、つまり「定型返信」を作成します。言及するには多すぎます。トピックを参照してください。
重要なのは、非推奨またはサポート終了のプラグインを避けることです。アクティブなメンテナーがいるプラグインを探してください。注目すべき良いものとしては、Discourse公式プラグインやPavilionグループがありますが、これら2つのグループ以外にも積極的にメンテナンスされているものはたくさんあります。
