【待反馈】安装报错导致生成的用户名不显示
安装过程中已经生成了用户名了。然后报错Traceback (most recent call last):
File "tools.py", line 612, in <module>
set_panel_pwd(sys.argv)
File "tools.py", line 66, in set_panel_pwd
result = sql.table('users').where('id=?',(1,)).setField('password',public.password_salt(public.md5(password),uid=1))
File "/www/server/panel/class/public.py", line 1901, in password_salt
chdck_salt()
File "/www/server/panel/class/public.py", line 1887, in chdck_salt
pdata['password'] = md5(md5(u_info['password']+'_bt.cn') + salt)
TypeError: string indices must be integers
最终导致安装完成后用户名不显示
我还没登录试有没有别的二影响
实测,使用上面那个用户名跟密码登录不上去,使用bt命令修改密码登录成功
无法显示文件以及目录
您好,您安装的系统版本是什么系统版本呢?执行一下下面命令修复一下看看
curl https://download.bt.cn/install/update_panel.sh|bash
页:
[1]