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] Enable PGLite feature deletes exsting user data #5277

Closed
mjohenneken opened this issue Jan 3, 2025 · 6 comments
Closed

[Bug] Enable PGLite feature deletes exsting user data #5277

mjohenneken opened this issue Jan 3, 2025 · 6 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@mjohenneken
Copy link

📦 Environment

Official Preview

📌 Version

1.42.6

💻 Operating System

Windows

🌐 Browser

Chrome

🐛 Bug Description

I got a message if i would like to enable the pglite client side database for better performance. After confirmation all my client side data (agents, messages, settings) were deleted and got lost. I wasn't expecting that. I would suggest to update the dialog text to make users aware of potential data loss. Is the reset actually intended?

📷 Recurrence Steps

Confirm use of the PGLite on and existing client

🚦 Expected Behavior

No data should be deleted or user should be informed that data will be deleted

📝 Additional Information

LobeChat is installed as PWA

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

👀 @mjohenneken

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 Jan 3, 2025

Hey @mjohenneken! I'm here to help you with any bugs, questions, or contributions. Let's work on resolving this issue together.

The behavior you're experiencing with the PGLite feature is currently expected, as the feature does not automatically migrate existing client-side data when enabled. Users must manually back up their data before enabling PGLite, as automatic data migration is not yet implemented [1][2]. It would indeed be beneficial to update the dialog text to inform users about the potential data loss.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@SpeedupMaster
Copy link
Contributor

#5131

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


#5131

@arvinxx
Copy link
Contributor

arvinxx commented Jan 3, 2025

check this: #5131 (comment)

@arvinxx arvinxx closed this as completed Jan 3, 2025
@github-project-automation github-project-automation bot moved this from Roadmap - Chat 1.x to Done in Lobe Chat Routine Jan 3, 2025
@lobehubbot
Copy link
Member

@mjohenneken

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

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
Archived in project
Development

No branches or pull requests

4 participants