Hi, I’m trying to install Discourse using the standard ./launcher rebuild app
process, but I’m running into an error during bootstrap:
FAILED
--------------------
Errno::ENOENT: No such file or directory @ rb_sysopen - /etc/runit/1.d/letsencrypt
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.3.0/lib/pups/replace_command.rb:11:in `read'
replace failed with the params {"filename"=>"/etc/runit/1.d/letsencrypt", "from"=>"/--keylength/", "to"=>"-d forum.mysite.org --keylength"}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
It looks like the error is triggered by a plugin trying to run a replace
command on the file /etc/runit/1.d/letsencrypt
, which doesn’t exist inside the container during bootstrap. The relevant line in the plugin looks like this:
- replace:
filename: "/etc/runit/1.d/letsencrypt"
from: "/--keylength/"
to: "-d forum.mysite.org --keylength"
Any advice on how to fix this or properly regenerate the missing file?
Thanks in advance.