In trouble to set up discourse


(ひさし) #1

I am in trouble to set up discourse now.
Anyone have a good idea?

I’m following this INSTALL-cloud.md

./discourse-setup

./discourse-setup: line 93: free: command not found
./discourse-setup: line 116: [: : integer expression expected
./discourse-setup: line 125: [: : integer expression expected
The configuration file containers/app.yml already exists!

. . . reconfiguring . . .

Saving old file as app.yml.2018-06-24-170535.bak
Stopping existing container in 5 seconds or Control-C to cancel.
stat: /var/lib/docker: stat: No such file or directory
./launcher: line 204: /1024**3 < 5: syntax error: operand expected (error token is "/1024**3 < 5")
app was not started !

./discourse-setup: line 93: free: command not found
Found GB of memory and 4 physical CPU cores
./discourse-setup: line 197: [: : integer expression expected
./discourse-setup: line 201: [: : integer expression expected
./discourse-setup: line 205: 256 * : syntax error: operand expected (error token is " ")

Hostname      : xxx.websitename.com
Email         : admin@websitename.com,admin2@websitename.com
SMTP address  : smtp.mailgun.org
SMTP port     : 587
SMTP username : postmaster@xxx.websitename.com
SMTP password : ---------------------

ENTER to continue, 'n' to try again, Ctrl+C to exit: 
DISCOURSE_SMTP_PORT change failed.
DISCOURSE_SMTP_USER_NAME change failed.
DISCOURSE_SMTP_PASSWORD change failed.
web.ssl.template.yml NOT DISABLED--Are you using a non-standard template?
web.ssl.template.yml NOT DISABLED--Are you using a non-standard template?

Unfortunately, there was an error changing 

-d This may happen if you have made unexpected changes.

(Jeff Atwood) #2

On what server? Digital Ocean? What OS and version? It looks like your Linux / UNIX is not compatible with our setup script.


(ひさし) #3

hi @codinghorror
I’m using Digital Ocean, and selected Ubuntu 16.04.4 x64 at Digital Ocean.
My computer is macOS.


(Jeff Atwood) #4

Are you installing on the Digital Ocean server? Did you use a basic Ubuntu 16 x64 LTS image, no “extras” or anything else?