No information requested on 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.

Try this:

sudo su
rm containers/app.yml
./discourse-setup
1 Like

Same result. Post must be 20 characters.

I can’t quite see how that could happen, especially if you deleted an existing app.yml. Maybe you’re hitting return before it asks for the hostname?

Is there anything else in containers/? Maybe a web_only.yml?

There’s a file called .gitkeep but when you open it, it’s blank.

I can’t make sense of how this could happen, especially if you’re the only person it’s happening to.

You’re following Discourse official Standard Installation, right?

And there are no yml files in /var/discourse/containers and your still get

I’ll try to do a clean install today, but I’ll pretty slammed.

No, but it did the same thing - just ran on trying to do the install without asking me any questions at all.

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]: 

What OS are you using?