Non hai esattamente il problema descritto nel thread che hai collegato, e infatti sembri avere un problema intermittente, che è sempre il più difficile da diagnosticare. Ma forse potresti provare un recupero manuale. Ho provato questo, che è innocuo:
# cd /var/discourse/
# ./launcher enter app
x86_64 arch detected.
# wget -O - -v https://github.com/discourse/logster.git/ |wc
--2023-01-04 15:30:25-- https://github.com/discourse/logster.git/
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/discourse/logster/ [following]
--2023-01-04 15:30:25-- https://github.com/discourse/logster/
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘STDOUT’
- [ <=> ] 231.22K --.-KB/s in 0.06s
2023-01-04 15:30:26 (3.99 MB/s) - written to stdout [236767]
2751 15860 236767
#
Vediamo che “github.com” è stato tradotto in un indirizzo IP ragionevole, è stato contattato e ha restituito alcuni dati. Infatti il comando eseguito all’interno del container si è comportato in modo molto simile a come si comporta al di fuori del container, e questo è prevedibile.
Stai usando una ricetta di installazione supportata, su un provider di hosting noto?