AprilNEA / ChatGPT-Admin-Web

One-stop system for shared use of AI within teams and organizationswith | 在团队和组织内共享使用人工智能的一站式系统
https://chat.xjt.lu
MIT License
3.2k stars 1.23k forks source link

http://localhost:3000/install 写入不了 #196

Closed yahengqi closed 9 months ago

yahengqi commented 9 months ago

https://manual.sku.moe/project/chatgpt-admin-web/quickstart 安装这个上面一步一步,在本地搭建好了,本地安装的docker,redis,postgres 1.http://localhost:3000/install 创建不了管理员 2.http://localhost:3000/auth 也无法登陆 请问下是否需要搭建数据库,在哪个文件里修改呢

Guikong001 commented 9 months ago

我也是,数据库是用docker新建的 创建初始用户的时候显示 image

deluxebear commented 9 months ago

好像都有这问题,不知道作者有没有看到消息,帮忙处理一下呗

assassinliujie commented 9 months ago

同样的问题

assassinliujie commented 9 months ago

手动访问数据库之后好了,怀疑就那个创建管理员函数出bug了

yahengqi commented 9 months ago

手动访问数据库之后好了,怀疑就那个创建管理员函数出bug了 问下如何手动访问数据库,在哪个文件里

assassinliujie commented 9 months ago

手动访问数据库之后好了,怀疑就那个创建管理员函数出bug了 问下如何手动访问数据库,在哪个文件里 就是PostgreSQL啊,你随便用个习惯的工具连进去自己填上一行数据就好了,密码是用10强度的bcrypt加密的,找个在线生成的

yahengqi commented 9 months ago

手动访问数据库之后好了,怀疑就那个创建管理员函数出bug了 问下如何手动访问数据库,在哪个文件里 就是PostgreSQL啊,你随便用个习惯的工具连进去自己填上一行数据就好了,密码是用10强度的bcrypt加密的,找个在线生成的

好吧,相当于库中至少有一条数据,谢谢

AprilNEA commented 9 months ago

我也是,数据库是用docker新建的 创建初始用户的时候显示 image

邮箱或手机号

AprilNEA commented 9 months ago

已修改placeholder:8498391