Impossibile ricompilare l'app perché la versione API di Docker daemon è 1.43

Ciao,

Ho provato a fare la soluzione seguendo questo link My discourse forum crashed after upgrade to 3.5.0.beta8

ma non funziona.

Sto usando Ubuntu 24.04.3 LTS, qualcuno può aiutarmi?

l’errore è

'I, [2025-09-13T18:37:08.577996 #1]  INFO -- : \u003e grep -q 'outlets/before-server' /etc/nginx/conf.d/discourse.conf || ( \u003e\u00262 echo 'The \"before-server\" Nginx outlet is missing. This version of discourse_docker is not compatible with the chosen Discourse version.' ; exit 1 )
I, [2025-09-13T18:37:08.581833 #1]  INFO -- : 
I, [2025-09-13T18:37:08.581913 #1]  INFO -- : \u003e grep -q 'outlets/server' /etc/nginx/conf.d/discourse.conf || ( \u003e\u00262 echo 'The \"server\" Nginx outlet is missing. This version of discourse_docker is not compatible with the chosen Discourse version.' ; exit 1 )
I, [2025-09-13T18:37:08.585915 #1]  INFO -- : 
I, [2025-09-13T18:37:08.585994 #1]  INFO -- : \u003e grep -q 'outlets/discourse' /etc/nginx/conf.d/discourse.conf || ( \u003e\u00262 echo 'The \"discourse\" Nginx outlet is missing. This version of discourse_docker is not compatible with the chosen Discourse version.' ; exit 1 )'
 
docker: \"specify mac-address per network\" richiede la versione API 1.44, ma la versione API del demone Docker è 1.43.

puoi provare ad aggiornare Docker usando questo comando:

wget -qO- https://get.docker.com/ | sh

1 Mi Piace

Grazie mille
dopo aver eseguito
systemctl enable --now docker

il mio sito funziona,
ma il log mi mostra ancora

I, [2025-09-13T19:00:59.928538 #1]  INFO -- : > grep -q 'outlets/before-server' /etc/nginx/conf.d/discourse.conf || ( >&2 echo 'The "before-server" Nginx outlet is missing. This version of discourse_docker is not compatible with the chosen Discourse version.' ; exit 1 )
I, [2025-09-13T19:00:59.932337 #1]  INFO -- : 
I, [2025-09-13T19:00:59.932412 #1]  INFO -- : > grep -q 'outlets/server' /etc/nginx/conf.d/discourse.conf || ( >&2 echo 'The "server" Nginx outlet is missing. This version of discourse_docker is not compatible with the chosen Discourse version.' ; exit 1 )
I, [2025-09-13T19:00:59.936410 #1]  INFO -- : 
I, [2025-09-13T19:00:59.936477 #1]  INFO -- : > grep -q 'outlets/discourse' /etc/nginx/conf.d/discourse.conf || ( >&2 echo 'The "discourse" Nginx outlet is missing. This version of discourse_docker is not compatible with the chosen Discourse version.' ; exit 1 )

ci sono effetti collaterali?

Ecco la mia soluzione
Il problema è che Docker 28.x non è disponibile nell’elenco ufficiale dei pacchetti di Ubuntu 24.04.3 LTS.

cd /var/discourse
git pull origin main --autostash
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \
  sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \
  https://download.docker.com/linux/ubuntu noble stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

apt upgrade docker-ce
systemctl enable --now docker
./launcher rebuild app
2 Mi Piace

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.