The problem solved around 8-9 hours after I reported here, but the issue returned again. I tried to use the command but it didn't help, the return is:

I can't access either API, website, or panel. CURL -I returns that the website is OK status 200 while the panel is back to the 302 Found status.
EDIT (ADITIONAL INFORMATION FROM BT 22)
[2025-08-04 14:42:35][DEBUG] - Creating ipset aapanel.ipv4.whitelist
[2025-08-04 14:42:35][DEBUG] - Creating ipset aapanel.ipv4.blacklist
/www/server/panel/class_v2/system_v2.py:666: SyntaxWarning: invalid escape sequence '\d'
networkInfo['simple_system'] = networkInfo['system'].split(' ')[0] + ' ' + re.search('\d+', networkInfo['system']).group()
/www/server/panel/class_v2/database_v2.py:736: SyntaxWarning: invalid escape sequence '\s'
rep = "datadir\s*=\s*(.+)\n"
/www/server/panel/class_v2/database_v2.py:1973: SyntaxWarning: invalid escape sequence '\-'
import_p = public.ExecShell("ps -ef|grep mysql|grep '\-\-force'|grep '{}$'".format(db_name))
/www/server/panel/class_v2/database_v2.py:2717: SyntaxWarning: invalid escape sequence '\s'
mysql_cnf = re.sub("\n#\s*log-bin", "\nlog-bin", mysql_cnf)
/www/server/panel/class_v2/database_v2.py:3358: SyntaxWarning: invalid escape sequence '\s'
"GRANT\s*([^.]+)\s*ON\s*([^.]+)\.([^.]+)\s*TO", access_item[0], flags=re.IGNORECASE
databases get_list
sites php
/www/server/panel/plugin/nodejs/nodejs_main.py:87: SyntaxWarning: invalid escape sequence '\.'
bashrc_content += '''export NVM_DIR="/www/server/nvm"
/www/server/panel/class_v2/firewallModelV2/iptablesServices.py:94: SyntaxWarning: invalid escape sequence '\.'
ipset_cmd = "ipset list {}_bt_user_{}_ipset | awk '/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/ && /timeout/ {{print $1, $3}}'".format(