为了能快速了解并处理您的问题,请提供以下基础信息:
宝塔7.8.0
Windows Server 2022 Standard (build 20348) x64 (Py3.8.6)
REQUEST_DATE: 2023-04-26 23:19:18 PAN_VERSION: 7.8.0 OS_VERSION: Windows Server 2022 Standard (build 20348) x64 (Py3.8.6) REMOTE_ADDR: 192.168.0.101 REQUEST_URI: POST /database/mongodb/ToBackup?REQUEST_FORM: {'data': '{"id":1}'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.58
Traceback (most recent call last): File "D:\RuanJianKu\BtSoft\panel\BTPanel\__init__.py", line 1534, in publicObject return run_exec().run(toObject, defs, get) File "D:\RuanJianKu\BtSoft\panel\BTPanel\__init__.py", line 1731, in run result = eval(fun) File "", line 1, in File "D:\RuanJianKu\BtSoft\panel/class\panelDatabaseController.py", line 79, in model result = run_object(pdata) File "D:\RuanJianKu\BtSoft\panel/class/databaseModel/mongodbModel.py", line 439, in ToBackup if os.path.getsize(sfile) < 1: File "C:\Program Files\python\lib\genericpath.py", line 50, in getsize return os.stat(filename).st_sizeFileNotFoundError: [WinError 2] 系统找不到指定的文件。: 'D:/backup/database/mongodb/mx_sever_20230426_231917/mx_sever/chat.bson' |
|