Hi everyone,
I’m currently working on setting up the Press app inside a Frappe project using frappe_docker.
I’ve successfully created a custom Docker image including Frappe and Press by following the official guide here:
frappe_docker/docs/custom-apps.md at main · frappe/frappe_docker · GitHub
The installation worked fine, and the site was created using the image without issues.
However, I’m now facing a problem during configuration:
When I go to “TLS Certificate” > “Obtain Certificate” in the UI, I get an error saying that Certbot is not found.
Here is the exact error data:
json
{
"command": "certbot certonly --dns-route53 --logs-dir /home/frappe/.certbot/logs --work-dir /home/frappe/.certbot --config-dir /home/frappe/.certbot --force-renewal --agree-tos --eff-email --email justin@smiling-digital.de --staple-ocsp --key-type rsa --rsa-key-size 2048 --cert-name *.pc.smiling-digital.de --domains *.pc.smiling-digital.de",
"exception": "[Errno 2] No such file or directory: 'certbot'"
}
My questions:
- Has anyone successfully set up Press with
frappe_docker
including working TLS certificate generation? - Is there a recommended way to include Certbot (with plugin
certbot-dns-route53
)? - Should Certbot run inside the Frappe Backend container, or externally (e.g. host or separate container)?
Any help, guidance or links to working examples would be greatly appreciated!
Thanks in advance!
Justin