aapanel loads very slowly and is no longer available. nginx does not start too old.
Tried these commands, but no fix.
mv /www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL /tmp/OpenSSL_bak
btpip install pyOpenSSL -I
bt reload
Traceback (most recent call last):
File "class/public.py", line 3508, in get_attr
tmp_obj = import(key)
File "class/safe_warning/sw_site_ssl_expire.py", line 15, in
import os,sys,re,public,OpenSSL,time
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/init.py", line 8, in
from OpenSSL import SSL, crypto
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/SSL.py", line 19, in
from OpenSSL.crypto import (
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 1623, in
class X509StoreFlags:
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 1642, in X509StoreFlags
NOTIFY_POLICY: int = _lib.X509_V_FLAG_NOTIFY_POLICY
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 1814, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/init.py", line 1766, in run
result = getattr(toObject,get.action)(get)
File "class/panelWarning.py", line 36, in get_list
if p[m_name]._level == 0: continue
File "class/public.py", line 3517, in getitem
return self.get_attr(key)
File "class/public.py", line 3513, in get_attr
raise Exception(get_error_info())
Exception: Traceback (most recent call last):
File "class/public.py", line 3508, in get_attr
tmp_obj = import(key)
File "class/safe_warning/sw_site_ssl_expire.py", line 15, in
import os,sys,re,public,OpenSSL,time
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/init.py", line 8, in
from OpenSSL import SSL, crypto
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/SSL.py", line 19, in
from OpenSSL.crypto import (
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 1623, in
class X509StoreFlags:
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 1642, in X509StoreFlags
NOTIFY_POLICY: int = _lib.X509_V_FLAG_NOTIFY_POLICY
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'