重裝面板
安裝命令只是重新安裝了面板,不會影響網站數據,最好先對網站數據進行備份
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh
python錯誤
遇到這種錯誤解決起來容易點,錯誤代碼如下:
Starting Bt-Panel… failed
——————————————————
Traceback (most recent call last):
File “main.py”, line 101, in <module>
if not os.path.exists(templatesConf): public.writeFile(templatesConf,’default’);
AttributeError: ‘module’ object has no attribute ‘writeFile’
——————————————————
Error: BT-Panel service startup failed.
錯誤原因:
python public包 跟面板衝突。如何解決呢?可以嘗試使用下面的兩條命令:
pip uninstall public
bt restart