안녕하세요,
공식 Docker 설정을 사용 중입니다. 지금까지는 잘 작동하고 있었습니다.
웹 인터페이스에서 항상 모든 것을 업데이트할 수 있었습니다.
현재 2.9.0.beta1 버전을 사용 중이며 2.9.0.beta2 버전이 사용 가능합니다.
갑자기 다음과 같은 메시지가 표시됩니다:
You are running an old version of the Discourse image.
Upgrades via the web UI are disabled until you run the latest image.
To do so log in to your server using SSH and run:
cd /var/discourse
git pull
./launcher rebuild app
More info on our support site
문제가 없겠지 생각했지만, ./launcher rebound app 명령을 실행한 후 아무런 반응이 없습니다:
root@test:~# cd /var/discourse/
root@test:/var/discourse# git pull
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 4 (delta 3), reused 3 (delta 3), pack-reused 0
Unpacking objects: 100% (4/4), 560 bytes | 140.00 KiB/s, done.
From https://github.com/discourse/discourse_docker
dc5b37c..65fa205 main -> origin/main
Updating dc5b37c..65fa205
Fast-forward
templates/web.template.yml | 6 ++++++
1 file changed, 6 insertions(+)
root@test:/var/discourse# ./launcher rebuild app
x86_64 arch detected.
You have less than 5GB of free space on the disk where /var/lib/docker is located. You will need more space to continue
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 19G 14G 4.7G 74% /
Would you like to attempt to recover space by cleaning docker images and containers in the system? (y/N)y
If the cleanup was successful, you may try again now
root@test:/var/discourse#
root@test:/var/discourse# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c4830c85abab local_discourse/app "/sbin/boot" 2 months ago Up 31 hours 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp app
업데이트를 위해 얼마나 많은 공간이 필요한가요?
root@test:/var/discourse# df -h
Filesystem Size Used Avail Use% Mounted on
udev 949M 0 949M 0% /dev
tmpfs 194M 796K 193M 1% /run
/dev/sda1 19G 11G 7.6G 58% /
tmpfs 968M 0 968M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 968M 0 968M 0% /sys/fs/cgroup
/dev/sda15 253M 1.1M 252M 1% /boot/efi
overlay 19G 11G 7.6G 58% /var/lib/docker/overlay2/1ab2396bdd0b9c2fbc6110cdcc792dba2c2bc8a52650935ff7af0084bda62f07/merged
tmpfs 194M 0 194M 0% /run/user/0
5GB 이상의 사용 가능한 공간이 있지만 작동하지 않습니다.