Whole chat history deleted / lost after updating linux kernel.
repro.
- i start from (prev. installed) appimage (v0.50.7, after updating system & linux kernel
- I chat with the AI, i work i vibe. I close cursor
- i open up cursor, i panic, all history from all workspaces, pooof gone.
- i check sql3 db files, some are ~4MB, but reading them they seem empty. I do VACUUM, pooof datasize under 1MB.
system
- manjaro linux , 16GB ram, AMD Ryzen 7
analysis from cursor
Why This Can Happen
-
AppImage Sandboxing or Filesystem Changes
- AppImages sometimes use FUSE or other sandboxing mechanisms.
- A kernel update can change how FUSE, mounts, or user permissions work.
- This can cause the AppImage to:
- Lose access to its previous config/data directories.
- Start using a new, empty config directory (so it āforgetsā old data and canāt write new data).
-
Permissions or SELinux/AppArmor
- Newer kernels may enforce stricter permissions or security policies.
- Cursor may not have write access to
~/.config/Cursor
anymore.
-
Cursor Bug or Regression
- Itās possible (though less likely) that a Cursor update or bug is causing it to not save chats.
How to Check
-
Check If New Data Is Written
- Open Cursor, start a new chat, close Cursor, and reopen it.
- If the chat is gone, Cursor is not persisting data.
-
Check File Modification Times
- Run:
ls -l ~/.config/Cursor/User/workspaceStorage/*/state.vscdb
- See if the modification time updates after you use Cursor.
- Run:
-
Check Permissions
- Make sure you have write permissions to the config directory:
touch ~/.config/Cursor/testfile
- If this fails, itās a permissions issue.
- Make sure you have write permissions to the config directory:
-
Run Cursor from Terminal
- Start Cursor from a terminal and watch for error messages about file access.
What To Do If This Is the Problem
- Switch to the AUR
cursor-bin
version (recommended for Arch/Manjaro users). This version is less likely to have sandboxing or FUSE issues. - Check for AppImage updatesāmaybe a newer version fixes this.
- Report the issue to Cursorās GitHub or Discord, mentioning your kernel version and that youāre using AppImage.
TL;DR
- Yes, a kernel update can break AppImageās ability to store data.
- Check if files are being updated.
- Switch to
cursor-bin
from AUR for better reliability.
Update
I downloaded app image for 0.50.5 , running it now, chats are persistent again