Lỗi cài đặt CyberPanel.
Hiện tượng
I get this error during the installation it retries 50 times then it just exits:
/root/.acme.sh/acme.sh --upgrade --auto-upgrade has failed for 1 times
Wait for 3 seconds and try again…
./cyberpanel.sh: line 181: /root/.acme.sh/acme.sh: No such file or directory
/root/.acme.sh/acme.sh --upgrade --auto-upgrade has failed for 2 times
Wait for 3 seconds and try again…
./cyberpanel.sh: line 181: /root/.acme.sh/acme.sh: No such file or directory
/root/.acme.sh/acme.sh --upgrade --auto-upgrade has failed for 3 times
Wait for 3 seconds and try again…
./cyberpanel.sh: line 181: /root/.acme.sh/acme.sh: No such file or directory
/root/.acme.sh/acme.sh --upgrade --auto-upgrade has failed for 4 times
Wait for 3 seconds and try again…
Nguyên nhân
Với case mình gặp thì do thiếu crontab
và openssl
nên không cài đặt thành công
Cách xử lý
Cài thêm 2 gói này vào
yum install cronie -y
yum install openssl -y
Sau đó cài đặt lại CyberPanel như bình thường.
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)