Script Error Enabling Let's Encrypt on new Discourse instance

I got ssl up by using this config:

  DISCOURSE_SMTP_ADDRESS: xxx
  DISCOURSE_SMTP_PORT: 25
  DISCOURSE_SMTP_AUTHENTICATION: none
  DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none
  DISCOURSE_SMTP_USER_NAME: foo
  DISCOURSE_SMTP_PASSWORD: bar

They key is to comment out the USER_NAME and PASSWORD again (so that SMTP will work properly) without breaking the Let’s Encrypt section on a rebuild. I’m not sure I’m understanding your instructions on the correct sequence for doing this. Thanks!