A user, AdamsEwot, is experiencing an issue during the Discourse installation where the setup script does not prompt for domain or configuration details, instead proceeding with default settings. Despite attempts to resolve the issue by deleting app.yml and restarting the setup, the problem persists. Other users, including pfaffman and Falco, suggest checking for configuration files, ensuring proper domain resolution, and verifying the installation environment. pfaffman notes they cannot replicate the issue and asks about the OS being used, while AdamsEwot confirms the issue occurs even after a clean install.
I’ve looked for this issue but not been able to find it. On install it doesn’t ask any questions at all, it just tries to install to all the default information.
When I type in the sudo ./discourse-setup
I get this:
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
It never asks me to enter my domain name or any other information.
I just ran it on my desktop. I can’t replicate. Here’s what I see:
root@shinytim:/var/discourse# ./discourse-setup
Ports 80 and 443 are free for use
'samples/standalone.yml' -> 'containers/app.yml'
Found 33GB of memory and 8 physical CPU cores
setting db_shared_buffers = 4096MB
setting UNICORN_WORKERS = 8
containers/app.yml memory parameters updated.
Hostname for your Discourse? [discourse.example.com]: