[Bug] logto and database are broken since last X updates #5066
-
📦 EnvironmentDocker 📌 Versionlatest 💻 Operating SystemUbuntu 🌐 BrowserChrome, Safari 🐛 Bug DescriptionSince a couple of updates ago, logto stoped working with following error message:
Now database is throwing this message aswell:
I ignored this issue as I had active session where I could continue using agents. However, now that I need to login it seems impossible. Whew trying to login I get this error: I use this docker compose file: https://raw.githubusercontent.com/lobehub/lobe-chat/HEAD/docker-compose/local/setup.sh 📷 Recurrence StepsUse docker compose example 🚦 Expected BehaviorWorking authentication, correct configuration of containers 📝 Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 5 replies
-
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.
-
I found a similar unsolved discussion regarding issues with Docker Compose deployment in Lobe Chat, which might be related to your problem. You can check it out here [1]. For the issues you're facing, here are some troubleshooting steps and information that might help:
Review these points and adjust your configuration accordingly. If the issue persists, consider checking for any updates or patches that might address these specific problems. 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.
-
It seems to be a logto issue. You can try reverting to the version before the update. logto requires a manual database update before each update. |
Beta Was this translation helpful? Give feedback.
-
“This is caused by the logto update, logto was updated to version 1.20.0 today. There are two solutions: Continue to use version v1.19.0 Only keep the lobe-postgres and lobe-logto containers running. After restarting the lobe-logto container, quickly enter the command line to execute commands and switch the database. Remember to back up the data in advance. |
Beta Was this translation helpful? Give feedback.
-
The answer is pretty obvous:
You need to specify the target version in the CLI command... So instead of:
You should use
|
Beta Was this translation helpful? Give feedback.
“This is caused by the logto update, logto was updated to version 1.20.0 today. There are two solutions:
Continue to use version v1.19.0
Enter the logto container and run the following command to deploy the database changes:
npm run alteration deploy”
Only keep the lobe-postgres and lobe-logto containers running. After restarting the lobe-logto container, quickly enter the command line to execute commands and switch the database. Remember to back up the data in advance.