Closed joacub closed 7 years ago
the error is for /opt/plesk/python/2.7/bin/virtualenv not is correct, need upgrade env and change the in this file
for me old file is :
#!/opt/plesk/python/2.7/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'virtualenv==15.0.1','console_scripts','virtualenv'
__requires__ = 'virtualenv==15.0.1'
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.exit(
load_entry_point('virtualenv==15.0.1', 'console_scripts', 'virtualenv')()
)
after update you need change to the correct value for virtualenv==
#!/opt/plesk/python/2.7/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'virtualenv==15.1.0','console_scripts','virtualenv'
__requires__ = 'virtualenv==15.1.0'
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.exit(
load_entry_point('virtualenv==15.1.0', 'console_scripts', 'virtualenv')()
)
Same Error here, can't install Let's Encrypt for Plesk. I tried the steps from @joacub above (upgrade virtualenv and re-edit version in file) but they don't help, error is still alive.
Installation started in background
Checking whether the package dependencies are resolved.
Installing packages
Error: Failed to install or upgrade the extension 'Let's Encrypt' (package: letsencrypt):
[2017-03-19 20:55:29] ERR [extension/letsencrypt] Execution of /opt/psa/admin/plib/modules/letsencrypt/scripts/post-install.php failed with exit code 1 and the output:
Execution of /opt/psa/admin/plib/modules/letsencrypt/scripts/post-install.php failed with exit code 1 and the output:
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.
Try the latest version. virtualenv and python are not used any more.
This is the error log:
after install not run.