Hi,
I just tried to perform an upgrade of CP to v1.8.8 I was on either 1.8.7 or 1.8.6 before. I receive the following errors:
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
Requirement already satisfied (use --upgrade to upgrade): tldextract in /usr/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): requests-file>=1.4 in /usr/lib/python2.7/site-packages (from tldextract)
Requirement already satisfied (use --upgrade to upgrade): idna in /usr/lib/python2.7/site-packages (from tldextract)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/site-packages (from tldextract)
Requirement already satisfied (use --upgrade to upgrade): requests>=2.1.0 in /usr/lib/python2.7/site-packages (from tldextract)
Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.7/site-packages (from requests-file>=1.4->tldextract)
Requirement already satisfied (use --upgrade to upgrade): chardet<3.1.0,>=3.0.2 in /usr/lib/python2.7/site-packages (from requests>=2.1.0->tldextract)
Requirement already satisfied (use --upgrade to upgrade): urllib3<1.23,>=1.21.1 in /usr/lib/python2.7/site-packages (from requests>=2.1.0->tldextract)
Requirement already satisfied (use --upgrade to upgrade): certifi>=2017.4.17 in /usr/lib/python2.7/site-packages (from requests>=2.1.0->tldextract)
From cffi callback <function _verify_callback at 0x7ff984101aa0>:
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/OpenSSL/SSL.py”, line 313, in wrapper
_lib.X509_up_ref(x509)
AttributeError: ‘module’ object has no attribute ‘X509_up_ref’
[10-24-18-Thu-Aug-2019] #########################################################################
[10-24-18-Thu-Aug-2019] Install tldextract successful.
[10-24-18-Thu-Aug-2019] #########################################################################
Collecting bcrypt
From cffi callback <function _verify_callback at 0x7f602ceff500>:
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/OpenSSL/SSL.py”, line 313, in wrapper
_lib.X509_up_ref(x509)
AttributeError: ‘module’ object has no attribute ‘X509_up_ref’
Could not fetch URL https://pypi.python.org/simple/bcrypt/: There was a problem confirming the ssl certificate: (“bad handshake: Error([(‘SSL routines’, ‘ssl3_get_server_certificate’, ‘certificate verify failed’)],)”,) - skipping
Could not find a version that satisfies the requirement bcrypt (from versions: )
No matching distribution found for bcrypt
From cffi callback <function _verify_callback at 0x7f602cf24848>:
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/OpenSSL/SSL.py”, line 313, in wrapper
_lib.X509_up_ref(x509)
AttributeError: ‘module’ object has no attribute ‘X509_up_ref’
Looks like it can’t verify the SSL cert to retrive the package. So upgrade script aborts.
Now I can’t access CP on 8090, I get a 503 error every time. Tried rebooting the server and chmod 777 /tmp + service reboot lscpd. Still nothing.
tail -n 50 /home/cyberpanel/error-logs.txt doesn’t show any errors for this timeframe just updating SSL certs earlier in the day.
Thankfully websites are up and mail is being received ok. Just no CP access.
Please can someone check and advise best course of action to fix CP access & update without failure as I tried the link: Links for bcrypt in a browser and it’s SSL is configured fine.
Kind regards,
Richard