[GH-ISSUE #607] Error while using lets encrypt #277

Closed
opened 2026-02-26 10:31:33 +03:00 by kerem · 4 comments
Owner

Originally created by @AndreySolod on GitHub (Apr 19, 2023).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/607

Originally assigned to: @avdddd1111 on GitHub.

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

Originally created by @AndreySolod on GitHub (Apr 19, 2023). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/607 Originally assigned to: @avdddd1111 on GitHub. 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](https://user-images.githubusercontent.com/32464577/232945646-94666497-c3f2-4a1e-bb71-91508b8b73d1.png) And when I using normal email, I have this problem: ![image](https://user-images.githubusercontent.com/32464577/232946387-c6b016b7-1449-46fc-94b5-dfc6bac88276.png)
kerem closed this issue 2026-02-26 10:31:33 +03:00
Author
Owner

@Sciti commented on GitHub (Oct 23, 2024):

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?

<!-- gh-comment-id:2431397738 --> @Sciti commented on GitHub (Oct 23, 2024): 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?
Author
Owner

@avdddd1111 commented on GitHub (Sep 1, 2025):

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 LETS_ENCRYPT_MAIL=user@example.com \
    -e JWT_SECRET=my_jwt_secret \
    onlyoffice/documentserver

Replace example.com and user@example.com with your actual domain and email address.

<!-- gh-comment-id:3242302798 --> @avdddd1111 commented on GitHub (Sep 1, 2025): 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 LETS_ENCRYPT_MAIL=user@example.com \ -e JWT_SECRET=my_jwt_secret \ onlyoffice/documentserver ``` Replace example.com and user@example.com with your actual domain and email address.
Author
Owner

@avdddd1111 commented on GitHub (Sep 1, 2025):

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.

<!-- gh-comment-id:3242333646 --> @avdddd1111 commented on GitHub (Sep 1, 2025): 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.
Author
Owner

@Rita-Bubnova commented on GitHub (Sep 30, 2025):

This issue was closed due to no response.

<!-- gh-comment-id:3351959286 --> @Rita-Bubnova commented on GitHub (Sep 30, 2025): This issue was closed due to no response.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#277
No description provided.