Docker-DocumentServer icon indicating copy to clipboard operation
Docker-DocumentServer copied to clipboard

Error while using lets encrypt

Open AndreySolod opened this issue 2 years ago • 1 comments

Hello, when I am using command: sudo docker run -i -t -p 80:80 -p 443:443 -e LETS_ENCRYPT_DOMAIN=your_domain -e LETS_ENCRYPT_MAIL=your_mail onlyoffice where "onlyoffice" was build by "docker build . -t onlyoffice", I have this problem: image And when I using normal email, I have this problem: image

AndreySolod avatar Apr 19 '23 01:04 AndreySolod

Same here. Specifying domain and mail in compose environment, but certbot says that challenges have failed. How to modify certbot startup parameters to include -v?

Sciti avatar Oct 23 '24 09:10 Sciti

Hello @AndreySolod Sorry for late response!

Could you clarify: are you using a custom-built image named onlyoffice, or did you mean to use the official onlyoffice/documentserver image?

If you built your own image, it likely doesn't include the Let's Encrypt integration scripts that are present in the official image.

If you intended to use the official image, your command has several syntax errors...

sudo docker run -i -t -d -p 80:80 -p 443:443 --restart=always \
    -e LETS_ENCRYPT_DOMAIN=example.com \
    -e [email protected] \
    -e JWT_SECRET=my_jwt_secret \
    onlyoffice/documentserver

Replace example.com and [email protected] with your actual domain and email address.

avdddd1111 avatar Sep 01 '25 13:09 avdddd1111

Hello @Sciti Sorry for late response! Thank you for the information about the certbot verbose logging issue. I've created enhancement 76523 based on your feedback.

avdddd1111 avatar Sep 01 '25 13:09 avdddd1111

This issue was closed due to no response.

Rita-Bubnova avatar Sep 30 '25 12:09 Rita-Bubnova