私のフォーラムが機能しなくなりました…Rebuild Appを実行できませんでした

こんにちは。フォーラムは数日前まで正常に動作していましたが、/admin/upgrade/ からアップグレードしようとしました。
その後、コンソールに移動してアップデートを行うように求められました。
指示に正確に従い、/var/disource に移動し、git pull を実行し、./launcher rebuild app を実行しました。

しかし、コンソールで以下のようなエラーが発生しました。

root@discourse:/var/discourse# ./launcher rebuild app
x86_64 arch detected.

WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed

Please be patient

2.0.20220128-1817: Pulling from discourse/base
5eb5b503b376: Pull complete 
13f791631149: Extracting [==================================================>]  585.9MB/585.9MB
9cf83aefd7da: Download complete 
failed to register layer: Error processing tar file(exit status 1): write /usr/lib/locale/hu_HU.utf8/LC_COLLATE: no space left on device
2.0.20220128-1817: Pulling from discourse/base
5eb5b503b376: Pull complete 
13f791631149: Extracting [==================================================>]  585.9MB/585.9MB
9cf83aefd7da: Download complete 
failed to register layer: Error processing tar file(exit status 1): write /usr/lib/locale/hu_HU.utf8/LC_COLLATE: no space left on device
Unable to find image 'discourse/base:2.0.20220128-1817' locally
2.0.20220128-1817: Pulling from discourse/base
5eb5b503b376: Pulling fs layer
13f791631149: Pulling fs layer
9cf83aefd7da: Pulling fs layer
5eb5b503b376: Verifying Checksum
5eb5b503b376: Download complete
9cf83aefd7da: Verifying Checksum
9cf83aefd7da: Download complete
13f791631149: Verifying Checksum
13f791631149: Download complete
5eb5b503b376: Pull complete
docker: failed to register layer: Error processing tar file(exit status 1): write /usr/lib/locale/hu_HU.utf8/LC_COLLATE: no space left on device.
See 'docker run --help'.
Your Docker installation is not working correctly
==================== MEMORY INFORMATION ====================
RAM (MB): 1028

              total        used        free      shared  buff/cache   available
Mem:            981         513         150          63         317         259
Swap:          2047         746        1301

==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        25G   23G  1.5G  94% /

コンテナを起動しようとしましたが、エラーが発生しました。

root@grumpy:/var/discourse# ./launcher start app
x86_64 arch detected.

WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed

Please be patient

2.0.20220128-1817: Pulling from discourse/base
5eb5b503b376: Pull complete 
13f791631149: Extracting [==================================================>]  585.9MB/585.9MB
9cf83aefd7da: Download complete 
failed to register layer: Error processing tar file(exit status 1): write /usr/lib/locale/ig_NG/LC_COLLATE: no space left on device
2.0.20220128-1817: Pulling from discourse/base
5eb5b503b376: Pull complete 
13f791631149: Extracting [==================================================>]  585.9MB/585.9MB
9cf83aefd7da: Download complete 
failed to register layer: Error processing tar file(exit status 1): write /usr/lib/locale/ig_NG/LC_COLLATE: no space left on device
Unable to find image 'discourse/base:2.0.20220128-1817' locally
2.0.20220128-1817: Pulling from discourse/base
5eb5b503b376: Pulling fs layer
13f791631149: Pulling fs layer
9cf83aefd7da: Pulling fs layer
5eb5b503b376: Verifying Checksum
5eb5b503b376: Download complete
9cf83aefd7da: Verifying Checksum
9cf83aefd7da: Download complete
13f791631149: Verifying Checksum
13f791631149: Download complete
5eb5b503b376: Pull complete
docker: failed to register layer: Error processing tar file(exit status 1): write /usr/lib/locale/ig_NG/LC_ADDRESS: no space left on device.
See 'docker run --help'.
Your Docker installation is not working correctly

エラーメッセージは、/usr/lib/locale/ig_NG/LC_COLLATE および /usr/lib/locale/ig_NG/LC_ADDRESS ファイルの書き込み用にデバイスに空き容量がないと報告しています。

ファイル名が誤解を招くもので、実際には容量不足でイメージのダウンロードに失敗した可能性があります。サーバーの設定によっては、どこかの空き容量を確保できるか、ストレージ容量の拡張を検討する必要があるかもしれません。

Discourseフォーラムへのアップロードのみが原因で容量がなくなった場合は、アップロードをS3に移行する(Amazon S3または代替ストレージ)ことを検討する価値があるかもしれません。ただし、その方法をとる場合でも、一時的にストレージをアップグレードする必要があるでしょう。

「いいね!」 2

提案された通り、まずこの問題に取り組みます。

 ./launcher cleanup

そしてバックアップを削除することは、良い出発点です。

「いいね!」 3

問題が解決しました。さらにスペースを確保し、Discourse を再構築できるようになりました。

「いいね!」 3