"BetterTouchTool version incompatible" after trying to migrate to the Setapp version

Describe the bug
Hello,

I noticed that my BTT license expired in Dec 2024, and after encountering some issues with the old version of BTT I was using, I went to look at upgrading. I noticed that BTT is available via Setapp, so I downloaded it. However, after launching BTT through Setapp, I noticed that none of my user data had been migrated.

No worries I thought as I saw a "restore from backup" option in the menu which showed the old "version 4.62 build 2278" backup files. Clicking "Restore & Restart" shows an error message:

BetterTouchTool was unable to migrate its data file to the newest version. This can be caused by wrong / broken file permissions for the ~/Library/Application Support/BetterTouchTool folder. Sometimes a system restart fixes this. If you need help with this issue, please contact andreas@folivora.ai
The following error was returned by the system:
No such file

and the following in the log file


2025/03/29 12:41:48:157|STORE|Creating a backup btt_data_store.version_5_199_build_2025021320A7CA96B9-419E-42DF-AF3D-512F8507FDA6|
2025/03/29 12:41:48:157|xw|file not available|
2025/03/29 12:41:48:157|xw|file not available|
2025/03/29 12:41:48:158|ASL|Extracted build number: 6|
2025/03/29 12:41:48:158|ASL|Extracted build number: 6|
2025/03/29 12:41:48:158|ASL|No numeric part found in the filename.|
2025/03/29 12:41:48:158|ASL|No numeric part found in the filename.|
2025/03/29 12:41:48:158|ASL|Extracted build number: 6|
2025/03/29 12:41:48:158|ASL|No numeric part found in the filename.|
2025/03/29 12:41:48:158|ASL|No numeric part found in the filename.|
2025/03/29 12:41:48:158|xw|last used store: btt_data_store.version_5_199_build_2025021320A7CA96B9-419E-42DF-AF3D-512F8507FDA6, newStore: btt_data_store.version_5_199_build_2025021320|
2025/03/29 12:41:48:158|xw|copy btt_data_store.version_5_199_build_2025021320A7CA96B9-419E-42DF-AF3D-512F8507FDA6 => btt_data_store.version_5_199_build_2025021320|
2025/03/29 12:41:48:159|xw|copy btt_data_store.version_5_199_build_2025021320A7CA96B9-419E-42DF-AF3D-512F8507FDA6 => btt_data_store.version_5_199_build_2025021320 success|
2025/03/29 12:41:48:159|xw|copy btt_data_store.version_5_199_build_2025021320A7CA96B9-419E-42DF-AF3D-512F8507FDA6-shm => btt_data_store.version_5_199_build_2025021320-shm|
2025/03/29 12:41:48:159|xw|file not available|
2025/03/29 12:41:48:305|HYPER|Hyper NO Key Used|
2025/03/29 12:41:48:549|ASL|Hyper key used 0|
2025/03/29 12:41:48:699|HYPER|Hyper NO Key Used|
2025/03/29 12:41:49:357|HYPER|Hyper NO Key Used|
2025/03/29 12:42:20:650|ASL|+[IMKClient subclass]: chose IMKClient_Modern|
2025/03/29 12:42:21:407|ASL|+[IMKInputSession subclass]: chose IMKInputSession_Modern|
2025/03/29 12:43:13:836|xw|should relaunch|
2025/03/29 12:43:13:836|xw|BTTRelaunch found|
2025/03/29 12:43:13:836|xw|BTTRelaunch call seems successfull|
2025/03/29 12:43:13:836|xw|copy btt_data_store.version_5_199_build_2025021320A7CA96B9-419E-42DF-AF3D-512F8507FDA6-wal => btt_data_store.version_5_199_build_2025021320-wal|
2025/03/29 12:43:13:836|xw|file not available|
2025/03/29 12:43:13:874|TERMINATE|SHOULDTERMINATE|
2025/03/29 12:43:14:616|SYS|Running on macOS: 15.3.1|
2025/03/29 12:43:14:616|SYS|BTT Version: 5.199|
2025/03/29 12:43:14:616|SYS|Device: MacBookPro18,4|
2025/03/29 12:43:14:656|usage|loading todays usage|
2025/03/29 12:43:14:657|ASL|0 elapsed 0.048705|
2025/03/29 12:43:14:657|LAUNCH|DIDLaunch START NSConcreteNotification 0x600001d83de0 {name = NSApplicationDidFinishLaunchingNotification; object = <BTTApplication: 0x138607b30>; userInfo = {
    NSApplicationLaunchIsDefaultLaunchKey = 1;
}}|
2025/03/29 12:43:14:671|ASL|1 elapsed 0.062608|
2025/03/29 12:43:14:671|ASL|2 elapsed 0.062638|
2025/03/29 12:43:14:671|ASL|3 elapsed 0.062767|
2025/03/29 12:43:14:671|ASL|4 elapsed 0.062849|
2025/03/29 12:43:14:672|ASL|5 elapsed 0.064472|
2025/03/29 12:43:14:672|ASL|setapp build|

2025/03/29 12:43:14:673|ASL|6 elapsed 0.064578|
2025/03/29 12:43:14:673|INIT|START PREVIOUSLYININIT|
2025/03/29 12:43:14:673|ASL|sub 0 elapsed 0.000001 - prev|
2025/03/29 12:43:14:685|ASL|sub 1 elapsed 0.012158 - prev|
2025/03/29 12:43:14:685|ASL|sub 2 elapsed 0.012616 - prev|
2025/03/29 12:43:14:685|ASL|sub 3 elapsed 0.012877 - prev|
2025/03/29 12:43:14:686|ASL|sub 4 elapsed 0.013892 - prevk|
2025/03/29 12:43:14:686|short|init|
2025/03/29 12:43:14:795|KEY|initialized for keyboard Apple Internal Keyboard / Trackpad|
2025/03/29 12:43:14:796|ASL|Extracted build number: 6|
2025/03/29 12:43:14:796|ASL|Extracted build number: 6|
2025/03/29 12:43:14:796|ASL|No numeric part found in the filename.|
2025/03/29 12:43:14:796|ASL|No numeric part found in the filename.|
2025/03/29 12:43:14:797|ASL|Extracted build number: 2025021320|
2025/03/29 12:43:14:797|ASL|Extracted build number: 6|
2025/03/29 12:43:14:797|ASL|No numeric part found in the filename.|
2025/03/29 12:43:14:797|ASL|No numeric part found in the filename.|
2025/03/29 12:43:14:798|STORE|The store already exists in udefs|
2025/03/29 12:43:14:798|xw|the new store already exists btt_data_store.version_5_199_build_2025021320|
2025/03/29 12:43:14:817|xw|error Error Domain=NSSQLiteErrorDomain Code=11 "(null)" UserInfo={NSFilePath=/Users/foxt/Library/Application Support/BetterTouchTool/btt_data_store.version_5_199_build_2025021320, NSSQLiteErrorDomain=11}|

At this point, I'm given two options. Restart or quit BTT. Clicking either, restarts BTT with the following message.

The Version of BTT you are currently using isn't compatible with the version of your data file!
Older copies of the data files are stored in ~/Library/Application Support/BetterTouchTool.

and the following is displayed in the log file

2025/03/29 12:48:51:464|STORE|The store already exists in udefs|
2025/03/29 12:48:51:464|xw|the new store already exists btt_data_store.version_5_199_build_2025021320|
2025/03/29 12:48:51:475|xw|error Error Domain=NSSQLiteErrorDomain Code=11 "(null)" UserInfo={NSFilePath=/Users/foxt/Library/Application Support/BetterTouchTool/btt_data_store.version_5_199_build_2025021320, NSSQLiteErrorDomain=11}|
2025/03/29 12:48:51:475|xw|error (null)|
2025/03/29 12:48:51:615|HYPER|Hyper NO Key Used|

Device information:

  • Type of Mac: MacBookPro18,4
  • macOS version: 15.3.1 (24D70)
  • BetterTouchTool version: 5.199

I tried removing the new data files from the folder and tried launching the old BTT, but that showed the same error messages. I assume the files just became corrupt somehow. I can't easily get to my Time Machine drive right now, so I'll just start from fresh (I had very little in my BTT anyway so it's not too much of an issue)