【待反馈】宝塔升级 选 16,直接没有www目录了,
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:修复宝塔,直接www 目录没有了,目前数据库还能连接上,就是站点不能执行。系统版本:
问题描述:
相关截图(日志、错误):
您好,面板升级修复是不会操作默认目录的,您那边是否有做过服务器重启呢?同时您当前执行命令行的账户是否root账户。
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1509, in dispatch_request
File "/www/server/panel/BTPanel/__init__.py", line 1330, in login
import userlogin
File "class/userlogin.py", line 10, in <module>
import public,os,sys,db,time,json,re
File "class/db.py", line 10, in <module>
import sqlite3
ModuleNotFoundError: No module named 'sqlite3'
/www/server/panel/BT-Panel: line 10: from: command not found
/www/server/panel/BT-Panel: line 12: syntax error near unexpected token `import'
/www/server/panel/BT-Panel: line 12: `import os,sys,ssl,time,logging'
/www/server/panel/BT-Panel: line 10: from: command not found
/www/server/panel/BT-Panel: line 12: syntax error near unexpected token `import'
/www/server/panel/BT-Panel: line 12: `import os,sys,ssl,time,logging'
/www/server/panel/BT-Panel: line 10: from: command not found
/www/server/panel/BT-Panel: line 12: syntax error near unexpected token `import'
/www/server/panel/BT-Panel: line 12: `import os,sys,ssl,time,logging' https://nos.netease.com/study-image/cb3f3c74292b4ab48cd2296ec6b7e6d6.png 问题解决了吗楼主
页:
[1]