lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
44.09k stars 9.85k forks source link

My data has been wiped out twice #1883

Open vibl opened 7 months ago

vibl commented 7 months ago

💻 Operating System

Ubuntu

📦 Environment

Docker

🌐 Browser

Other

🐛 Bug Description

All my Lobe Chat data (config, bots, messages) have disappeared twice. Once last week and once this morning.

When I look into IndexedDB, I can only find the two messages that composed the last conversation I had yesterday. All the other object stores are empty. I had numerous conversations with numerous bots, and everything has been deleted.

The first time it happened was with the Docker version and the last time was with a Git install and npm run start (v0.145.5).

The browser is Brave.

I have no idea what could have happened. As far as I know, I didn't do anything other than browse and use my computer normally.

However, there is an interesting clue in the ~/.config/BraveSoftware/Brave-Browser/Default/IndexedDB/.

Some directories are missing from previous installs (one on Vercel and one on localhost but another port).

Does anyone have an idea of what could delete entire IndexedDB directories?

🚦 Expected Behavior

No response

📷 Recurrence Steps

No response

📝 Additional Information

No response

lobehubbot commented 7 months ago

👀 @vibl

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

arvinxx commented 7 months ago

please check this RFC, I will implement it soon: https://github.com/lobehub/lobe-chat/discussions/1685