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

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


      Internet speed is 6-700Mbps already tested
      why is this happening? is there such a restriction on downloading panel.zip?

        Hello, there is no limit. This is a service provided by CloudFlare. It may be caused by the slow speed of CloudFlare from the region.

        neonitro

          a month later

          After updating to the latest version of Aapanel, some apps running on my Docker are not functioning


          2024-11-29T12:33:32.478160Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.

          2024-11-29T12:33:32.522761Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock

          2024-11-29T12:33:32.522810Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.34' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.

          2024-11-29 12:34:33+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          2024-11-29 12:34:33+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

          2024-11-29 12:34:33+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'

          2024-11-29T12:34:34.417297Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.

          2024-11-29T12:34:34.419550Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.34) starting as process 1

          2024-11-29T12:34:34.438034Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

          2024-11-29T12:34:35.068232Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.

          2024-11-29T12:34:35.321980Z 0 [System] [MY-010229] [Server] Starting XA crash recovery...

          2024-11-29T12:34:35.343177Z 0 [System] [MY-010232] [Server] XA crash recovery finished.

          2024-11-29 12:35:36+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          2024-11-29 12:35:37+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

          2024-11-29 12:35:37+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'

          2024-11-29T12:35:37.757119Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.

          2024-11-29T12:35:37.760721Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.34) starting as process 1

          2024-11-29T12:35:37.774074Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

          2024-11-29 12:36:38+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          2024-11-29 12:36:39+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

          2024-11-29 12:36:39+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'

          2024-11-29T12:36:39.876221Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.

          2024-11-29T12:36:39.878708Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.34) starting as process 1

          2024-11-29T12:36:39.890421Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

          2024-11-29T12:36:40.818367Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.

          2024-11-29 12:37:41+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          2024-11-29 12:37:42+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

          2024-11-29 12:37:42+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'

          2024-11-29T12:37:42.747537Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.

          2024-11-29T12:37:42.751990Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.34) starting as process 1

          2024-11-29T12:37:42.779093Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

          2024-11-29T12:37:43.517143Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.

          2024-11-29 12:38:44+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          2024-11-29 12:38:44+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

          2024-11-29 12:38:44+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'

          2024-11-29T12:38:45.404870Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.

          2024-11-29T12:38:45.407357Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.34) starting as process 1

          2024-11-29T12:38:45.423092Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

          2024-11-29T12:38:46.272176Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.

          2024-11-29 12:39:47+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          2024-11-29 12:39:47+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

          2024-11-29 12:39:47+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'

          2024-11-29T12:39:48.485675Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.

          2024-11-29T12:39:48.489359Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.34) starting as process 1

          2024-11-29T12:39:48.503030Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

          2024-11-29T12:39:49.126965Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.

          2024-11-29 12:40:49+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          2024-11-29 12:40:50+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

          2024-11-29 12:40:50+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'

          2024-11-29T12:40:50.891944Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.

          2024-11-29T12:40:50.893775Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.34) starting as process 1

          2024-11-29T12:40:50.901950Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

          2024-11-29T12:40:51.528269Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.

          2024-11-29T12:40:51.770262Z 0 [System] [MY-010229] [Server] Starting XA crash recovery...

          2024-11-29T12:40:51.784373Z 0 [System] [MY-010232] [Server] XA crash recovery finished.

          2024-11-29T12:40:51.860986Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.

          2024-11-29T12:40:51.861030Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.

          2024-11-29T12:40:51.865597Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.

          2024-11-29 12:41:52+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          2024-11-29 12:41:52+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

          2024-11-29 12:41:52+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'

          2024-11-29T12:41:53.447369Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.

          2024-11-29T12:41:53.449999Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.34) starting as process 1

          2024-11-29T12:41:53.464190Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

          2024-11-29T12:41:54.343636Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.

          2024-11-29 12:42:55+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          2024-11-29 12:42:55+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

          2024-11-29 12:42:55+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'

          2024-11-29T12:42:56.692010Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.

          2024-11-29T12:42:56.695256Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.34) starting as process 1

          2024-11-29T12:42:56.705239Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

          2024-11-29 12:43:57+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          2024-11-29 12:43:58+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

          2024-11-29 12:43:58+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'

          2024-11-29T12:43:58.675620Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.

          2024-11-29T12:43:58.677521Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.34) starting as process 1

          2024-11-29T12:43:58.686265Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

          2024-11-29T12:43:59.391436Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.

          2024-11-29T12:43:59.673416Z 0 [System] [MY-010229] [Server] Starting XA crash recovery...

          2024-11-29T12:43:59.689314Z 0 [System] [MY-010232] [Server] XA crash recovery finished.

          2024-11-29T12:43:59.748286Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.

          2024-11-29T12:43:59.748340Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.

          2024-11-29T12:43:59.752556Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.

          2024-11-29 12:45:00+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          2024-11-29 12:45:01+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

          2024-11-29 12:45:01+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.

          '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'

          2024-11-29T12:45:01.811543Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.

          2024-11-29T12:45:01.815192Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.34) starting as process 1

          2024-11-29T12:45:01.826552Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

          Hello, I suggest you check if there is a port conflict?

          3 months later

          why my password was changed i do not changed my password
          and i cant login to the panel

          this panel sucks and has remote acccess to the server

          i always use the same credentials and now i cant even login to the panel

          i will post this on internet it has back keylogger and remote access my password was changed

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