Clipboard history not saved between restarts

For the last few alphas I've noticed that the clipboard manager's history isn't saved between restarts of BTT. Is this intentional, or have I missed a setting somewhere?

Device information:

  • Type of Mac: Mac Studio 2022
  • macOS version: 15.6
  • BetterTouchTool version: 5.554

Additional information (e.g. crash logs, related issues, etc.):

Interestingly, this problem does not occur on my MacBook Pro, running the same OS version.

Is there a file where the clipboard history is stored which might be corrupted on the machine where it’s not getting saved?

These are the files, but I suggest checking/searching in the forum as well to be on the safe side.

~/Library/Application Support/BetterTouchTool/BTTClipboardManager_20241210.sqlite
~/Library/Application Support/BetterTouchTool/BTTClipboardManager_20241210.sqlite-shm
~/Library/Application Support/BetterTouchTool/BTTClipboardManager_20241210.sqlite-wal

This setting can also cause such behavior if it is set to 0:

The setting was set to 14 days, so that’s not the problem.

I looked for the files described by @xidiot and found a whole bunch of them, some with the word “corrupted” in the name:

BTTClipboardManager_20241210.20251507sqlite
BTTClipboardManager_20241210.20251507sqlite_20250903_160422_corrupted
BTTClipboardManager_20241210.20251507sqlite_20250903_160422_corrupted-shm
BTTClipboardManager_20241210.20251507sqlite_20250903_160422_corrupted-wal
BTTClipboardManager_20241210.20251507sqlite_20250903_160443_corrupted
BTTClipboardManager_20241210.20251507sqlite_20250903_160443_corrupted-shm
BTTClipboardManager_20241210.20251507sqlite_20250903_160443_corrupted-wal
BTTClipboardManager_20241210.20251507sqlite_20250903_160539_corrupted
BTTClipboardManager_20241210.20251507sqlite_20250903_160539_corrupted-shm
BTTClipboardManager_20241210.20251507sqlite_20250903_160539_corrupted-wal
BTTClipboardManager_20241210.20251507sqlite_20250917_180210_corrupted
BTTClipboardManager_20241210.20251507sqlite_20250917_180210_corrupted-shm
BTTClipboardManager_20241210.20251507sqlite_20250917_180210_corrupted-wal
BTTClipboardManager_20241210.20251507sqlite_20250918_105900_corrupted
BTTClipboardManager_20241210.20251507sqlite_20250918_105900_corrupted-shm
BTTClipboardManager_20241210.20251507sqlite_20250918_105900_corrupted-wal
BTTClipboardManager_20241210.20251507sqlite_20250922_092341_corrupted
BTTClipboardManager_20241210.20251507sqlite_20250922_092341_corrupted-shm
BTTClipboardManager_20241210.20251507sqlite_20250922_092341_corrupted-wal
BTTClipboardManager_20241210.20251507sqlite_20250922_092430_corrupted
BTTClipboardManager_20241210.20251507sqlite_20250922_092430_corrupted-shm
BTTClipboardManager_20241210.20251507sqlite_20250922_092430_corrupted-wal
BTTClipboardManager_20241210.20251507sqlite_20250922_105206_corrupted
BTTClipboardManager_20241210.20251507sqlite_20250922_105206_corrupted-shm
BTTClipboardManager_20241210.20251507sqlite_20250922_105206_corrupted-wal
BTTClipboardManager_20241210.20251507sqlite_20250922_105251_corrupted
BTTClipboardManager_20241210.20251507sqlite_20250922_105251_corrupted-shm
BTTClipboardManager_20241210.20251507sqlite_20250922_105251_corrupted-wal
BTTClipboardManager_20241210.20251507sqlite_20250922_105310_corrupted
BTTClipboardManager_20241210.20251507sqlite_20250922_105310_corrupted-shm
BTTClipboardManager_20241210.20251507sqlite_20250922_105310_corrupted-wal
BTTClipboardManager_20241210.20251507sqlite-shm
BTTClipboardManager_20241210.20251507sqlite-wal
BTTClipboardManager_20241210.sqlite-shm
BTTClipboardManager_20241210.sqlite-wal
BTTClipboardManager_20251407.sqlite
BTTClipboardManager_20251407.sqlite-shm
BTTClipboardManager_20251407.sqlite-wal

I moved all of these to /tmp and tested the history, and now it seems to work just fine. Thanks for the help!