cant access panel after panel update
but website and database normaly running
aaPanel 7.x operating environment upgrade to Python 3.12 Questions and Answers
Hello, thank you for your feedback, this issue has been resolved
Hello, updating aapanel will not affect the operation of the database and website. aapanel is an independent service.
It is recommended that you check whether the relevant services are started?
Hi,
after update
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 2527, in publicObject
return run_exec().run(toObject, defs, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 2474, in run
result = getattr(toObject, get.action)(get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/ajax_v2.py", line 1767, in get_pay_type
plugin_list = plu_panel.get_cloud_list()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/panelPlugin.py", line 421, in get_cloud_list
softList = public.load_soft_list(True if force == 1 else False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/init.py", line 8033, in load_soft_list
import PluginLoader
ImportError: /www/server/panel/class/PluginLoader.so: file too short
^ sorted. After update locale and apache broke down. Also LD_LIBRARIES path was wrong and some .so files were 'missing' Corrected those errors and for now it seems to be up and running.
Hello
Added edit file
In the more section, it has been too long
I don't think it will take that much time
People who don't have computers and work with mobile phones are really in trouble
Such a performance was unthinkable from your company
- Edited
Hello
Added edit file
In the more section, it has been too long
I don't think it will take that much time
People who don't have computers and work with mobile phones are really in trouble
Such a performance was unthinkable from your company
- Edited
After updating to the latest version I can't get Let's Encrypt Certificate
cannot import name '_ED25519_KEY_SIZE'
from 'cryptography.hazmat.primitives.asym
metric.ed25519' (/www/server/panel/pyenv/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py)
same problem
Hello, is it normal to try restarting aapanel?
If it is abnormal, please use the ssh tool to execute the following command:
btpip install -I cryptography==40.0.2
bt restart
Hello, please describe your problem in detail.
shahinsafari
Hello, thank you for your feedback, we will optimize it
- Edited
It helps me!
After updating today to the new version 7.x, the aapanel was slow, it doesn't load the pianel, can anyone help me I don't know what to do!
I use debian 12.1
I tried to solve it by updating, restarting the panel but the problem continues, sometimes it starts but doesn't load things as it should
Hello, is the username and password displayed correctly when executing the command bt 14
using the ssh tool?
the server does snapshot backup first.
Try to find under /www/backup/panel/ latest compressed files Then extract out to find the data/default.db The file cover /www/server/panel/data/default.db The restart the panel again whether can solve?
For example, the decompressed file is stored in /www/backup/panel/2023-08-17/data/default.db
cp /www/server/panel/data/default.db /www/server/panel/data/default.db_bak
cd /www/backup/panel/
unzip 2023-08-17.zip
cp 2023-08-17/data/default.db /www/server/panel/data/default.db
bt restart
aaPanel_Kern
After upgrading, a page like this keeps showing up and I can’t get out of it.
aaP_tongziwei774
Can't be loaded
Hello, try to execute the command to repair the panel: bt 16
Also check if there is an error log: bt 22
please help ,
/www/server/panel/class/password.py:141: SyntaxWarning: invalid escape sequence '\s'
rec2 = '\n#?PubkeyAuthentication\s\w+'
/www/server/panel/class/password.py:154: SyntaxWarning: invalid escape sequence '\s'
rec = '\n#?RSAAuthentication\s\w+'
/www/server/panel/class/password.py:155: SyntaxWarning: invalid escape sequence '\s'
pubkey = '\n#?PubkeyAuthentication\s\w+'
/www/server/panel/class/password.py:156: SyntaxWarning: invalid escape sequence '\s'
ssh_password = '\nPasswordAuthentication\s\w+'
/www/server/panel/class/password.py:186: SyntaxWarning: invalid escape sequence '\s'
ssh_password = '\n#?PasswordAuthentication\s\w+'
/www/server/panel/class/database.py:421: SyntaxWarning: invalid escape sequence '['
conf = re.sub('[mysqld]', '[mysqld]\nskip_ssl', conf)
/www/server/panel/class/database.py:432: SyntaxWarning: invalid escape sequence '['
conf = re.sub('[mysqld]', '[mysqld]' + ssl_original_path, conf)
/www/server/panel/class/database.py:795: SyntaxWarning: invalid escape sequence '\w'
rep = "^[\w@.\?-_\>\<~!#\$\%^\&*()]+$"
/www/server/panel/class/database.py:867: SyntaxWarning: invalid escape sequence '\w'
rep = "^[\w@.\?-_\>\<~!#\$\%^\&*()]+$"
/www/server/panel/class/database.py:1255: SyntaxWarning: invalid escape sequence '\w'
if not re.match("^[\w+.-]+$", value[0]): continue
/www/server/panel/class/database.py:1320: SyntaxWarning: invalid escape sequence '\s'
rep = "datadir\s=\s(.+)\n"
/www/server/panel/class/database.py:1322: SyntaxWarning: invalid escape sequence '\s'
rep = "port\s=\s([0-9]+)\s\n"
/www/server/panel/class/database.py:1341: SyntaxWarning: invalid escape sequence '\c'
public.ExecShell('\cp -arf ' + mysqlInfo['datadir'] + '/ ' + get.datadir + '/')
/www/server/panel/class/database.py:1432: SyntaxWarning: invalid escape sequence '\s'
if re.search("\n#\sskip-log-bin", mysql_cnf):
/www/server/panel/class/database.py:1433: SyntaxWarning: invalid escape sequence '\s'
mysql_cnf = re.sub("\n#\sskip-log-bin", "\nskip-log-bin", mysql_cnf)
/www/server/panel/class/database.py:1435: SyntaxWarning: invalid escape sequence '\s'
mysql_cnf = re.sub("\n#\slog-bin", "\nskip-log-bin\n#log-bin", mysql_cnf)
/www/server/panel/class/database.py:1438: SyntaxWarning: invalid escape sequence '\s'
if re.search("\n#\slog-bin", mysql_cnf):
/www/server/panel/class/database.py:1439: SyntaxWarning: invalid escape sequence '\s'
mysql_cnf = re.sub("\n#\slog-bin", "\nlog-bin", mysql_cnf)
/www/server/panel/class/database.py:1443: SyntaxWarning: invalid escape sequence '\s'
if re.search("\n#\sbinlog_format", mysql_cnf):
/www/server/panel/class/log_analysis.py:24: SyntaxWarning: invalid escape sequence '('
log_analysis_data = '''help(){
/www/server/panel/class/ajax.py:797: SyntaxWarning: invalid escape sequence '\s'
rep = "disable_functions\s=\s{0,1}(.)\n"
/www/server/panel/class/ajax.py:803: SyntaxWarning: invalid escape sequence '\s'
rep = "upload_max_filesize\s=\s([0-9]+)(M|m|K|k)"
/www/server/panel/class/ajax.py:809: SyntaxWarning: invalid escape sequence '\s'
rep = u"\n;\scgi.fix_pathinfo\s=\s([0-9]+)\s\n"
/www/server/panel/class/ajax.py:1051: SyntaxWarning: invalid escape sequence '.'
ssl_conf = """server
/www/server/panel/class/ajax.py:1098: SyntaxWarning: invalid escape sequence '.'
ssl_conf = '''Listen 887
/www/server/panel/class/ajax.py:1341: SyntaxWarning: invalid escape sequence '\d'
result['port'] = int(re.search('PORT=(\d+)',conf).groups()[0])
/www/server/panel/class/ajax.py:1342: SyntaxWarning: invalid escape sequence '\d'
result['maxconn'] = int(re.search('MAXCONN=(\d+)',conf).groups()[0])
/www/server/panel/class/ajax.py:1343: SyntaxWarning: invalid escape sequence '\d'
result['cachesize'] = int(re.search('CACHESIZE=(\d+)',conf).groups()[0])
/www/server/panel/class/ajax.py:1368: SyntaxWarning: invalid escape sequence '\d'
conf = re.sub('PORT=\d+','PORT='+get.port,conf)
/www/server/panel/class/ajax.py:1369: SyntaxWarning: invalid escape sequence '\d'
conf = re.sub('MAXCONN=\d+','MAXCONN='+get.maxconn,conf)
/www/server/panel/class/ajax.py:1370: SyntaxWarning: invalid escape sequence '\d'
conf = re.sub('CACHESIZE=\d+','CACHESIZE='+get.cachesize,conf)
/www/server/panel/class/ajax.py:1379: SyntaxWarning: invalid escape sequence '\s'
port = re.findall('\n\sport\s+(\d+)',c)[0]
/www/server/panel/class/ajax.py:1380: SyntaxWarning: invalid escape sequence '\s'
password = re.findall('\n\srequirepass\s+(.+)',c)
/www/server/panel/class/files.py:127: SyntaxWarning: invalid escape sequence '\s'
rep = '\sroot\s+(.+);'
/www/server/panel/class/files.py:135: SyntaxWarning: invalid escape sequence '\s'
rep = '\sDocumentRoot\s"(.+)"\s*\n'
/www/server/panel/class/files.py:2606: SyntaxWarning: invalid escape sequence '\w'
if not re.match('\w+$',pdata['password']):
/www/server/panel/class/files.py:2633: SyntaxWarning: invalid escape sequence '\w'
if not re.match('\w+$',pdata['password']) and pdata['password']:
[2024-07-14 08:28:44][DEBUG] - checkWebConfig--result'', 'nginx: the configuration file /www/server/nginx/conf/nginx.conf syntax is ok\nnginx: configuration file /www/server/nginx/conf/nginx.conf test is successful\n')
[2024-07-14 08:28:44][DEBUG] - nginx
[2024-07-14 08:28:44][DEBUG] - checkWebConfig--result1'', 'nginx: the configuration file /www/server/nginx/conf/nginx.conf syntax is ok\nnginx: configuration file /www/server/nginx/conf/nginx.conf test is successful\n')
[2024-07-14 08:28:44][DEBUG] - nginx----5
[2024-07-14 08:33:12][DEBUG] - checkWebConfig--result'', 'nginx: the configuration file /www/server/nginx/conf/nginx.conf syntax is ok\nnginx: configuration file /www/server/nginx/conf/nginx.conf test is successful\n')
[2024-07-14 08:33:12][DEBUG] - nginx
[2024-07-14 08:33:12][DEBUG] - checkWebConfig--result1'', 'nginx: the configuration file /www/server/nginx/conf/nginx.conf syntax is ok\nnginx: configuration file /www/server/nginx/conf/nginx.conf test is successful\n')
[2024-07-14 08:33:12][DEBUG] - nginx----5
['5', '15', '0', '113']
['5', '15', '0', '113']
/www/server/panel/class/panelController.py:35: SyntaxWarning: invalid escape sequence '\w'
if not re.match(r"\w+$",args['mod_name']): return public.return_status_code(1000,'调用的模块名称中不能包含\w以外的字符')
/www/server/panel/class/panelController.py:36: SyntaxWarning: invalid escape sequence '\w'
if not re.match(r"\w+$",args['def_name']): return public.return_status_code(1000,'调用的方法名称中不能包含\w以外的字符')
/www/server/panel/class/logsModel/panelModel.py:201: SyntaxWarning: invalid escape sequence '\s'
if username and not re.search('-\s+({})\s+('.format(username),_line):
system after few hours crash , i need to hard restart it , cause even SSH will not work
Update to Version 7.0.6
System: Ubuntu 22.04.4 LTS x86_64(Py3.12.3)