为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述:备份网站和数据库的计划任务不能运行!但是手动可以自行成功!==========================================================================================Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 43, in <module> backup.backupSiteAll(sys.argv[3], echo_id) File "/www/server/panel/script/backup.py", line 30, in backupSiteAll self.backup_site_all(save, echo_id=echo_id) File "class/panelBackup.py", line 682, in backup_site_all result = self.backup_site(site['name'], save, echo_id=echo_id) File "class/panelBackup.py", line 513, in backup_site self.echo_start() File "class/panelBackup.py", line 119, in echo_start print("\u2605\u5f00\u59cb\u5907\u4efd[{}]".format(public.format_date()))UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-4: ordinal not in range(256)----------------------------------------------------------------------------★[2024-08-29 04:30:03] Successful----------------------------------------------------------------------------Traceback (most recent call last): File "/www/server/panel/script/log_task_analyzer.py", line 63, in <module> f.write(f"{current_time} - \u6700\u540e\u4e00\u6b21\u5b9a\u65f6\u4efb\u52a1\u6267\u884c\u6210\u529f\n")UnicodeEncodeError: 'latin-1' codec can't encode characters in position 22-33: ordinal not in range(256)==========================================================================================Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 43, in <module> backup.backupSiteAll(sys.argv[3], echo_id) File "/www/server/panel/script/backup.py", line 30, in backupSiteAll self.backup_site_all(save, echo_id=echo_id) File "class/panelBackup.py", line 682, in backup_site_all result = self.backup_site(site['name'], save, echo_id=echo_id) File "class/panelBackup.py", line 513, in backup_site self.echo_start() File "class/panelBackup.py", line 119, in echo_start print("\u2605\u5f00\u59cb\u5907\u4efd[{}]".format(public.format_date()))UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-4: ordinal not in range(256)----------------------------------------------------------------------------★[2024-08-30 04:30:04] Successful----------------------------------------------------------------------------Traceback (most recent call last): File "/www/server/panel/script/log_task_analyzer.py", line 63, in <module> f.write(f"{current_time} - \u6700\u540e\u4e00\u6b21\u5b9a\u65f6\u4efb\u52a1\u6267\u884c\u6210\u529f\n")UnicodeEncodeError: 'latin-1' codec can't encode characters in position 22-33: ordinal not in range(256)==========================================================================================Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 43, in <module> backup.backupSiteAll(sys.argv[3], echo_id) File "/www/server/panel/script/backup.py", line 30, in backupSiteAll self.backup_site_all(save, echo_id=echo_id) File "class/panelBackup.py", line 682, in backup_site_all result = self.backup_site(site['name'], save, echo_id=echo_id) File "class/panelBackup.py", line 513, in backup_site self.echo_start() File "class/panelBackup.py", line 119, in echo_start print("\u2605\u5f00\u59cb\u5907\u4efd[{}]".format(public.format_date()))UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-4: ordinal not in range(256)----------------------------------------------------------------------------★[2024-08-31 04:30:04] Successful----------------------------------------------------------------------------Traceback (most recent call last): File "/www/server/panel/script/log_task_analyzer.py", line 63, in <module> f.write(f"{current_time} - \u6700\u540e\u4e00\u6b21\u5b9a\u65f6\u4efb\u52a1\u6267\u884c\u6210\u529f\n")UnicodeEncodeError: 'latin-1' codec can't encode characters in position 22-33: ordinal not in range(256)==========================================================================================Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 43, in <module> backup.backupSiteAll(sys.argv[3], echo_id) File "/www/server/panel/script/backup.py", line 30, in backupSiteAll self.backup_site_all(save, echo_id=echo_id) File "class/panelBackup.py", line 682, in backup_site_all result = self.backup_site(site['name'], save, echo_id=echo_id) File "class/panelBackup.py", line 513, in backup_site self.echo_start() File "class/panelBackup.py", line 119, in echo_start print("\u2605\u5f00\u59cb\u5907\u4efd[{}]".format(public.format_date()))UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-4: ordinal not in range(256)----------------------------------------------------------------------------★[2024-09-01 04:30:03] Successful----------------------------------------------------------------------------Traceback (most recent call last): File "/www/server/panel/script/log_task_analyzer.py", line 63, in <module> f.write(f"{current_time} - \u6700\u540e\u4e00\u6b21\u5b9a\u65f6\u4efb\u52a1\u6267\u884c\u6210\u529f\n")UnicodeEncodeError: 'latin-1' codec can't encode characters in position 22-33: ordinal not in range(256)==========================================================================================Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 43, in <module> backup.backupSiteAll(sys.argv[3], echo_id) File "/www/server/panel/script/backup.py", line 30, in backupSiteAll self.backup_site_all(save, echo_id=echo_id) File "class/panelBackup.py", line 682, in backup_site_all result = self.backup_site(site['name'], save, echo_id=echo_id) File "class/panelBackup.py", line 513, in backup_site self.echo_start() File "class/panelBackup.py", line 119, in echo_start print("\u2605\u5f00\u59cb\u5907\u4efd[{}]".format(public.format_date()))UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-4: ordinal not in range(256)----------------------------------------------------------------------------★[2024-09-02 04:30:04] Successful----------------------------------------------------------------------------Traceback (most recent call last): File "/www/server/panel/script/log_task_analyzer.py", line 63, in <module> f.write(f"{current_time} - \u6700\u540e\u4e00\u6b21\u5b9a\u65f6\u4efb\u52a1\u6267\u884c\u6210\u529f\n")UnicodeEncodeError: 'latin-1' codec can't encode characters in position 22-33: ordinal not in range(256)
==========================================================================================Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 43, in <module> backup.backupSiteAll(sys.argv[3], echo_id) File "/www/server/panel/script/backup.py", line 30, in backupSiteAll self.backup_site_all(save, echo_id=echo_id) File "class/panelBackup.py", line 682, in backup_site_all result = self.backup_site(site['name'], save, echo_id=echo_id) File "class/panelBackup.py", line 513, in backup_site self.echo_start() File "class/panelBackup.py", line 119, in echo_start print("\u2605\u5f00\u59cb\u5907\u4efd[{}]".format(public.format_date()))UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-4: ordinal not in range(256)----------------------------------------------------------------------------★[2024-08-29 04:30:03] Successful----------------------------------------------------------------------------Traceback (most recent call last): File "/www/server/panel/script/log_task_analyzer.py", line 63, in <module> f.write(f"{current_time} - \u6700\u540e\u4e00\u6b21\u5b9a\u65f6\u4efb\u52a1\u6267\u884c\u6210\u529f\n")UnicodeEncodeError: 'latin-1' codec can't encode characters in position 22-33: ordinal not in range(256)==========================================================================================Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 43, in <module> backup.backupSiteAll(sys.argv[3], echo_id) File "/www/server/panel/script/backup.py", line 30, in backupSiteAll self.backup_site_all(save, echo_id=echo_id) File "class/panelBackup.py", line 682, in backup_site_all result = self.backup_site(site['name'], save, echo_id=echo_id) File "class/panelBackup.py", line 513, in backup_site self.echo_start() File "class/panelBackup.py", line 119, in echo_start print("\u2605\u5f00\u59cb\u5907\u4efd[{}]".format(public.format_date()))UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-4: ordinal not in range(256)----------------------------------------------------------------------------★[2024-08-30 04:30:04] Successful----------------------------------------------------------------------------Traceback (most recent call last): File "/www/server/panel/script/log_task_analyzer.py", line 63, in <module> f.write(f"{current_time} - \u6700\u540e\u4e00\u6b21\u5b9a\u65f6\u4efb\u52a1\u6267\u884c\u6210\u529f\n")UnicodeEncodeError: 'latin-1' codec can't encode characters in position 22-33: ordinal not in range(256)==========================================================================================Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 43, in <module> backup.backupSiteAll(sys.argv[3], echo_id) File "/www/server/panel/script/backup.py", line 30, in backupSiteAll self.backup_site_all(save, echo_id=echo_id) File "class/panelBackup.py", line 682, in backup_site_all result = self.backup_site(site['name'], save, echo_id=echo_id) File "class/panelBackup.py", line 513, in backup_site self.echo_start() File "class/panelBackup.py", line 119, in echo_start print("\u2605\u5f00\u59cb\u5907\u4efd[{}]".format(public.format_date()))UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-4: ordinal not in range(256)----------------------------------------------------------------------------★[2024-08-31 04:30:04] Successful----------------------------------------------------------------------------Traceback (most recent call last): File "/www/server/panel/script/log_task_analyzer.py", line 63, in <module> f.write(f"{current_time} - \u6700\u540e\u4e00\u6b21\u5b9a\u65f6\u4efb\u52a1\u6267\u884c\u6210\u529f\n")UnicodeEncodeError: 'latin-1' codec can't encode characters in position 22-33: ordinal not in range(256)==========================================================================================Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 43, in <module> backup.backupSiteAll(sys.argv[3], echo_id) File "/www/server/panel/script/backup.py", line 30, in backupSiteAll self.backup_site_all(save, echo_id=echo_id) File "class/panelBackup.py", line 682, in backup_site_all result = self.backup_site(site['name'], save, echo_id=echo_id) File "class/panelBackup.py", line 513, in backup_site self.echo_start() File "class/panelBackup.py", line 119, in echo_start print("\u2605\u5f00\u59cb\u5907\u4efd[{}]".format(public.format_date()))UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-4: ordinal not in range(256)----------------------------------------------------------------------------★[2024-09-01 04:30:03] Successful----------------------------------------------------------------------------Traceback (most recent call last): File "/www/server/panel/script/log_task_analyzer.py", line 63, in <module> f.write(f"{current_time} - \u6700\u540e\u4e00\u6b21\u5b9a\u65f6\u4efb\u52a1\u6267\u884c\u6210\u529f\n")UnicodeEncodeError: 'latin-1' codec can't encode characters in position 22-33: ordinal not in range(256)==========================================================================================Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 43, in <module> backup.backupSiteAll(sys.argv[3], echo_id) File "/www/server/panel/script/backup.py", line 30, in backupSiteAll self.backup_site_all(save, echo_id=echo_id) File "class/panelBackup.py", line 682, in backup_site_all result = self.backup_site(site['name'], save, echo_id=echo_id) File "class/panelBackup.py", line 513, in backup_site self.echo_start() File "class/panelBackup.py", line 119, in echo_start print("\u2605\u5f00\u59cb\u5907\u4efd[{}]".format(public.format_date()))UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-4: ordinal not in range(256)----------------------------------------------------------------------------★[2024-09-02 04:30:04] Successful----------------------------------------------------------------------------Traceback (most recent call last): File "/www/server/panel/script/log_task_analyzer.py", line 63, in <module> f.write(f"{current_time} - \u6700\u540e\u4e00\u6b21\u5b9a\u65f6\u4efb\u52a1\u6267\u884c\u6210\u529f\n")UnicodeEncodeError: 'latin-1' codec can't encode characters in position 22-33: ordinal not in range(256)
|
|