Cant setting SLL (Let's Encrypt) for Discourse

Cant setting SLL (Let’s Encrypt) for Discourse setting SSL on Setting up HTTPS support with Let's Encrypt

But It error:

FAILED
--------------------
    Pups::ExecError: cd /root/acme.sh && LE_WORKING_DIR="${LETSENCRYPT_DIR}" ./acme.sh --upgrade --auto-upgrade failed with return #<Process::Status: pid 3354 exit 1>
    Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
    exec failed with the params {"cmd"=>["cd /root && git clone https://github.com/Neilpang/acme.sh.git && cd /root/acme.sh && git reset --hard e5244cf3c04a5cad274d5a0be31ce80c336be388", "touch /var/spool/cron/crontabs/root", "install -d -m 0755 -g root -o root $LETSENCRYPT_DIR", "cd /root/acme.sh && LE_WORKING_DIR=\"${LETSENCRYPT_DIR}\" ./acme.sh --install --log \"${LETSENCRYPT_DIR}/acme.sh.log\"", "cd /root/acme.sh && LE_WORKING_DIR=\"${LETSENCRYPT_DIR}\" ./acme.sh --upgrade --auto-upgrade"]}
    ffd7032014ec2a1936b71deb1971516af9bf8a3951935548df05a13158eb2369

Please help me.

Please say more about what you did. Has it ever worked? How did you enable it?

1 Like

Oh!. i fixed…

Before:
I config like Setting up HTTPS support with Let's Encrypt and run
./laucher rebulid app but error.

Affter:
I run
cd /root/acme.sh
git clone https://github.com/Neilpang/acme.sh.git
./laucher rebulid app
It is successfully.

So happy!

3 Likes

Hmm @tgxworld is this related to the other problem report with this today?

2 Likes

This topic was automatically closed after 5 hours. New replies are no longer allowed.

Yup I bumped the version of acme.sh again.

https://github.com/discourse/discourse_docker/commit/378578c31526fd9f7d149a61e213f76c8093e2dd

5 Likes