Ho cercato questo problema ma non sono riuscito a trovarlo. Durante l’installazione non viene posta alcuna domanda, ma si procede direttamente all’installazione con tutte le informazioni predefinite.
Quando digito sudo ./discourse-setup
ottengo questo:
Saving old file as app.yml.2021-08-02-184826.bak
Stopping existing container in 5 seconds or Control-C to cancel.
+ /usr/bin/docker stop -t 30 app
app
Found 3GB of memory and 2 physical CPU cores
setting db_shared_buffers = 768MB
setting UNICORN_WORKERS = 4
containers/app.yml memory parameters updated.
Checking your domain name . . .
WARNING: Port 443 of computer does not appear to be accessible using hostname: discourse.example.com.
WARNING: Connection to http://discourse.example.com (port 80) also fails.
This suggests that discourse.example.com resolves to some IP address that does not reach this
machine where you are installing discourse.
The first thing to do is confirm that discourse.example.com resolves to the IP address of this server.
You usually do this at the same place you purchased the domain.
If you are sure that the IP address resolves correctly, it could be a firewall issue.
A web search for "open ports YOUR CLOUD SERVICE" might help.
This tool is designed only for the most standard installations. If you cannot resolve
the issue above, you will need to edit containers/app.yml yourself and then type
./launcher rebuild app
Non mi viene mai chiesto di inserire il mio nome di dominio o qualsiasi altra informazione.
Non riesco proprio a capire come possa succedere, specialmente se hai eliminato un app.yml esistente. Forse premi Invio prima che ti chieda il nome dell’host?
C’è qualcos’altro in containers/? Magari un web_only.yml?
L’ho appena eseguito sul mio desktop. Non riesco a replicare il problema. Ecco cosa vedo:
root@shinytim:/var/discourse# ./discourse-setup
Le porte 80 e 443 sono libere
'samples/standalone.yml' -> 'containers/app.yml'
Ho trovato 33GB di memoria e 8 core CPU fisici
impostazione db_shared_buffers = 4096MB
impostazione UNICORN_WORKERS = 8
I parametri di memoria di containers/app.yml sono stati aggiornati.
Qual è il nome host per il tuo Discourse? [discourse.example.com]: