Ciao a tutti,
Sto eseguendo la configurazione Docker ufficiale. Finora tutto bene.
Ho sempre potuto aggiornare tutto dall’interfaccia web.
Sono alla versione 2.9.0.beta1 e la 2.9.0.beta2 è disponibile.
Improvvisamente vedo questo:
Stai eseguendo una versione obsoleta dell'immagine Discourse.
Gli aggiornamenti tramite l'interfaccia web sono disabilitati finché non esegui l'ultima immagine.
Per farlo, accedi al tuo server tramite SSH ed esegui:
cd /var/discourse
git pull
./launcher rebuild app
Maggiori informazioni sul nostro sito di supporto
Nessun problema, penso, ma quando eseguo il comando ./launcher rebound app non succede più nulla:
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-\u003e80/tcp, :::80-\u003e80/tcp, 0.0.0.0:443-\u003e443/tcp, :::443-\u003e443/tcp app
Quanto spazio mi serve per aggiornare?
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
Ho più di 5 GB disponibili ma non funziona.