3x-ui安装Cloudflare SSL Certificate提示 /usr/bin/x-ui: line 1179: /root/.acme.sh/acme.sh: No such file or directory
[ERR] Default CA, Let'sEncrypt fail, script exiting...
`[INF] ****** Instructions for Use ******
[INF] Follow the steps below to complete the process:
[INF] 1. Cloudflare Registered E-mail.
[INF] 2. Cloudflare Global API Key.
[INF] 3. The Domain Name.
[INF] 4. Once the certificate is issued, you will be prompted to set the certificate for the panel (optional).
[INF] 5. The script also supports automatic renewal of the SSL certificate after installation.
Do you confirm the information and wish to proceed? [y/n] [Default y]: y
acme.sh could not be found. We will install it.
[INF] Installing acme.sh...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 221k 100 221k 0 0 1217k 0 --:--:-- --:--:-- --:--:-- 1216k
[Sat May 24 07:19:38 UTC 2025] Installing from online archive.
[Sat May 24 07:19:38 UTC 2025] Downloading https://github.com/acmesh-official/acme.sh/archive/master.tar.gz
[Sat May 24 07:19:38 UTC 2025] Extracting master.tar.gz
[Sat May 24 07:19:38 UTC 2025] It is recommended to install crontab first. Try to install 'cron', 'crontab', 'crontabs' or 'vixie-cron'.
[Sat May 24 07:19:38 UTC 2025] We need to set a cron job to renew the certs automatically.
[Sat May 24 07:19:38 UTC 2025] Otherwise, your certs will not be able to be renewed automatically.
[Sat May 24 07:19:38 UTC 2025] Please add '--force' and try install again to go without crontab.
[Sat May 24 07:19:38 UTC 2025] ./acme.sh --install --force
[Sat May 24 07:19:38 UTC 2025] Pre-check failed, cannot install.
[INF] Installation of acme.sh succeeded.
[DEG] Please set a domain name:
Input your domain here: 你解析的域名
[DEG] Your domain name is set to: 你解析的域名
[DEG] Please set the API key:
Input your key here: 你的API
[DEG] Your API key is: 你的API
[DEG] Please set up registered email:
Input your email here: 你的邮箱
[DEG] Your registered email address is: 你的邮箱
/usr/bin/x-ui: line 1179: /root/.acme.sh/acme.sh: No such file or directory
[ERR] Default CA, Let'sEncrypt fail, script exiting... `
需要执行以下命令,安装cron后再次执行即可申请成功
sudo apt install cron
评论区