为了能快速了解并处理您的问题,请提供以下基础信息:
系统版本:Ubuntu 22.04.4 LTS (Jammy Jellyfish) x86_64(Py3.7.8)
相关截图(日志、错误):========================================================================================== ★开始备份[2024-09-20 10:37:24] ========================================================================================== Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 58, in <module> backup.backupDatabase(sys.argv[2], sys.argv[3], echo_id) File "/www/server/panel/script/backup.py", line 23, in backupDatabase self.backup_database(name, save=count, echo_id=echo_id) File "class/panelBackup.py", line 895, in backup_database status, msg = func_backup_database(database, args) File "class/panelBackup.py", line 1076, in mysql_backup_database db_host = conn_config["db_host"] TypeError: list indices must be integers or slices, not str ---------------------------------------------------------------------------- ★[2024-09-20 10:37:24] Successful ----------------------------------------------------------------------------
|
|