Upgrade from btt5.601-2025090904 to any never version effects in Error migration data file

After upgrade btt5.601-2025090904 to any newer version, app shows


Downgrade back to 5.601 makes app working.

BTW: pressing Quit BTT button makes no effect as the same dialog disappears after a while. Only BTT process killing in Activity Monitor allows app to exit the loop.

mhh did you upgrade and downgrade in between versions recently? There have been many upgrades from the 5.601 betas to the later ones and there hasn't been a change in the database, so something must be corrupted / in a bad state.

I'd recommend to check this folder: ~/Library/Application Support/BetterTouchTool and remove any files with version numbers greater than 5.601

As you probably remember, I have persistent problem with breaking the configuration by iCloud Sync. I'm not using betas. Just found that after downloading newest update I've lost my floating menu (corrupted again) so I have restored settings from manual backup and found that app is not able to upgrade them. Then I've starting to search for last working version and it was 5.601. I've tried next version btt5.602-2025091001 but it showed error as described. Then I've tried few newer ones till btt5.607-2025091202 - all with the same problem. 5.601 was able to upgrade from btt_data_store.version_5_600_build_2025090903 to btt_data_store.version_5_601_build_2025090904

Due to not properly working iCloud Sync even automatic app updates are like Russian roulette — you never know if the configuration will get broken. Interestingly, this issue only affects Floating Menu, which gets corrupted

You really shouldn't use the old experimental iCloud sync if it is causing issues :-/

The latest alphas contain a completely new sync solution based on Apples iCloud sync, but it is not yet unlocked for general usage as I'm still testing internally. I think it will be made publicly available in October.

If the database is corrupted due to the experimental sync to a level where upgrading is no longer possible, you might need to export the presets and start from scratch (and import the presets again).

The only Sync I have is this "experimental one" till the time you will made better one.
The data is not corrupted
btt_data_store.version_5_570_build_2025082901 was upgraded to btt_data_store.version_5_599_build_2025090902 which was upgraded to
btt_data_store.version_5_600_build_2025090903 which was upgraded to btt_data_store.version_5_601_build_2025090904

And all upgrades were made within 10 minutes when I was trying to find last working version.
So I think that something wrong happended since 5.602 which makes upgrade not working.

it's probably better to use no sync than the experimental one at least if it has broken things for you before.

There haven't been changes in 5.602 to the database or migration logic, so that's not it. However the logs might help show what's going on, they are located in ~/Library/Application Support/BetterTouchTool/Logs - it seems like it is not finding some file it expects to be there but the logs should show which one exactly.

How to send you the log privately?

best mail to andreas@folivora.ai

Send1 ("sorry but "Send" was to short for message on forum :wink: )

Have you already tried this?
It seems to find some files from 5.602 and tries to upgrade these to 5.607, but it fails because it doesn't have all required files from 5.602 available.

This is the list of files in this folder:

bettertouchtool.bttlicense
btt_data_store.version_5_570_build_2025082901
btt_data_store.version_5_570_build_2025082901_tmp_backup5B87ACCF-0CC9-4A8C-B6ED-BEFC3490DD00-shm
btt_data_store.version_5_570_build_2025082901_tmp_backup5B87ACCF-0CC9-4A8C-B6ED-BEFC3490DD00-wal
btt_data_store.version_5_570_build_2025082901-shm
btt_data_store.version_5_570_build_2025082901-wal
btt_data_store.version_5_599_build_2025090902
btt_data_store.version_5_599_build_2025090902_tmp_backup1C76A3AD-CCE4-472E-AC75-F89054139578-shm
btt_data_store.version_5_599_build_2025090902_tmp_backup1C76A3AD-CCE4-472E-AC75-F89054139578-wal
btt_data_store.version_5_599_build_2025090902-shm
btt_data_store.version_5_599_build_2025090902-wal
btt_data_store.version_5_600_build_2025090903
btt_data_store.version_5_600_build_2025090903_tmp_backup7FA4BBF1-F288-41AC-860D-D942E20EBADB-shm
btt_data_store.version_5_600_build_2025090903_tmp_backup7FA4BBF1-F288-41AC-860D-D942E20EBADB-wal
btt_data_store.version_5_600_build_2025090903-shm
btt_data_store.version_5_600_build_2025090903-wal
btt_data_store.version_5_601_build_2025090904
btt_data_store.version_5_601_build_2025090904-shm
btt_data_store.version_5_601_build_2025090904-wal
btt_user_variables.plist
BTTClipboardManager_20241210.20251507sqlite
BTTClipboardManager_20241210.20251507sqlite-shm
BTTClipboardManager_20241210.20251507sqlite-wal
BTTClipboardManager_20241210.sqlite
BTTClipboardManager_20241210.sqlite-shm
BTTClipboardManager_20241210.sqlite-wal
BTTClipboardManager.sqlite-shm
BTTClipboardManager.sqlite-wal
floating_menu_variables.plist

I don't see anything newer than 5_601 there

Have you tried upgrading again since deleting the files? The last lines in the log are from 5.601

Yes, log was taken after many tries of upgrading to anything newer than 5.601 and even to newest alpha.

But also after deleting the files? Because with the last upgrade attempt in the log, the system still finds a file that starts with btt_data_store.version_5_602_build_2025091001 - which is causing the issue.

If you didn't delete that but finder also doesn't show it, there might be a file system issue.
In that case using the ls terminal command could help

cd ~/Library/Application\ Support/BetterTouchTool && ls -a

Or directly try to delete the files via terminal:

rm ~/Library/Application\ Support/BetterTouchTool/btt_data_store.version_5_602_build_2025091001-wal
rm ~/Library/Application\ Support/BetterTouchTool/btt_data_store.version_5_602_build_2025091001-shm
rm ~/Library/Application\ Support/BetterTouchTool/btt_data_store.version_5_602_build_2025091001

Sorry, my mistake.
5_602 was the version which was working today in the morning. I have added there Choose From list keyboard action but then have noticed that my Floating Menu was gone. So I was trying to go back to version which was Floating Menu working and it was 5_570. Then I have added Choose From action again but was not able to upgrade past 5_601 at all. So 5_601 is the last version where Floating Menu and Choose From works and upgrade father is not possible.
I can pack:
btt_data_store.version_5_601_build_2025090904-wal
btt_data_store.version_5_601_build_2025090904-shm
btt_data_store.version_5_601_build_2025090904
And send you them if it will help.

Yep if you send them I can check!

You can also migrate manually by renaming these files

btt_data_store.version_5_601_build_2025090904-wal
btt_data_store.version_5_601_build_2025090904-shm
btt_data_store.version_5_601_build_2025090904

To

btt_data_store.version_5_607_build_2025091202-wal
btt_data_store.version_5_607_build_2025091202-shm
btt_data_store.version_5_607_build_2025091202

(while BTT is quit)

Then it should immediately have them when launching 5.607

Trick with manual rename allowed me to start 5_607.
If I will upgrade to latest alpha then new iCloud Sync will be available too?

Sometime in october probably