これは標準的なインストールです。約2年間使用しています。
プラグインやカスタムテーマは使用していません。
再構築中に発生したエラーはすべて貼り付けました。
最初の実際のエラーは次のとおりです。
I, [2022-04-29T00:19:51.497560 #1] INFO -- : > cd /var/www/discourse & [ ! -d 'node_modules' ] || su discourse -c 'yarn install --production & yarn cache clean'
warning Skipping preferred cache folder "/home/discourse/.cache/yarn" because it is not writable.
warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-1000".
warning Cannot find a suitable global folder. Tried these: "/usr/local, /home/discourse/.yarn"
warning Skipping preferred cache folder "/home/discourse/.cache/yarn" because it is not writable.
warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-1000".
Discourse-doctor は変更を提案せず、正常に動作しているように見えます。
500エラーがいつ発生し始めたのか正確にはわかりませんが、その頃から下書きやグラフィック付きの投稿を保存できなくなりました。フォーラムは次のURLから確認できます: https://discussion.scottibyte.com。上記の投稿には、再構築中およびdiscourse-doctor中に表示されたエラーがすべて記載されています。
次のコマンドを実行すると:
./discourse-setup rebuild
インスタンスが起動に失敗すること(上記参照)を伝えることができます。もし、次のコマンドを実行すると:
./discourse-doctor
すぐに完了すると、インスタンスは何らかの方法で少なくとも起動していますが、同じエラーが発生します。
この製品は気に入っていますが、数ヶ月ごとにランダムなエラーが発生し、修正が困難なようです。私のインストールは完全に標準的で、変更は加えていませんが、ランダムに壊れます。