宝塔用户_tmyqcv 发表于 2023-11-3 12:58:01

【已完成】删除站点,数据库出错

为了能快速了解并处理您的问题,请提供以下基础信息:面板REQUEST_DATE: 2023-11-03 12:53:27 PAN_VERSION: 7.9.0OS_VERSION: Windows Server 2012 R2 Datacenter (build 9600) x64 (Py3.8.6) REMOTE_ADDR: 111.11.157.170 REQUEST_URI: POST /files?action=DeleteDirREQUEST_FORM: {'path': 'd:/wwwroot/301.lctxkj.cn/install'}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.76Traceback (most recent call last):File "D:\BtSoft\panel/class\files.py", line 680, in DeleteDir    shutil.rmtree(get.path)File "C:\Program Files\python\lib\shutil.py", line 737, in rmtree    return _rmtree_unsafe(path, onerror)File "C:\Program Files\python\lib\shutil.py", line 619, in _rmtree_unsafe    onerror(os.rmdir, path, sys.exc_info())File "C:\Program Files\python\lib\shutil.py", line 617, in _rmtree_unsafe    os.rmdir(path)PermissionError: 另一个程序正在使用此文件,进程无法访问。: 'd:/wwwroot/301.lctxkj.cn/install'During handling of the above exception, another exception occurred:Traceback (most recent call last):File "D:\BtSoft\panel\BTPanel\__init__.py", line 1581, in publicObject    return run_exec().run(toObject, defs, get)File "D:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run    result = eval(fun)File "", line 1, in File "D:\BtSoft\panel/class\files.py", line 683, in DeleteDir    shutil.rmtree(get.path)File "C:\Program Files\python\lib\shutil.py", line 737, in rmtree    return _rmtree_unsafe(path, onerror)File "C:\Program Files\python\lib\shutil.py", line 619, in _rmtree_unsafe    onerror(os.rmdir, path, sys.exc_info())File "C:\Program Files\python\lib\shutil.py", line 617, in _rmtree_unsafe    os.rmdir(path)PermissionError: 另一个程序正在使用此文件,进程无法访问。: 'd:/wwwroot/301.lctxkj.cn/install'

谢花郎 发表于 2023-11-3 14:26:41

您好,这里已经提示d:/wwwroot/301.lctxkj.cn/install文件路径正在被使用,如您再服务器内有打开此路径请先关闭然后重新删除
如果未打开还是提示此问题,请尝试重启面板或者是停止NGINX\APAHE\IIS服务然后重新删除。

宝塔用户_tmyqcv 发表于 2023-11-3 16:11:02

谢花郎 发表于 2023-11-3 14:26
您好,这里已经提示d:/wwwroot/301.lctxkj.cn/install文件路径正在被使用,如您再服务器内有打开此路径请 ...

数据库删除失败怎么解决
根目录多出后缀-backup

谢花郎 发表于 2024-1-31 14:18:10

由于您的帖子长时间未回复,这边将帖子状态修改已完成,如您当前问题未解决,您可以重新在帖子内回复或者重新发帖子反馈,如是有新问题您可以重新发帖子反馈
页: [1]
查看完整版本: 【已完成】删除站点,数据库出错