宝塔Docker安装discourse后没有管理员账号解决方案

提示语

Register Admin Account

Unfortunately, no administrator emails were defined during setup, so finalizing the configuration may be difficult. Please add a developer email in the configuration file or create an administrator account from console.

操作流程

在宝塔容器里,点击终端,输入rake admin:create

root@f88f9bbe5d7a:/# rake admin:create
Email:  你的邮箱替换掉@gmail.com
Password:  
Repeat password:  
Password is too short (minimum is 10 characters)
Email:  你的邮箱替换掉@gmail.com
Password:  
Repeat password:  

Ensuring account is active!

Account created successfully with username user1
Do you want to grant Admin privileges to this account? (Y/n)  Y

Your account now has Admin privileges!
root@f88f9bbe5d7a:/# 

 

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。

给TA打赏
共{{data.count}}人
人已打赏
RackNerd Leaderboard Banner
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索