• SupportTutorial
  • aaPanel 7.x operating environment upgrade to Python 3.12 Questions and Answers

8 days later

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

    aaP_anderson_selogar

    6 days later

    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#\s
    skip-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#\s
    log-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#\s
    binlog_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\s
    port\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 = '\s
    root\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)

      Hello, it is recommended that you go to the server provider to check the monitoring or use VNC to check whether the server is running normally?

      aaP_brixx.natt

      24 days later
      25 days later

      aaPanel_Kern

      I solved it like this, the root user was completely without permission

      $ cd /usr/bin
      $ sudo chmod -R a+x .
      $ sudo ufw status

      a month later

      hi,
      but this is not normal:
      /tmp/panel.zip 16%[============> ] 4.76M 7.50KB/s eta 17m 43s
      and this speed in 900+ Mbps down speed..

      can show docker compose and not display docker template.
      i use versioin 7.0.10

      4 days later

      please help ... i have been update this day , but i can't open aapanel .... anithyng from here i try but not working ....

      help please

      website is running normally , but i can open aapanel ...

        Hello, use the ssh tool or the server provider's VNC to execute the following command to check the aapanel status
        curl -k https://www.aapanel.com/script/aapanel_check.sh | bash

        Or manually execute the command to update once
        rm -f /tmp/update_to7.pl && curl -k https://node.aapanel.com/install/update_7.x_en.sh | bash

        aaP_bachu_zaman

        Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com