本帖最后由 Paulu 于 2024-1-1 08:29 编辑
为了能快速了解并处理您的问题,请提供以下基础信息:
8.0.3
系统:CentOS 8.3.2011 x86_64(Py3.7.9
开启计划任务备份数据库到谷歌硬盘,出现错误
相关截图(日志、错误):Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 53, in <module> backup.backupDatabaseAll(sys.argv[3], echo_id) File "/www/server/panel/script/backup.py", line 33, in backupDatabaseAll self.backup_database_all(save, echo_id=echo_id) File "class/panelBackup.py", line 659, in backup_database_all status, backup_path = self.backup_database(db_name, save, echo_id=echo_id) File "class/panelBackup.py", line 739, in backup_database upload_path = os.path.join(self._cloud_new.obj.backup_path, "database", db_type, db_name, file_name) File "/www/server/panel/pyenv/lib/python3.7/posixpath.py", line 80, in join a = os.fspath(a)TypeError: expected str, bytes or os.PathLike object, not method
|
|