Photos was unable to open the library “Photos Library.photoslibrary”. (3142)

I have had not issue, however yesterday I opened the same library from a different computer on same network.


Then it opened. The opened again on main computer where the files reside, initially opened and now I can't open it. So used the time machine file from Sunday, same error 3142, then I went to back up the file as well before I did the above, same error, can't open it at all now.


Please help,


Thanks in advance!


Mac mini, macOS 12.6

Posted on Oct 18, 2022 03:47 AM

Reply
2 replies

Oct 19, 2022 06:33 PM in response to surfn'girl

Hi surfn'girl,


If you are unable to access your Photos library, check out How to use the Photos Repair Library on your Mac:


"To get to the Photos Repair Library tool on your Mac, follow these steps: 

  1. If Photos is open, close the app. Then, while you click to open Photos, hold down the Command and Option keys at the same time.
  2. In the window that opens, click Repair to start the repair process. You might be asked to enter your user account password.

The Repair Library tool analyzes the library's database and repairs any inconsistencies it detects. Depending on the size of your library, the repairs might take some time. When the process is done, Photos opens the library."


If still not working, use Apple Support to connect with Apple Care for further investigation.


Regards.

Oct 20, 2022 10:15 AM in response to surfn'girl

surfn'girl wrote:

I have had not issue, however yesterday I opened the same library from a different computer on same network.

What version of Photos did the "different" computer have? If it was newer than the version on your computer it would not be useable on your computer. You will have to update your system so that it's the same as that on the other computer. Photos libraries are not backward compatible.


However, if the system version is close to your system try opening the library with the Option+Command keys held down and see if it will repair your library. It it will then it should open with your version of Photos.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Photos was unable to open the library “Photos Library.photoslibrary”. (3142)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.