Rebuild ne tire pas de docker

Bonjour,

Mon site est hors ligne depuis quelques mois, j’ai donc décidé de le reconstruire et de faire un peu de ménage.
Lorsque j’ai essayé de le faire, il semble qu’il ne se charge pas correctement.


Lorsque j’essaie d’exécuter l’application Hello World, Docker indique qu’il n’y a aucun problème.

root@PreloadService-Forum:/var/discourse# docker run -it --rm hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
2db29710123e: Pull complete
Digest: sha256:6e8b6f026e0b9c419ea0fd02d3905dd0952ad1feea67543f525c73a0a790fefb
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

root@PreloadService-Forum:/var/discourse#

La VM n’a pas été touchée depuis quelques mois et je ne comprends pas pourquoi cela ne fonctionne pas. Il y a un autre forum qui tourne sur le même serveur (pas une VM), et il fonctionne bien et a pu être construit correctement.

1 « J'aime »

J’ai essayé de reconstruire via l’interface utilisateur héritée, et j’ai obtenu une erreur.


Journal :

Arrêt de 7 workers Unicorn, pour libérer de la mémoire
Arrêt de la file d'attente des tâches pour récupérer de la mémoire, le PID maître est 3982
$ cd /var/www/discourse & git fetch --tags --force & git reset --hard HEAD@{upstream}
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
error: 7257 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:209:in `run'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:87:in `block in upgrade'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:70:in `each'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:70:in `each_with_index'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:70:in `upgrade'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:19:in `block in <main>'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `fork'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/commands/runner/runner_command.rb:43:in `load'
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/commands/runner/runner_command.rb:43:in `perform'
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/command/base.rb:87:in `perform'
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/command.rb:48:in `invoke'
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/commands.rb:18:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
bin/rails:18:in `<main>'
Démarrage de 7 workers Unicorn qui ont été arrêtés initialement

1 « J'aime »

J’ai eu exactement le même bug il y a un mois, et je l’ai résolu en mettant à jour mes pilotes wifi sur l’ordinateur portable où cela se produisait.

Quoi qu’il en soit, ce bug signifie que votre connexion Internet/réseau ne fonctionne pas correctement, et cela peut arriver pour de nombreuses raisons.

1 « J'aime »

Le site fonctionne, je peux tirer de docker correctement, et d’autres sites sur la même machine peuvent fonctionner (le serveur fonctionne sous proxmox), donc je ne suis pas sûr de ce que pourrait être le problème.

Mon ordinateur portable allait apparemment bien aussi, je jouais à des jeux en ligne, je discutais sur Discord, etc.

J’ai pu résoudre ce problème moi-même.

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