[Solution Found]
I’ve had a similar issue with another app (Scriptable) —where app data wasn’t “fully deleting” off of iCloud.
The best way to get rid of the data is to sudo su on the terminal and delete ANYTHING that contains ‘kagi’ or ‘orion’
To find those names, use finder AND the terminal command ls -la | grep ‘kagi’ on current directories (sorry it doesn’t crawl search).
WARNING: These instructions use rm -rf. Be careful, as any mistake will be unrecoverable. Use only if you know what you’re doing!! (I’m not held responsible for any damages)
First, uninstall Orion with something like “macOS app cleaner”. Be sure to turn iCloud sync on and off from Orion or iCloud preferences at anytime during these instructions.
Second-search using finder + enable the search option “search system files=true” on both your hard drive and your iCloud main folder. Delete said files and directories. If you can’t, enter as root user with sudo su and rm -rf said objects.
Here’s some suggested directories (possibly) delete:
Any folders and files with the name “kagi” or “Orion” in:
- ~/Library/Application\ Support/
- ~/Library/Preferences/
- ~/Library/Caches/
- ~/Library/Application/
Support/CloudDocs/session/containers/
- ~/Library/Logs/
- ~/Library/Containers/
- ~/Library/Cookies/
- ~/Library/Saved Application\ State/
- /private/var/db/BootCaches/
LAST (but certainly not least) locally uninstall Orion iCloud data.
cd /Users/<username>/Library/Mobile\ Documents/
Delete ANYTHING with the name ‘orion’ or ‘kagi’.
So far I only used:
rm -rf iCloudcomkagisync
AGAIN, I was to reiterate what I said earlier—play around with turning iCloud toggle for Orion on and off throughout these instructions. Everything I said—I didn’t document the order of operations, so just play around with it.
Lastly I would log out and log back in on iCloud or all your devices (though NOT ALL AT THE SAME TIME - LEAVE ON 1 DEVICE STILL LOGGED INTO iCLOUD, SO AS NOT TO GET LOCKED OUT VIA 2-FACTOR AUTHENTICATION REQUIREMENTS). Also, turn off “stolen device protection” (at least that’s what I did).
Keep logging in and out of iCloud on your devices, toggle Orion iCloud buttons, and delete any orion and kagi files/directories on Mac and iCloud Drive folder. “Eventually”…it will come time that it’s finally deleted from iCloud! (Yay!). It took me a lot of finicking. But follow this guide (carefully and with knowledge/caution) and hopefully you should be able to resolve your issue—just like I did 🙂