Mac deployment issue #9827
Replies: 7 comments
-
|
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
|
这些日志里的警告是正常的,不会影响 Lobe Chat 的核心功能,可以放心忽略。
只有在你需要极致的 PDF 渲染效果时,才建议手动安装 To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
部署完之后点击登录就是这个错误页面, auth 接口正常, 访问https://auth.example.com/.well-known/openid-configuration 可以返回json,issuer就是AUTH_CASDOOR_ISSUER值, 但是容器日志显示有问题, 这几个容器服务访问是正常的 另外初始化生成的账号密码无法登录casdoor, 提示密码错误, 账号就是admin那个, init_data.json 是空的, 这个密码是来自于init的sh命令跑完后输出的 |
Beta Was this translation helpful? Give feedback.
-
|
是不是因为init_data.json 没东西导致的? 反正初始化脚本无法启动容器, mac上colima这种虚拟机docker方案, 无法挂载目录的方式启动pg, 只能用卷挂载, 能不能改一下啊, 我手动改了之后能启动, 但是还是没有init_data.json的内容, |
Beta Was this translation helpful? Give feedback.
-
Is it because there is nothing init_data.json? Anyway, the initialization script cannot start the container. The virtual machine docker solution like colima on mac cannot start the pg in a way that can be mounted. You can only use volume mounts. Can you change it? I can start it after manually changing it, but there is still no content of init_data.json. |
Beta Was this translation helpful? Give feedback.
-
|
解决了, 初始化脚本执行到pg容器启动失败时赶紧手动终止进程, 然后init_data.json有内容, 然后修改pg为卷挂载后手动启动容器就行了, 千万不要让初始化脚本跑完, 输出lobechat/casdoor/minio的账号密码, 不然init_data.json就被清空了, 很扯淡 |
Beta Was this translation helpful? Give feedback.
-
Solved, the initialization script is executed until the pg container fails to start, and then there is content in init_data.json, then modify the pg to volume mount and start the container manually. Never let the initialization script run, output the account password of lobechat/casdoor/minio, otherwise init_data.json will be cleared, which is very nonsense. |
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
-
📦 Platform
Self hosting Docker
📦 Deploymenet mode
server db(lobe-chat-database image)
📌 Version
latest
💻 Operating System
macOS
🌐 Browser
Chrome
🐛 Bug Description
启动docker compose后, 日志中有很多警告, 正常不?
📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions