为了能快速了解并处理您的问题,请提供以下基础信息: 系统版本:CentOS 7.6.1810 x86_64(Py3.7.9) 问题描述:新重装的centos和宝塔 直接安装docker 安装好后出现报错 相关截图(日志、错误):https://www.bt.cn/bbs/forum.php?mod=attachment&aid=MTY3Mjc2fDBhYmUxMjdlODBkYzRlMzU0MTRmM2RiYzQ1Zjg3OWJmfDE3MzE3NzU5Mzk%3D&request=yes&_f=.jpg出错了,面板运行时发生错误!AttributeError: module 'public' has no attribute 'get_ursetl'
REQUEST_DATE: 2024-02-19 23:55:09 VERSION: CentOS 7.6.1810 x86_64(Py3.7.9) - 8.0.5 REMOTE_ADDR: 125.93.230.15 REQUEST_URI: POST /btdocker/compose/compose_project_list?REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2315, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2262, in run result = getattr(toObject, get.action)(get) File "class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata) File "/www/server/panel/class/btdockerModel/composeModel.py", line 377, in compose_project_list compose_project = dp.sql("stacks").select() File "/www/server/panel/class/btdockerModel/dk_public.py", line 29, in sql check_db() File "/www/server/panel/class/btdockerModel/dk_public.py", line 24, in check_db execstr = "wget -O {} {}/install/src/docker.db".format(db_path, public.get_ursetl())AttributeError: module 'public' has no attribute 'get_ursetl'
|
-
-
|