• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Let'sEncrypt: Error occurred during /bin/cp command

FireHost1

New Pleskian
I had a problem an upgrading Let'sEncrypt. So i tried, as explained in the issue (Issue - Upgrade Let's Encrypt failing, Plesk 17.5.3) to remove and reinstall it.
After successfull removing, i tried the installation, but i got an error:

# plesk installer --select-product-id plesk --select-release-current --install-component letsencrypt
...
Reading package lists...
Retrieving information about the installed license key...
Launching component and product checkers...
Downloading file PSA_17.5.3/examiners/disk_space_check.sh: 0%
Downloading file PSA_17.5.3/examiners/disk_space_check.sh: 100% was finished.
Checking whether the package dependencies are resolved.
Installing packages

ERROR: Failed to install or upgrade the extension 'Let's Encrypt' (package: letsencrypt):
[2017-11-18 09:14:45] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/filemng' 'psaadm' 'cp' '-r' '/opt/psa/tmp/moduleJM6386/var/.' '/opt/psa/var/modules/letsencrypt/'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
Error occured while sending feedback. HTTP code returned: 502
filemng failed: filemng: Error occurred during /bin/cp command.



Warning! Not all packages were installed.
Please check if your system services are operable.
Please resolve this issue and try to install the packages again.
If you cannot resolve the issue on your own, contact product technical support for assistance.
exit status 1

During the installation i saw, that /opt/psa/tmp/moduleJM6386/var/ is empty
Has andybody an idea what do do????
 
Try to fix it with

# cd /usr/local/psa/var/modules/letsencrypt
# chown psaadm.psaadm .keep
# chown psaadm.psaadm cli.ini.sample
 
Try to fix it with

# cd /usr/local/psa/var/modules/letsencrypt
# chown psaadm.psaadm .keep
# chown psaadm.psaadm cli.ini.sample

.keep does not exist, the rest did not solve my problem :-(

I created .keep manually, and deleted the var-directory from the ZIP-Archive. Now i am able to install the extension. Seems to work!
 
Last edited:
Back
Top