- Joined
- Jun 23, 2020
- Messages
- 37
- Lightroom Version
- 12.2.1
- Operating System
- macOS 13 Ventura
I've been fighting with Lightroom Classic on my wife's mac for 2 weeks now. Basically, the program will not open. It hangs on the splash screen right after "Reading preferences" appears. Adobe support has been completely unhelpful. I have been on text chat and phone calls. I could bore you with the details but I won't. Also, the "normal" fixes like deleting the preferences files do not work. The issue is deeper. Fortunately or unfortunately, I was in software development for a couple of decades so I can think like a tester and developer.
A bit of context might help here. Over the last couple of weeks, I have managed to get LRC working again a few times - but it eventually returns to the same problem. The first time I got it going again was when I rebuilt my wife's mac from the ground up (format the drive, reinstall macOS, reinstall apps, restore LRC catalog). But a few days later, the same crash came back. The next time it started working again was when I did a manual delete of LRC. I did my research and found every folder that had anything to do with LRC and killed them all. Then reinstalled. It worked. Until this morning.
LRC was working fine when we went to bed last night. But this morning, once again, LRC would not start. So I started stepping through the various "hidden" folders, sequentially making a copy of each, deleting it and then trying to start LRC. If it didn't fix the crash, I'd restore that folder and move on to the next.
My tests succeeded when I nuked /Users/(name of my wife's computer)/Library/Caches/Adobe/Lightroom. So then my test process went into file by file mode (delete 1 of the files, reboot, restart LRC) and I found the culprit to be metrics.json. If I delete that file, LRC works (a new metrics,json is created when LRC starts). If I restore the old copy of it, LRC crashes. I've replicated it multiple times - metrics.json is what is causing the crash.
When I compare the bad/old version and the new version, the file size is wildly different. The new version is 16KB. The old/bad version is 6.67GB.
I guess the good news is that I now know how to resurrect LRC when this happens. The bad news is that after having this happen multiple times in the last 2 weeks, I know it will come back.
Does anyone have any thoughts on why metrics.json would become corrupt and/or so large that it's causing the startup crash?
A bit of context might help here. Over the last couple of weeks, I have managed to get LRC working again a few times - but it eventually returns to the same problem. The first time I got it going again was when I rebuilt my wife's mac from the ground up (format the drive, reinstall macOS, reinstall apps, restore LRC catalog). But a few days later, the same crash came back. The next time it started working again was when I did a manual delete of LRC. I did my research and found every folder that had anything to do with LRC and killed them all. Then reinstalled. It worked. Until this morning.
LRC was working fine when we went to bed last night. But this morning, once again, LRC would not start. So I started stepping through the various "hidden" folders, sequentially making a copy of each, deleting it and then trying to start LRC. If it didn't fix the crash, I'd restore that folder and move on to the next.
My tests succeeded when I nuked /Users/(name of my wife's computer)/Library/Caches/Adobe/Lightroom. So then my test process went into file by file mode (delete 1 of the files, reboot, restart LRC) and I found the culprit to be metrics.json. If I delete that file, LRC works (a new metrics,json is created when LRC starts). If I restore the old copy of it, LRC crashes. I've replicated it multiple times - metrics.json is what is causing the crash.
When I compare the bad/old version and the new version, the file size is wildly different. The new version is 16KB. The old/bad version is 6.67GB.
I guess the good news is that I now know how to resurrect LRC when this happens. The bad news is that after having this happen multiple times in the last 2 weeks, I know it will come back.
Does anyone have any thoughts on why metrics.json would become corrupt and/or so large that it's causing the startup crash?