Error when trying to start discourse could not find expected while scanning a simple key

April 22, 2018 234 views
One-Click Install Apps Ubuntu 16.04
jco42
By:
jco42

Below is the error I am getting. I've manually installed lighttpd, which removed that error and manually installed rails but I still get this. I haven't found much out there so i hope i'm not overlooking something simple. Thanks:

Please press enter when you are read to configure discourse.

Enter the email address to use for the Discourse admin account (ex. user@example.org) noreply@mg.thetines.org
Enter the domain or subdomain pointed to this Discourse instance (ex. forum.example.org): www.thetines.org
Enter the SMTP server to use to send email (ex: smtp.example.org): smtp.mailgun.org
SMTP Port (default 587):
SMTP Username (ex. user@example.org): postmaster@mg.thetines.org
SMTP Password:
Thanks! Your Discourse instance is now being configured....this can take a few minutes...

Synchronizing state of docker.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable docker

(<unknown>): could not find expected ':' while scanning a simple key at line 63 column 1 -e LANG=en_US.UTF-8
YAML syntax error. Please check your containers/*.yml config files.
Error response from daemon: No such container: rails

Discourse has now been configured. You may now finish setting up Discourse
by creating an account at:

2 Answers

What process did you use to install Discourse?

I used the 1 click droplet setup on the $10 plan. After the droplet was created I logged in to root via SSH, entered email, domain and sftp info. Then I received the following:

Thanks!  Your Discourse instance is now being configured....this can take a few minutes...

Synchronizing state of docker.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable docker
insserv: warning: current start runlevel(s) (empty) of script `docker' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `docker' overrides LSB defaults (0 1 6).

(<unknown>): did not find expected node content while parsing a block node at line 62 column 28 -e LANG=en_US.UTF-8
YAML syntax error. Please check your containers/*.yml config files.
Error response from daemon: No such container: rails

Discourse has now been configured. You may now finish setting up Discourse
by creating an account at:
    http://159.203.77.174

Curling the IP shows not accepting connections:

curl -IL http://159.203.77.174
curl: (7) Failed to connect to 159.203.77.174 port 80: Connection refused
Have another answer? Share your knowledge.