mackup
mackup copied to clipboard
App settings will not persist on macOS 14
I have been trying to work out why my app settings are all resetting, and not persisting in macOS 14. This has been happening for apps such as Raycast, iTerm, Rectangle, Bartender etc. I just tried running mackup uninstall
and everything is fixed. And then when i run mackup backup
again, none of my settings will persist or save again. Any ideas?
Which files storage method are you using? Can you share your ~/.mackup.cfg
with us?
[storage]
engine = icloud
[applications_to_ignore]
oh-my-zsh
espanso
iCloud
I've seen other mackup users using iCloud have has similar issues. Could you try turning off the feature to optimize mac storage and see if that helps? It will be under the iCloud settings.
My thinking is iCloud is removing these config files from your hard drive to save storage.
Hey. Just tried that, and it did not help, sadly.
I also did the following:
-
mackup uninstall
- Open an app, all settings are fine
- Rename/remove
~/Library/Mobile Documents/com~apple~CloudDocs/Mackup
- Run
mackup backup
- Reopen the same app, and it has reset all settings
-
mackup uninstall
- Reopen the app, and all the settings are back
Can you confirm the symbolic links that are generated are valid? The Rename/remove
step you mentioned could be causing the symbolic links to break.
@lra any ideas?
To be clear, I had already run mackup uninstall
before the rename/remove. I ran that earlier today to get things working. I did the rename/remove just to basically do a "fresh start" to rule out any old files causing issues etc.
Hey. Just an update here. I just tried this again using
[storage]
engine = file_system
path = Mackup/
And i get the same result. I run mackup backup
, open iTerm2 for example, and all settings have wiped, run mackup uninstall
and open it again, and settings are back. So i don't think iCloud is the issue.
I have same issue
Same issue. Started happening when I updated to Dropbox beta, and then tried moving to iCloud. Now it's a mess. Not sure what's wrong, unable to predict a pattern here but with latest macOS this happens:
- All of a sudden some apps loose their config (have to reconfigure)
- Some apps like iTerm2 or Terminal don't keep their configs no matter what I do (uninstall/install fresh doesn't help)
+1 on this issue. I was going to say I wonder if this is related to the Apple update that basically made it harder for Cloud apps to work on mac. It also meant you had to change the location of your Dropbox drive.
https://help.dropbox.com/installs/macos-support-for-expected-changes
+1 on this issue. I was going to say I wonder if this is related to the Apple update that basically made it harder for Cloud apps to work on mac. It also meant you had to change the location of your Dropbox drive.
https://help.dropbox.com/installs/macos-support-for-expected-changes
I don’t think it’s that, no. It even stops working if I just use the file system storage method.
Then I would say it's a recent Apple update. For me this started happening in the last week, which is when I updated to Ventura 13.4.1 (might've also been when I updated to 13.4).
It's possible that there's an unknown bug with the latest update or a "security improvement" that's messing with symlinks 🤔
I've done mackup uninstall
for now which has fixed everything but it would be interesting if mackup has any logs stored somewhere? To see exactly what was erroring out. Perhaps a permissions issue that was going undetected? Who knows at this point.
Just lost a couple days on this exact issue because it took me a while to figure why a lot of my settings weren't saving and that mackup was the culprit. Hope this gets solved quickly.
cc me
Any updates on this one? I am having the same issues and it's maddening. I will uninstall for now, but hope it gets fixed soon because I really love Mackup.
MacOS: 14.0 Public Beta (23A5286i) Mackup: 0.8.37
[storage]
engine = file_system
path = SynologyDrive/Backups
[applications_to_ignore]
illustrator
mackup
zsh
path-finder
streamdeck
If for some reason this issue is due to symlinks and effectively impossible to fix going forward, it might be a good idea to offer an alternate mode of backup by copying over files instead of symlinking them, so that at least the tool doesn't become fully obsolete. I wouldn't mind doing a manual export/import every once in a while as a compromise instead of ditching Mackup altogether.
I'm quite frustrated with losing all the settings again and again. To a point where I'm planning on rewriting this project one way or the other. It's been mentally taxing. 😮💨
I understand life gets in a way and this free software. Appreciate all the hardwork.
If for some reason this issue is due to symlinks and effectively impossible to fix going forward, it might be a good idea to offer an alternate mode of backup by copying over files instead of symlinking them, so that at least the tool doesn't become fully obsolete. I wouldn't mind doing a manual export/import every once in a while as a compromise instead of ditching Mackup altogether.
Exactly. Honestly, I wish this was a feature today. I don’t really need the symlinking anyway. I just want the peace of mind that when I run mackup backup, my settings are copied somewhere that is versioned and backed up.
I've seen other mackup users using iCloud have has similar issues. Could you try turning off the feature to optimize mac storage and see if that helps? It will be under the iCloud settings.
My thinking is iCloud is removing these config files from your hard drive to save storage.
same with the new Dropbox in CloudStorage.
I've seen other mackup users using iCloud have has similar issues. Could you try turning off the feature to optimize mac storage and see if that helps? It will be under the iCloud settings.
My thinking is iCloud is removing these config files from your hard drive to save storage.
same with the new Dropbox in CloudStorage.
I don't use either of these. I use SynologyDrive and have it set to sync everything. I don't think it has anything to do with the storage engine. I've had to temporarily remove Mackup to get things working, but like I said, I'm hoping they add a way to "copy" your prefs to another location instead of doing the whole symlink thing. That would be fine and preferable, for me.
for me things started failing with Dropbox when they moved to the new CloudStorage shit. (see https://github.com/lra/mackup/issues/1891.) now you can't be certain that Dropbox starts at a proper time. i think the whole symlink thing should be gone yeah. maybe there's something also related to macOS 14 itself, where now it seems we need Apple's approval to read and write our own UserDefaults 🤣️
I've been debugging same issue for past hour, and finally understood that it's due to mackup.
I'm running Sonoma beta.
Here's how it look:
rejecting write of key(s) mainWindowPositionCache in { com.raycast.macos, sergey.petrov, kCFPreferencesAnyHost, /Users/sergey.petrov/Library/Preferences/com.raycast.macos.plist, managed: 0 } from process 7061 (Raycast) because Path not accessible
Same problem here with Sonoma RC. Mackup is broken :(
I am experiencing a similar issue, but it is quite strange. My Intel iMac is functioning properly, while my M2 MacBook has stopped working.
Can confirm, having major issues in Sonoma, both for app settings but also system plists; (com.apple.*
for example). Discovered it when settings for Tower (the Git-client) and system-level keyboard shortcuts (Library/Preferences/com.apple.symbolichotkeys.plist
) didn't persist between reboots.
mackup.cfg:
[storage]
engine = icloud
[applications_to_ignore]
zsh
Same issue, settings are not persisted.
Only 'fix' for now is mackup uninstall
my backup workflow is now mackup backup --force && mackup uninstall
Just as additional information, defaults
also doesn't work if the preferences file is a symlink but works with a plain file. So definitely symlinks are the problem.
Same here as soon as I installed Sonoma, damn… I have a lot of other "non-standard" setup with symlinks too, I really hope they're not all broken…
Edit… They still seem to work thankfully.
Same problem when upgraded to Sonoma, really want a copy option or use FSEvents API to auto copy config files
Apps use plist are broken, eg iTerm2, Apple Music, others like vim are fine