为了能快速了解并处理您的问题,请提供以下基础信息: 系统版本:CentOS 7.9.2009 x86_64(Py3.7.9) 问题描述:[url=]无法管理数据库,左边导航栏点击数据库报错[/url] 相关截图(日志、错误):[url=]NotADirectoryError: [Errno 20] Not a directory: '/www/backup/database/mysql/all_backup'[/url]
REQUEST_DATE: 2023-12-18 11:55:02 PAN_VERSION: 8.0.4 OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) REMOTE_ADDR: 118.248.147.121 REQUEST_URI: POST /database?action=GetCloudServerREQUEST_FORM: {'type': 'mysql'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2529, in wsgi_app response = self.full_dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1825, in full_dispatch_request rv = self.handle_user_exception(e) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/www/server/panel/BTPanel/__init__.py", line 488, in database databaseObject = database.database() File "/www/server/panel/class/database.py", line 38, in __init__ os.makedirs(self._MYSQL_ALL_BACKUP_DIR) File "/www/server/panel/pyenv/lib/python3.7/os.py", line 223, in makedirs mkdir(name, mode)NotADirectoryError: [Errno 20] Not a directory: '/www/backup/database/mysql/all_backup' |
|