PhotoLibrary = 0 (zero) KB- Photo app will not open!
This has happened several times on my 2020 27" iMac (intel with SSD). The photo library either becomes corrupted or shows zero kb, or disappears entirely. I have tried rebuilding the library, moved the library to two different external drives, and luckily keep a backup. I had downloaded all photos to my hard drive before, but it happened to that one, also (although it magically rebuilt itself !?!?). I do use iCloud to hold photos, so I can always get them back by rebuilding a new library, but my question is why does this happen? It can't be because each and every sector of any drive I put the library is corrupt, I do not have any malware or virus, have protection on and file vault active. It would be nice to understand the action going on with this irritating goofiness. I am ready to download all photos by album and keep them out of Photo app permanently. Any technical answers would be appreciated.
iMac 27″, macOS 15.3