计划任务备份异常
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:Linux正式版9.3.0、七牛云储存 6.0系统版本:Debian GNU/Linux 12 (bookworm) x86_64(Py3.7.16)
问题描述:计划任务备份数据异常,自动执行会报错,手动执行可以成功,点了修复没有效果,重新安装Crontab也是没效果。
相关截图(日志、错误):Traceback (most recent call last):
File "/www/server/panel/script/backup.py", line 58, in <module>
backup.backupDatabase(sys.argv, sys.argv, 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 849, in backup_database
self.echo_start()
File "class/panelBackup.py", line 120, 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)
页:
[1]