I'd also love to find out. I'm back to my Mac mini showing that my MBP has a page open from---Where is the file stored on a macOS which should be deleted.
I seem to have lost most of the photos on my contacts. They were synced across my devices thru iCloud, and I created a thread about it.. I just thought I'd post a link to it here:On my Mac, specifically (everything all updated - Ventura, IOS 16 etc.) when I look at the tabs supposedly open on my iPhone, they're all wrong - about a dozen tabs. None of these have been open on my iPhone in ages. I've given up. Sick of trying to fix it with all these incantations. The only reason I came here to look again was because I got an email that this forum thread became active with new posts. I think iCloud is just broken... it's not just synced tabs - Reminders is another horrific app. I think I've seen problems with tab groups as well. I can't depend on iCloud.
It is mentioned a few pages earlier in the thread, probably. The file is named "Cloudtabs.db" When I cleared it out, I deleted all the files called "Cloudtabs" in that directory then re-opened Safari. That fixed things.Where is the file stored on a macOS which should be deleted.
This is where they are located.it's in ~/Library/Safari/. You have to set your Mac permissions to access system files, and I do recommend you have at least passing familiarity with basic unix commands (cd, rm, ls, etc). You just want to use your terminal app, go that directory, and rm CloudTabs.* in that directory when safari is closed, then when you reopen it, the files will be re-created ... accurately this time.
No file named "Cloudtabs.db" found in the folder location ~/Library/Safari/.This is where they are located.
You have to enable the ability to see hidden library and system files. Cmd + Shift + period should do this.No file named "Cloudtabs.db" found in the folder location ~/Library/Safari/.
I am running macOS Ventura 13.0.1.
In my case, with some of the tabs showing up almost 1½ months ago, no amount of quitting or rebooting has helped once. I've said this before in one of the prior 62 pages in this thread, but this isn't something we can simply "fix" on our end. Removing a database file or editing some config file might "help", and I use that term loosely, but since these are "iCloud Tabs" and not local, any changes made locally will most likely resort back to the iCloud Tabs instance, boom- problem is back.No promises but quitting and restarting the app on every device sometimes helps.
I tried that too...removing Cloudtabs.db. Even though I was able to delete that (and it stayed deleted, at least for a time), it had no effect. Nice thought by @Phantom iCloud tabs, though.Just adding here that not only did this issue come back for me, but now there's two more iCloud Tabs listed on one of my Macs for another Mac. Initially one started staying there since October, and now I've got two more for a total of three.
Also, I see this file on my Intel Mac mini, but not on my 2020 M1 MBP:
~/Library/Safari/Cloudtabs.db
It's just not in that folder at all. I did try deleting it from my Intel Mac mini, rebooted everything, no change...
In fact, if I right click on any of them and choose to close that Tab, it almost immediately shows up again, sometimes within a second or two.
¯\_(ツ)_/¯
Also also, for troubleshooting purposes, to those that have been able to delete a file to remove tabs from other devices, are you able to edit these files to ADD iCloud Tabs to other devices? I'm kind of curious how far this back & forth goes...
That’s what I’m saying. And considering the large number of folks having this issue, I would disagree with it being an “account issue” and more of a “platform issue”.If you are still experiencing phantom tabs after deleting the CloudTabs.* files from all your Macs, while signing out of iCloud on all your iOS devices, then there's something truly weird going on with your account -- something that I wouldn't know how to fix.
My CloudTabs* files were last modified a year ago, while the iCloud Tabs displayed in Safari, while out of date, are far newer than that. I deleted the CloudTabs* files and they haven't been recreated. I think Apple stopped using them. My guess is that iCloudTabs and Tab Groups are using the same "mechanism" under the hood now. I couldn't find any files for Tab Groups, though.If you are still experiencing phantom tabs after deleting the CloudTabs.* files from all your Macs, while signing out of iCloud on all your iOS devices, then there's something truly weird going on with your account -- something that I wouldn't know how to fix.
I wish this worked for me. But no.Whoa, it worked! I've had no luck with anything for many months.
Following advice from both @eas and @Phantom iCloud tabs, I looked for the file CloudTabs.db again. It was in this folder: ~/Library/Containers/com.apple.Safari/Data/Library/Safari. I used the Terminal app and searched my ~/Library folder with this command:
find . -name "*CloudT*"
In fact, there are three similar files in here - the other two are called CloudTabs.db-shm & CloudTabs.db-wal - but I only deleted CloudTabs.db. What prompted this was some discussion above about an older version of this somewhere that hadn't been touched in a long time - think I noticed that last time I tried. I noticed the CloudTabs.db in this directory was freshly updated.
I deleted it, and restarted Safari. Now everything on my Mac (running Ventura) matches my two iOS devices. (Also, the files gets regenerated after you reboot at some point.) Fingers crossed - thanks, folks!
You're right. They moved the location of those files, as I discovered today when I had to do this procedure (it seems I have to do it once every 3-6 months). It would be nice if the Mac programmers would auto-delete these files when a user unchecks Safari from the iCloud sync settings, which seems to be what happens now with iOS/iPadOS, so they can be reset with a simple toggle, as opposed to have to dig into hidden directories via the command line interface.Whoa, it worked! I've had no luck with anything for many months.
Following advice from both @eas and @Phantom iCloud tabs, I looked for the file CloudTabs.db again. It was in this folder: ~/Library/Containers/com.apple.Safari/Data/Library/Safari. I used the Terminal app and searched my ~/Library folder with this command:
find . -name "*CloudT*"
In fact, there are three similar files in here - the other two are called CloudTabs.db-shm & CloudTabs.db-wal - but I only deleted CloudTabs.db. What prompted this was some discussion above about an older version of this somewhere that hadn't been touched in a long time - think I noticed that last time I tried. I noticed the CloudTabs.db in this directory was freshly updated.
I deleted it, and restarted Safari. Now everything on my Mac (running Ventura) matches my two iOS devices. (Also, the files gets regenerated after you reboot at some point.) Fingers crossed - thanks, folks!