[Bug] lobe-chat-db使用compose线上部署,logto启动后自动退出(其他服务正常) #4009 #5151
-
📦 EnvironmentDocker 📌 Versionv1.36.33 💻 Operating SystemUbuntu 🌐 BrowserEdge 🐛 Bug Description这个bug本来在 #4009 中解决,解决方案是指定Logto的版本为1.19.0,然而当我将 📷 Recurrence StepsNo response 🚦 Expected BehaviorNo response 📝 Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 19 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.
-
@Silas-Xu 你好!我是Dosu,我是一个可以帮助你解决bug、回答问题,并成为贡献者的机器人。我会在等待人类维护者的时候帮助你。期待和你一起解决问题!🤖 To address the issue with Logto not starting after updating
These steps will help you configure Casdoor as an authentication provider for LobeChat [1][2][3]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
大概率跟 LobeChat 没关系,建议检查下 logto 的版本和配置 |
Beta Was this translation helpful? Give feedback.
-
It most likely has nothing to do with LobeChat. It is recommended to check the configuration of logto. |
Beta Was this translation helpful? Give feedback.
-
先退回之前的版本,看下能不能正常启动,然后进入logto容器手动更新数据库。 |
Beta Was this translation helpful? Give feedback.
-
First return to the previous version to see if it can start normally, and then enter the logto container to manually update the database. |
Beta Was this translation helpful? Give feedback.
-
logto版本用1.19.0和latest都没成功。 |
Beta Was this translation helpful? Give feedback.
-
Logto versions 1.19.0 and latest were unsuccessful. |
Beta Was this translation helpful? Give feedback.
-
casdoor可以参考这个
|
Beta Was this translation helpful? Give feedback.
-
感恩,我用的域名模式,做了反向代理,可能需要登陆做一些配置啥的,只改 |
Beta Was this translation helpful? Give feedback.
-
Thank you. I used the domain name mode and made a reverse proxy. I may need to log in and do some configuration. I don’t know if it will work if I just change |
Beta Was this translation helpful? Give feedback.
-
进入logto容器运行 |
Beta Was this translation helpful? Give feedback.
-
Enter the logto container and run |
Beta Was this translation helpful? Give feedback.
-
和logto部署基本上一样的,就只是把logto换成casdoor |
Beta Was this translation helpful? Give feedback.
-
It is basically the same as logto deployment, just replace logto with casdoor |
Beta Was this translation helpful? Give feedback.
-
谢谢大佬,已解决。 解决过程: # 位于容器内的/etc/logto目录下
npm run alteration deploy 输出信息为: > alteration
> logto db alt deploy
info Found 0 alteration to deploy 然后停止容器,将docker-compose.yml中的lobe-chat-db指定到最新版本,logto仍然指定1.19.0版本, |
Beta Was this translation helpful? Give feedback.
-
This issue is closed, If you have any questions, you can comment and reply. |
Beta Was this translation helpful? Give feedback.
-
Try to specify the target version on DB alteration. E.g.
|
Beta Was this translation helpful? Give feedback.
-
升级到logto 1.22,修改了 docker-compose.yml 中 lobe-chat-db v1.39.0 logto 1.22.0 正常启用 |
Beta Was this translation helpful? Give feedback.
Try to specify the target version on DB alteration. E.g.