Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

anon389343

macrumors newbie
Original poster
Feb 9, 2024
3
0
Hi, three days ago I made the mistake of upgrading to Sonoma 14.4. After the upgrade, I tried to open Safari, and was met with a popup window/prompt asking whether I want to open the window/tabs from the previous session. Regardless of whichever option I chose, Safari just froze completely.

I tried force quitting, and starting Safari whilst holding the Shift key (which should open a fresh session), but that also didn't work. Following that, I tried starting Safari in Safe Mode, but that also did not work. I should note that at this time Safari Technology Preview was working fine.

After half a day of trying to troubleshoot this, an Apple Mail extension (Mailbutler) prompted me to sign in to my Google account, and that process triggered a small window/session of Safari to open (with the Gmail login page). Finally, I was able to access the Safari menubar settings.

I went into the menubar settings, deactivated all 20 or so of my extensions, deleted all website data, deleted cache for both of my two profiles, quit Safari, and then tried to open Safari hoping all of that would have fixed it. This time, Safari just froze immediatly without giving me to option of restoring the previous session or not.

I tried accessing the Safari menubar settings several times using the Apple Mail/Mailbutler/Gmail login loophole, and after some trial and error I discovered that I was able to open a window with my secondary profile ("Work"), without any problem. I also tried to open a window with my default profile ("Personal"), multiple times - but this always caused Safari to freeze/become unresponsive.

At this point, I assumed that the default profile must have been "corrupt" in some way (I have no idea how that could even happen though). I've called Apple Support, and Apple Developer Support, 3-4 times in the last couple of days trying to get help, but as soon as they hear that I am on Sonoma Beta, they just give up and say that they have no obligation to assist customers with beta versions (despite having AppleCare), and the only recommendation they can give is to format the computer and do a complete Time Machine backup restore..

After having spoken to Apple Support, I've tried to reinstall Sonoma three time. I have tried to selectively, and completely, delete the Safari library files (and then restoring backups when noticing that it hasn't worked). I have also tried to use Cookie (by SweetP Productions) to delete various Safari files, hoping that might fix the issue. Finally, I've tried to delete all of the Safari library files (with backups), and then using Time Machine I've attempted to restore all the files that were used by Safari prior to the Sonoma upgrade (this also didn't work).

Earlier today I decided to simply give up, and just forget about Safari. After all, Safari Technology Preview was working fine, and I could just use that until Apple pushes a new Sonoma update (which would hopefully repair Safari). But after half a day of using Safari Technology Preview, I now seem to have run into the exact same problem.

Right now, both Safari and Safari Technology Preview are completely broken. Both programs become unresponsive the moment they are launched. As Apple provides the dmg file for Safari Technology Preview on their website, I figured I should at least be able to simply reinstall the app and that would solve the problem. But reinstalling Safari Technology Preview doesn't seem to do anything at all.

Long story short - I have somehow managed to break both Safari and Safari Technology Preview after upgrading from Ventura 13.6.5 to Sonoma‌ 14.4. Apple are telling me they won't provide any help as I am using beta software. If anyone has any suggestions or ideas for how to solve this (for example, deleting any of the library/support files?), please don't hesitate to share. Thanks
 
Can you restore a backup from a version of macOS that isn't a beta?
Yes, but that would require me to format the computer. If all else fails I might end up doing that, but I really want to avoid doing that if possible. I've done it once before, and it took a whole day (with a 2TB drive). I am now using a 4TB drive, so I imagine it might take even longer this time.
 
I am having the same issues. Anytime I try to open the sidebar on Safari, it would crash and would not reopen unless I restore to a different session that had Safari open. Safari Tech Preview has seem to crash and would not open any more as well.
 
After having tried everything imaginable I've found a workaround that works for me. The "fix" is temporary at best, and can last anywhere from a couple of minutes, up to a few days if you're lucky. I have no idea if this will work for anyone else, but here are some instructions:

1. Navigate to /Users/Username/Library/Containers/com.apple.Safari/Data/Library/Safari or /Users/Username/Library/Containers/com.apple.SafariTechnologyPreview/Data/Library/SafariTechnologyPreview

Note: com.apple.Safari is the proper name according to Finder Get Info. It should be noted that on my computer the folder actually appears as just "Safari" though (next to 1-2 other folders with the exact same name, so you might need to go into all of those folders and make sure you are in the correct one).


2. Delete all files and folders (if you don't mind reconfiguring extensions, and toolbar arrangements etc). Or if you want to keep things to a minimum, then I have found that deleting these three files always works (for a while, until the problem reappears):

SafariTabs.db
SafariTabs.db-shm
SafariTabs.db-wal

3. Open Safari or Safari Tech Preview

4. Safari/Safari Tech Preview will now recreate all your tab groups (which I've found might take up to 10 mins). But apart from that, everything should work fine.

5. If you quit Safari/Safari Tech Preview, and then try to start it again, then you might run into the same problem as before (ie, browser is hanging on startup). When that happens I tend to force quit, delete the SafariTabs.db files, and then start the browser again (which always fixes the problem for me, but it is still irritating to have to do this sometimes up to 10 times per day, and it is annoying to have to wait for the tab groups to be redownloaded from the cloud after each workaround fix).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.