本帖最后由 elive777 于 2023-11-3 15:22 编辑
我也是这个问题。出问题的这台 BT 8.0.3、谷歌云网盘 2.4,我还有另外一台相同的BT 8.0.3、谷歌云网盘 2.4,但能正常使用。
- |-数据库大小:3.91 MB
- |-数据库字符集:utf8mb4
- |-分区/data可用磁盘空间为:890.99 GB,可用Inode为:62513119
- |-开始导出数据库:2023-11-03 07:14:00
- |-数据库备份完成,耗时0.15秒,压缩包大小:125.75 KB
- |-正在上传到Google Drive,请稍候...
- 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
- ----------------------------------------------------------------------------
- ★[2023-11-03 07:14:00] Successful
- ----------------------------------------------------------------------------
复制代码
|