[BUG] All my conversation history disappeared after upgrading from 1.16.4 to 1.17.0 on linux with AppImage replacement.
Bug Description All my conversation history disappeared after upgrading from 1.16.4 to 1.17.0 on linux with AppImage replacement.
Steps to Reproduce Please provide the steps to reproduce the bug:
just upgrade from 1.16.4 to 1.17.0.
I used to encounter this issue weeks ago after an upgrade, but after restarting the application, the history was back, but this time, both restarting the app and restarting the PC are not working. How can I get back my conversation history? It's conversations in months...
Expected Results Please provide a clear and concise description of what you expected to happen.
Actual Results Please provide a clear and concise description of what actually happened.
Screenshots If possible, please add screenshots to help explain the issue.
Desktop (please complete the following information):
- Operating System: [e.g. Manjaro latest stable release 6.12.48-1-MANJARO]
- Application Version: [e.g. 1.17.0]
tryied to use the latest old config-backup-*.json to replace the current config.json in ~/.config/xyz.chatbox.app, here is the log:
logs/main.log
[2025-10-28 11:55:37.764] [info] [store-node] init store, config path: /home/strawhat/.config/xyz.chatboxapp.app/config.json
[2025-10-28 11:55:38.880] [info] [knowledge-base:index] [KB] Initializing knowledge base system...
[2025-10-28 11:55:38.922] [info] [knowledge-base:db] [DB] Database initialized (total_chunks column already exists)
[2025-10-28 11:55:38.923] [info] [knowledge-base:db] [DB] Database initialized
[2025-10-28 11:55:38.923] [debug] [knowledge-base:db] [DB] Cleaning up processing files from previous session...
[2025-10-28 11:55:38.923] [debug] [knowledge-base:index] [KB] Database initialized
[2025-10-28 11:55:38.923] [debug] [knowledge-base:index] [KB] IPC handlers registered
[2025-10-28 11:55:38.924] [info] [knowledge-base:file-loaders] [FILE] Starting worker loop
[2025-10-28 11:55:38.924] [debug] [knowledge-base:index] [KB] Worker loop started
[2025-10-28 11:55:38.924] [info] [knowledge-base:index] [KB] Knowledge base system initialized successfully in 44ms
[2025-10-28 11:55:39.415] [info] tray: created
[2025-10-28 11:55:39.418] [info] [app-updater] Checking for update
[2025-10-28 11:55:39.418] [info] [app-updater] Update timer started, checking every hour
[2025-10-28 11:55:40.421] [info] [app-updater] Update for version 1.17.0 is not available (latest version: 1.17.0, downgrade is disallowed).
[2025-10-28 11:55:41.053] [info] APP_LOG: Global error handlers initialized
[2025-10-28 11:55:41.054] [info] APP_LOG: initializeApp
[2025-10-28 11:55:41.058] [info] APP_LOG: migrateStorage: config version 12 < current version 13, checking old storages
[2025-10-28 11:55:41.071] [info] APP_LOG: migrateStorage: platform desktop old config version: 12, old storage: DESKTOP_FILE
[2025-10-28 11:55:41.072] [info] APP_LOG: migrateStorage: old version storage found, migrating data from old storage(DESKTOP_FILE) to INDEXEDDB
[2025-10-28 11:55:41.131] [info] APP_LOG: migrateStorage: 1 / 16 migrated
[2025-10-28 11:55:41.148] [info] APP_LOG: migrateStorage: 2 / 16 migrated
[2025-10-28 11:55:41.165] [info] APP_LOG: migrateStorage: 3 / 16 migrated
[2025-10-28 11:55:41.208] [info] APP_LOG: migrateStorage: 4 / 16 migrated
[2025-10-28 11:55:41.239] [info] APP_LOG: migrateStorage: 5 / 16 migrated
[2025-10-28 11:55:41.254] [info] APP_LOG: migrateStorage: 6 / 16 migrated
[2025-10-28 11:55:41.268] [info] APP_LOG: migrateStorage: 7 / 16 migrated
[2025-10-28 11:55:41.282] [info] APP_LOG: migrateStorage: 8 / 16 migrated
[2025-10-28 11:55:41.296] [info] APP_LOG: migrateStorage: 9 / 16 migrated
[2025-10-28 11:55:41.310] [info] APP_LOG: migrateStorage: 10 / 16 migrated
[2025-10-28 11:55:41.326] [info] APP_LOG: migrateStorage: 11 / 16 migrated
[2025-10-28 11:55:41.340] [info] APP_LOG: migrateStorage: 12 / 16 migrated
[2025-10-28 11:55:41.354] [info] APP_LOG: migrateStorage: 13 / 16 migrated
[2025-10-28 11:55:41.369] [info] APP_LOG: migrateStorage: 14 / 16 migrated
[2025-10-28 11:55:41.383] [info] APP_LOG: migrateStorage: 15 / 16 migrated
[2025-10-28 11:55:41.398] [info] APP_LOG: migrateStorage: 16 / 16 migrated
[2025-10-28 11:55:41.407] [info] APP_LOG: migrateOnData: 12, canRelaunch: true
[2025-10-28 11:55:41.415] [info] APP_LOG: migrate_12_to_13, needRelaunch: true
[2025-10-28 11:55:41.415] [info] APP_LOG: migrate: relaunch
[2025-10-28 11:55:41.472] [info] tray: destroyed
[2025-10-28 11:55:41.481] [info] APP_LOG: migrate done
[2025-10-28 11:55:41.495] [info] tray: skip destroy because it does not exist
[2025-10-28 11:55:45.707] [info] [store-node] init store, config path: /home/strawhat/.config/xyz.chatboxapp.app/config.json
[2025-10-28 11:55:46.842] [info] [knowledge-base:index] [KB] Initializing knowledge base system...
[2025-10-28 11:55:46.887] [info] [knowledge-base:db] [DB] Database initialized (total_chunks column already exists)
[2025-10-28 11:55:46.887] [info] [knowledge-base:db] [DB] Database initialized
[2025-10-28 11:55:46.887] [debug] [knowledge-base:db] [DB] Cleaning up processing files from previous session...
[2025-10-28 11:55:46.888] [debug] [knowledge-base:index] [KB] Database initialized
[2025-10-28 11:55:46.888] [debug] [knowledge-base:index] [KB] IPC handlers registered
[2025-10-28 11:55:46.888] [info] [knowledge-base:file-loaders] [FILE] Starting worker loop
[2025-10-28 11:55:46.889] [debug] [knowledge-base:index] [KB] Worker loop started
[2025-10-28 11:55:46.889] [info] [knowledge-base:index] [KB] Knowledge base system initialized successfully in 47ms
[2025-10-28 11:55:47.384] [info] tray: created
[2025-10-28 11:55:47.386] [info] [app-updater] Checking for update
[2025-10-28 11:55:47.387] [info] [app-updater] Update timer started, checking every hour
[2025-10-28 11:55:48.172] [info] [app-updater] Update for version 1.17.0 is not available (latest version: 1.17.0, downgrade is disallowed).
[2025-10-28 11:55:49.040] [info] APP_LOG: Global error handlers initialized
[2025-10-28 11:55:49.041] [info] APP_LOG: initializeApp
[2025-10-28 11:55:49.054] [info] APP_LOG: migrate done
[2025-10-28 11:55:49.173] [debug] [knowledge-base:ipc-handlers] ipcMain: kb:list
while after relaunch the app, the conversation history is not back...
also tried to delete 1.17.0 appimage and download an old version 1.16.4 appimage, and with the config.json replaced, still no luck..
logs/main.log
[2025-10-28 12:04:50.089] [info] [store-node] init store, config path: /home/strawhat/.config/xyz.chatboxapp.app/config.json
[2025-10-28 12:04:51.289] [info] [knowledge-base:index] [KB] Initializing knowledge base system...
[2025-10-28 12:04:51.331] [info] [knowledge-base:db] [DB] Database initialized (total_chunks column already exists)
[2025-10-28 12:04:51.333] [info] [knowledge-base:db] [DB] Database initialized
[2025-10-28 12:04:51.333] [debug] [knowledge-base:db] [DB] Cleaning up processing files from previous session...
[2025-10-28 12:04:51.334] [debug] [knowledge-base:index] [KB] Database initialized
[2025-10-28 12:04:51.334] [debug] [knowledge-base:index] [KB] IPC handlers registered
[2025-10-28 12:04:51.334] [info] [knowledge-base:file-loaders] [FILE] Starting worker loop
[2025-10-28 12:04:51.335] [debug] [knowledge-base:index] [KB] Worker loop started
[2025-10-28 12:04:51.336] [info] [knowledge-base:index] [KB] Knowledge base system initialized successfully in 46ms
[2025-10-28 12:04:51.900] [info] tray: created
[2025-10-28 12:04:51.907] [info] [app-updater] Checking for update
[2025-10-28 12:04:51.907] [info] [app-updater] Update timer started, checking every hour
[2025-10-28 12:04:52.718] [info] [app-updater] Found version 1.17.0 (url: Chatbox-1.17.0-x86_64.AppImage, Chatbox-1.17.0-amd64.deb)
[2025-10-28 12:04:52.718] [info] [app-updater] Downloading update from Chatbox-1.17.0-x86_64.AppImage, Chatbox-1.17.0-amd64.deb
[2025-10-28 12:04:52.721] [info] [app-updater] Cached update file doesn't exist
[2025-10-28 12:04:53.178] [info] [app-updater] File has 591 changed blocks
[2025-10-28 12:04:53.215] [info] [app-updater] Full: 118,784.53 KB, To download: 12,083.63 KB (10%)
[2025-10-28 12:04:53.411] [error] [app-updater] Cannot download differentially, fallback to full download: HttpError: 400
Headers: {
"cf-cache-status": "DYNAMIC",
"cf-ray": "99578d396ea8e656-HKG",
"content-type": "text/html",
"date": "Tue, 28 Oct 2025 04:04:53 GMT",
"nel": "{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}",
"report-to": "{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=GaHSITsbRZ40ny07PEwAbcgF69ij8otnqT8FPjtAUm4DsP2VxkSQwOLQ4nK1JCyX8xkAtIE2QtJam6hzlxDzx4MULD1zSN0QKJYbqr22Za6i4nn1razRoeW%2BM4VDQeA%3D\"}]}",
"server": "cloudflare",
"speculation-rules": "\"/cdn-cgi/speculation\"",
"vary": "Accept-Encoding"
}
at G (/tmp/.mount_Chatbo9ST8kq/resources/app.asar/dist/main/main.js:13:123936)
at X (/tmp/.mount_Chatbo9ST8kq/resources/app.asar/dist/main/main.js:13:295164)
at ClientRequest.<anonymous> (/tmp/.mount_Chatbo9ST8kq/resources/app.asar/dist/main/main.js:13:294470)
at ClientRequest.emit (node:events:513:28)
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:49976)
at SimpleURLLoaderWrapper.emit (node:events:513:28)
[2025-10-28 12:04:53.830] [debug] [knowledge-base:ipc-handlers] ipcMain: kb:list
[2025-10-28 12:05:08.047] [info] [app-updater] New version 1.17.0 has been downloaded to /home/strawhat/.cache/xyz.chatboxapp.app-updater/pending/Chatbox-1.17.0-x86_64.AppImage
have you ever downgrade to lower version after installed 1.16.x?
have you ever downgrade to lower version after installed 1.16.x?
Not sure if downgrading from 1.16.x to 1.15.x ? or downgrading the config.json? I didn't downgrade the app to more older version. Tried to use the old version config.json and 1.16.4, still default conversations displayed in the app. Maybe accidentally I once launched the old version appimage when new version appimage downloaded, but that seems to be working well.
Please try Data Recovery function in this build
![]()
Thanks for the fix! While I'm on Arch based Manjaro but not Debian based system, is it possible to build an AppImage? or I need to write a PKGBUILD file on my own, which I'm not familiar with.