Error installing Lets Encrypt AutoSSL plugin on WHM
Hi,
I"m trying to install the Let"s Encrypt AutoSSL plugin on my dedicated server via SSH (Putty) and I get this error:
What can I do to fix it? I asked SiteGround and they told me to ask here. Thanks (WHM v66.0.35, CENTOS 6.10 standard, SiteGround)
[root@esm1581 ~]# /usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
- cpanel-addons-production-feed: 91.197.228.252
- base: mirror.serverius.net
- extras: mirror.ehv.weppel.nl
- updates: mirror.serverion.com
Resolving Dependencies
--> Running transaction check
---> Package cpanel-letsencrypt.noarch 0:2.28-1.1 will be installed
--> Finished Dependency Resolution
Total download size: 42 k
Installed size: 104 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Error in PREIN scriptlet in rpm package cpanel-letsencrypt-2.28-1.1.noarch
error: install: %pre scriptlet failed (2), skipping cpanel-letsencrypt-2.28-1.1
Verifying : cpanel-letsencrypt-2.28-1.1.noarch 1/1
Complete!
Cpanel::Exception::IO::ExecError/(XID kjde94) The system failed to execute yum with the arguments "--assumeyes --config /etc/yum.conf install cpanel-letsencrypt --disablerepo=epel" because of an error: The "/usr/bin/yum" command (process 19365) reported error number 1 when it ended. : Error in PREIN scriptlet in rpm package cpanel-letsencrypt-2.28-1.1.noarch
at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 330.
Cpanel::Exception::create("IO::ExecError", "The system failed to execute yum with the arguments \x{e2}\x{80}\x{9c}[_1]\x{e2}\x{80}"..., ARRAY(0x1bc20c8)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46
Cpanel::Exception::ANON(CPANEL_HIDDEN, CPANEL_HIDDEN..., ARRAY(0x1bc20c8)) called at /usr/local/cpanel/Cpanel/SysPkgs/YUM.pm line 850
Cpanel::SysPkgs::YUM::_exec_yum(Cpanel::SysPkgs::YUM=HASH(0x1842088), "packages", ARRAY(0x14b0618), "_args", ARRAY(0x10aa878)) called at /usr/local/cpanel/Cpanel/SysPkgs/YUM.pm line 782
Cpanel::SysPkgs::YUM::_call_yum(Cpanel::SysPkgs::YUM=HASH(0x1842088), "packages", ARRAY(0x14b0618)) called at /usr/local/cpanel/Cpanel/SysPkgs/YUM.pm line 181
Cpanel::SysPkgs::YUM::install_packages(Cpanel::SysPkgs::YUM=HASH(0x1842088), "packages", ARRAY(0x14b0618)) called at /usr/local/cpanel/Cpanel/Plugins.pm line 50
Cpanel::Plugins::install_plugins("cpanel-letsencrypt") called at /usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider line 19
scripts::install_lets_encrypt_autossl_provider::run() called at /usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider line 16
[root@esm1581 ~]#What can I do to fix it? I asked SiteGround and they told me to ask here. Thanks (WHM v66.0.35, CENTOS 6.10 standard, SiteGround)
-
Hello, Are you by chance using selinux? You can find out by running the following in the CLI: sestatus0 -
Hello, Are you by chance using selinux? You can find out by running the following in the CLI:
sestatus
Hi, Apparently not (see screenshot below)0 -
That's good to know. This, believe is related to the fact it's attempting to install the v1 package of cPanel-letsencrypt. I run the same script on my server and it pulls the v2 package: [root@server config]# /usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider info [install_lets_encrypt_autossl_provider] Starting yum execution "--assumeyes --config /etc/yum.conf --downloadonly --downloaddir /tmp/I_34_ctjX0 install cpanel-letsencrypt-v2 --disablerepo=epel". Loaded plugins: fastestmirror, universal-hooks Loading mirror speeds from cached hostfile * EA4: 70.87.220.252 * EA4-experimental: 70.87.220.252 * cpanel-addons-production-feed: 70.87.220.252 * cpanel-plugins: 70.87.220.252 * base: mirror.atl.genesisadaptive.com * centosplus: repos.dfw.quadranet.com * extras: centos-distro.1gservers.com * updates: mirror.us.oneandone.net Resolving Dependencies --> Running transaction check ---> Package cpanel-letsencrypt-v2.noarch 0:1.00-21.1 will be installed --> Finished Dependency Resolution Total download size: 30 k Installed size: 85 k Background downloading packages, then exiting: exiting because "Download Only" specified info [install_lets_encrypt_autossl_provider] Completed yum execution "--assumeyes --config /etc/yum.conf --downloadonly --downloaddir /tmp/I_34_ctjX0 install cpanel-letsencrypt-v2 --disablerepo=epel": in 8.528 second(s). Preparing... ################################# [100%] Updating / installing... 1:cpanel-letsencrypt-v2-1.00-21.1 ################################# [100%] Initial cpanel-letsencrypt-v2 install detected " Starting rebuild of web server configuration & restart " Id: TQ:TaskQueue:69685 Id: TQ:TaskQueue:69686
Since you're using v66 of cPanel/WHM I believe you'd need to update in order to be able to use this provider as the version you're running is severely out of date and has been end of life for a significant amount of time. No updates to things such as the letsencrypt provider are currently being provided to you.0 -
Hi, I"m trying to install the Let"s Encrypt AutoSSL plugin on my dedicated server via SSH (Putty) and I get this error:
[root@esm1581 ~]# /usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile- cpanel-addons-production-feed: 91.197.228.252
- base: mirror.serverius.net
- extras: mirror.ehv.weppel.nl
- updates: mirror.serverion.com
What can I do to fix it? I asked SiteGround and they told me to ask here. Thanks (WHM v66.0.35, CENTOS 6.10 standard, SiteGround)
First of All, you have to Update WHM/cPanel to Latest Version then simply Run this Command as root. /usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider and Enjoy :)0 -
First of All, you have to Update WHM/cPanel to Latest Version then simply Run this Command as root. /usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider and Enjoy :)
CentOS6 is no longer supported by cPanel/WHM . Upgrade to CloudLinux or Centos7 in order to Install any Modules0
Please sign in to leave a comment.
Comments
5 comments