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] 桌面版本更新2.10.3+后历史记录全部消失 #4189

Open
3 tasks
LannyDabriz opened this issue Mar 2, 2024 · 15 comments
Open
3 tasks

[Bug] 桌面版本更新2.10.3+后历史记录全部消失 #4189

LannyDabriz opened this issue Mar 2, 2024 · 15 comments
Labels
bug Something isn't working

Comments

@LannyDabriz
Copy link

Bug Description

桌面版本更新2.10.3以上版本后历史记录全部消失,包括API Key和消息记录等内容全部丢失,降级回2.10.2以下版本恢复正常。
此前还出现过消息记录导出后无法导入的bug。

Steps to Reproduce

更新2.10.3以上版本

Expected Behavior

在2.10.3+版本上恢复旧版本的消息记录

Screenshots

No response

Deployment Method

  • Docker
  • Vercel
  • Server

Desktop OS

Windows 11

Desktop Browser

Edge

Desktop Browser Version

122

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

@LannyDabriz LannyDabriz added the bug Something isn't working label Mar 2, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] All history records disappear after the desktop version is updated to 2.10.3+

@H0llyW00dzZ
Copy link
Contributor

Bug Description

桌面版本更新2.10.3以上版本后历史记录全部消失,包括API Key和消息记录等内容全部丢失,降级回2.10.2以下版本恢复正常。 此前还出现过消息记录导出后无法导入的bug。

Steps to Reproduce

更新2.10.3以上版本

Expected Behavior

在2.10.3+版本上恢复旧版本的消息记录

Screenshots

No response

Deployment Method

  • Docker
  • Vercel
  • Server

Desktop OS

Windows 11

Desktop Browser

Edge

Desktop Browser Version

122

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

What version were you using previously?

@LannyDabriz
Copy link
Author

2.10.2

@H0llyW00dzZ
Copy link
Contributor

2.10.2

I think the signature of Tauri has changed. This is because the tauri.conf.json has been modified.

Tip

If you wish to update the version for a desktop, here's a suggestion:

Use the files that are contained in the ZIP instead of the MSI.

For example:
image

@H0llyW00dzZ
Copy link
Contributor

@LannyDabriz, try installing the old version first, then back up your data by exporting it from the settings. After that, you can update to the latest version.

@LannyDabriz
Copy link
Author

This doesn't work. In fact, there's another bug that has been present since version 2.9—my message history cannot be re-imported after being exported, even for version 2.10.2. Perhaps this is related to an error in my message history or the settings content because when I install NextChat on another computer, the newly exported message history can be imported.

@H0llyW00dzZ
Copy link
Contributor

This doesn't work. In fact, there's another bug that has been present since version 2.9—my message history cannot be re-imported after being exported, even for version 2.10.2. Perhaps this is related to an error in my message history or the settings content because when I install NextChat on another computer, the newly exported message history can be imported.

version 2.9 cannot be re-imported it because of different a local storage

@LannyDabriz
Copy link
Author

Could you tell me where the storage locations for 2.9, 2.10, and 2.11 are respectively?

@H0llyW00dzZ
Copy link
Contributor

H0llyW00dzZ commented Mar 2, 2024

Could you tell me where the storage locations for 2.9, 2.10, and 2.11 are respectively?

The location remains the same for all versions. What you need to know is that it can be found here.

However, in Tauri, the location depends on the signature, identifier. For example, when this is modified, it disappears when you use the app that has already been modified. You need to back it up before using a new one that contains a tauri.conf.json that has been modified.

@TCOTC
Copy link

TCOTC commented Mar 13, 2024

我也遇到了相同的问题,幸好降级可以恢复。有谁知道 NextChat 的本地数据存储在哪个路径吗?我想要备份一下

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I had the same problem and luckily the downgrade was reversible. Does anyone know where NextChat's local data is stored? I want to make a backup

@TCOTC
Copy link

TCOTC commented Mar 13, 2024

由于 #3562 的问题,我无法将旧版数据导入新版。希望问题能尽快解决

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Due to an issue with #3562, I cannot import data from the old version into the new version. Hope the problem can be solved as soon as possible

@TCOTC
Copy link

TCOTC commented Mar 13, 2024

我回退到了 v2.9.7 ,导出本地数据后升级到最新版导入数据,可以正常使用了(只丢失了部分配置)

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I rolled back to v2.9.7, exported the local data and upgraded to the latest version to import the data, and it can be used normally. (Only part of the configuration is lost)

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
None yet
Development

No branches or pull requests

4 participants