Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] All configurations, chat message history, get lost after my computer weak up from a hibernate #4727

Open
JerryZhao963 opened this issue Nov 18, 2024 · 2 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@JerryZhao963
Copy link

JerryZhao963 commented Nov 18, 2024

📦 Environment

Other

📌 Version

v1.31.10

💻 Operating System

Windows

🌐 Browser

Edge

🐛 Bug Description

When the computer wakes up from hibernation, all application configurations and chat message history are lost.

📷 Recurrence Steps

  1. Just open the web app
  2. Configure models, assistants and started chatting.
  3. Hibernate the PC for one night
  4. After one night, wake up the PC from Hibernate
  5. All data lost

🚦 Expected Behavior

After waking up PC from Hibernate, all data should still be there

📝 Additional Information

Platform: Windows 11, Version 23H2 (OS Build 22631.4460)
Browser: Edge Version 131.0.2903.51 (Official build) (64-bit)
Using the default Local Data Storage

@JerryZhao963 JerryZhao963 added the 🐛 Bug Something isn't working | 缺陷 label Nov 18, 2024
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Nov 18, 2024
@lobehubbot
Copy link
Member

👀 @JerryZhao963

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

Copy link

dosubot bot commented Nov 18, 2024

Hi @JerryZhao963, I'm here to help you with any bugs, questions, or contributions you have. Let's solve this together!

The issue you're experiencing with data loss after waking up from hibernation might be related to how the application handles data persistence. The application uses multiple storage mechanisms, including local storage and IndexedDB, to save user data. It's possible that the data isn't being properly saved or restored after hibernation due to how these storage mechanisms are managed during system power state changes.

Unfortunately, there isn't specific information available about handling system events like hibernation in the repository. However, you might want to check if there are any browser settings or extensions that could be affecting data persistence. Additionally, ensuring that the browser and the application are up to date might help resolve the issue.

If the problem persists, it might be worth investigating further into the application's error handling or logging for data retrieval failures after system events, although specific details on this are not available in the repository.

To continue talking to Dosu, mention @dosu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

2 participants