Report this

What is the reason for this report?

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

Posted on April 22, 2018

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:



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

Got same problem

Same problem… why publish a One-Click install that hasn’t been tested properly and doesn’t work?!?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.