Olá, meu fórum estava funcionando bem até alguns dias atrás, quando tentei atualizar via /admin/upgrade/
Então ele me pede para ir ao console e fazer a atualização.
Segui exatamente isso, fui para /var/disource —> então fiz git pull —> ./launcher rebuild app
Mas o console apresentou alguns erros como abaixo
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% /
Tentei iniciar o contêiner também… mas ele tem estes erros
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
As mensagens de erro estão relatando que não há mais espaço no dispositivo para gravar os arquivos /usr/lib/locale/ig_NG/LC_COLLATE e /usr/lib/locale/ig_NG/LC_ADDRESS
Suspeito que os nomes dos arquivos sejam enganosos e, na verdade, ele falhou ao baixar a imagem por falta de espaço. Dependendo de como seu servidor está configurado, você pode conseguir liberar espaço em algum lugar ou pode precisar aumentar a capacidade de armazenamento.
Se você ficou sem espaço puramente por causa de uploads em seu fórum Discourse, pode valer a pena considerar a migração de uploads para S3 (seja Amazon S3 ou uma alternativa) de armazenamento. Você provavelmente ainda precisará atualizar o armazenamento temporariamente se quiser seguir esse caminho.