Following install guide on DO droplet finishes but doesn't work

(Jeremy M (Jerdog)) #1

So following the instructions from the guide (discourse/ at master 路 discourse/discourse 路 GitHub) seems to work just fine - no errors I can see and it all comes to the end with:

  • /usr/bin/docker run -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=2 -e UNICORN_SIDEKIQS=1 -e RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 -e RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 -e RUBY_GC_HEAP_INIT_SLOTS=400000 -e RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e LETSENCRYPT_DIR=/shared/letsencrypt -e DISCOURSE_HOSTNAME=discourse.[testdomain] -e DISCOURSE_DEVELOPER_EMAILS=discourse@[testdomain] -e -e DISCOURSE_SMTP_PORT=587 -e DISCOURSE_SMTP_USER_NAME=apikey -e DISCOURSE_SMTP_PASSWORD=[api] -e LETSENCRYPT_ACCOUNT_EMAIL=me@[testdomain] -h ubuntu-discourse-app -e DOCKER_HOST_IP= --name app -t -p 80:80 -p 443:443 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log --mac-address 02:21:5e:00:74:46 local_discourse/app /sbin/boot

when I go to the IP address to access it I get the NGINX screen and then after a few moments I hit refresh and I get the 鈥淓RR_CONNECTION_REFUSED鈥 screen in Chrome.

(Rafael dos Santos Silva) #2

You should go to the domain, since you setup with SSL and for that to work you need a valid domain.

(Jeremy M (Jerdog)) #3

Hmm - interesting. I am waiting for my dns changes to update - we鈥檒l see if that is the deal

(Rafael dos Santos Silva) #4

If you tried to get a LE certificate before the DNS was ready that could have failed.

If this happens, wait a bit and try rebuilding again.

(Jeremy M (Jerdog)) #5

Ahh that makes sense - ok let me give it a go

(Jeremy M (Jerdog)) #6

Thanks @Falco - it works - I was just a bit too impatient.

(Sam Saffron) #7