|
新安装的宝塔7.7开心版,宝塔安装在旧硬盘,网站创建在新挂载的硬盘,安装好后新建网站,内容无法访问,想把网站打包下来,点击宝塔面板里面的下载报错。我搜索了下,官方说可以点击右上角修复面板即可,但是我点击后面板直接失联,重新安装整个系统和宝塔面板一样遇到这个问题。网上有人说升级Flask,升级后依然这样子。
请问有哪位大佬遇到过这种问题吗?应该不是开心版的问题,我另外一台服务器一模一样的安装教程(开心版),都可以正常创建,就这台机器不行,是因为硬盘挂载的问题吗?还是什么问题?求各位大佬帮帮忙
[ol]出错了,面板运行时发生错误!TypeError: send_file() got an unexpected keyword argument 'add_etags'REQUEST_DATE: 2024-04-09 PAN_VERSION: 7.7.0 OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) REMOTE_ADDR: REQUEST_URI: GET /download?filename=REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 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 943, in download cache_timeout=0)TypeError: send_file() got an unexpected keyword argument 'add_etags'[/ol]复制代码 |
|