[PR #2602] [MERGED] Error: "No Such File or Directory" While Installing Certs #5178

Closed
opened 2026-10-31 20:45:14 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/2602
Author: @Yunlq
Created: 11/16/2024
Status: ✅ Merged
Merged: 11/16/2024
Merged by: @MHSanaei

Base: main ← Head: main


📝 Commits (2)

📊 Changes

1 file changed (+7 additions, -1 deletions)

View changed files

📝 x-ui.sh (+7 -1)

📄 Description

Hello, I found an issue with the "update - CF SSL Certificate" feature in the 3x-ui v2.4.7 update. During script execution, the following error occurs:
"[INF] Certificate issued successfully, Installing...
[Sat Nov 16 01:54:41 AM PST 2024] The domain 'example.com' seems to already have an ECC cert, let's use it.
[Sat Nov 16 01:54:41 AM PST 2024] Installing cert to: /root/cert-CF/example.com/fullchain.pem
/root/.acme.sh/acme.sh: line 5925: /root/cert-CF/example.com/fullchain.pem: No such file or directory
[ERR] Certificate installation failed, script exiting...
".

Later, I discovered that the directory "${certPath}/${CF_Domain}" must exist before installing the certificate; otherwise, acme will throw such error. Therefore, I am submitting this PR and hope you can review it as soon as possible.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/2602 **Author:** [@Yunlq](https://github.com/Yunlq) **Created:** 11/16/2024 **Status:** ✅ Merged **Merged:** 11/16/2024 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`b80f0ab`](https://github.com/MHSanaei/3x-ui/commit/b80f0ab4df656c9cfcd78b8e411f072c9047ec81) update CF_ssl func - [`5bcaa7e`](https://github.com/MHSanaei/3x-ui/commit/5bcaa7e8f5f8402fbfad23eefe2face39a23ace1) update CF_ssl func ### 📊 Changes **1 file changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `x-ui.sh` (+7 -1) </details> ### 📄 Description Hello, I found an issue with the "update - CF SSL Certificate" feature in the 3x-ui v2.4.7 update. During script execution, the following error occurs: "[INF] Certificate issued successfully, Installing... [Sat Nov 16 01:54:41 AM PST 2024] The domain 'example.com' seems to already have an ECC cert, let's use it. [Sat Nov 16 01:54:41 AM PST 2024] Installing cert to: /root/cert-CF/example.com/fullchain.pem /root/.acme.sh/acme.sh: line 5925: /root/cert-CF/example.com/fullchain.pem: No such file or directory [ERR] Certificate installation failed, script exiting... ". Later, I discovered that the directory "${certPath}/${CF_Domain}" must exist before installing the certificate; otherwise, acme will throw such error. Therefore, I am submitting this PR and hope you can review it as soon as possible. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:45:14 +07:00
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
MHSanaei/3x-ui#5178
No description provided.